SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: a_man_without_any_clue on July 04, 2018, 02:51:10 AM

Title: password login disappeared
Post by: a_man_without_any_clue on July 04, 2018, 02:51:10 AM
hi all,

I just installed Sparky 5.4 Home edition with LXqt for my wife's old Toshiba laptop.

While it runs smooth and perfectly, when the screensaver kicks in and locks the desktop, the login window to unlock won't accept the password even though the password is correct. So I removed the xscreensaver to disable the screensaver itself, now I have noticed the system doesn't even ask login with password at the start up.
I would like to have password login but I don't know where I can configure about this.

Can anybody help?
 
Title: Re: password login disappeared
Post by: pavroo on July 04, 2018, 09:47:34 AM
Hi
Show me your /etc/lightdm/lightdm.conf file please.
Title: Re: password login disappeared
Post by: a_man_without_any_clue on July 04, 2018, 01:10:35 PM
ok, you gave me hint. I found

autologin-user=

had been set. Now I commented out so it asks password now.

I don't know about the screensaver though. How come I couldn't login with correct password?



Title: Re: password login disappeared
Post by: pavroo on July 04, 2018, 09:25:49 PM
It shouldn't happen, and I don't know an answer for that, sorry.
caps lock been acivated?
Title: Re: password login disappeared
Post by: Thomas on August 31, 2018, 05:06:51 AM
I have noticed when my screensaver comes on and the screen locks that I cannot log back in either. I notice the name is capitalized while my actual account name is all lower case. If I hit the switch user icon and then type the name all lower case and my password, it lets me back in.  I am not sure why it shows it with a capital letter on the lockout screen but thinking that may be why it won't authenticate properly.  I am running the Cinnamon Desktop on Sparky 5 Nibiru (x86-64).

Update: I went into Users and Groups and changed the name to all lower case and it still fails to authenticate.

var/log/auth.log - cinnamon-screensaver-pam-helper: pam_unix(cinnamon-screensaver:auth): auth could not identify password for [thomas]

Maybe this has something to do with it. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466741 it is old but my /etc/shadow is set to -rw-r----- root root and not -rw-r----- root shadow

I may test in the morning and see if it works changing permissions if I don't hear anything back in the forums.

Update: Changing permissions on the /etc/shadow to -rw-r----- root shadow did indeed allow me to log in through the lock screen. Hopefully changing it won't cause new issues.
Title: Re: password login disappeared
Post by: rlndggr on September 17, 2018, 04:02:42 PM
I had the same problem: Unlock from xscreensaver didn't work ('authentication failed') on Sparky 5.4 (MinimalGUI - openbox)

The solution to change the group worked for me too:
sudo chown root:shadow /etc/shadow

@Thomas: Thanks for the tip!