Solved: Kielbasa 64bit, can't log back in after screen lock

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Solved: Kielbasa 64bit, can't log back in after screen lock

Unread post by dkeg » Mon Dec 10, 2012 3:25 am

strange problem. when I lock the screen I can't get back in. It doesn't recognize my password. tried some searches, no dice though. Has this issue come up before? I thought I may have read it here or the other forum, but don't remember well enough to help me find it.

Didn't notice until started using JWM. thought it might be associated, but same thing in other wm.

Work hard; Complain less

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Kielbasa 64bit, can't log back in after screen lock

Unread post by machinebacon » Mon Dec 10, 2012 4:22 am

Hi drew,

that's quite new to me but I have to admit I never lock my screen. Is it the 'screen lid' lock activated via power-manager or xlock or xscreensaver? I don't use either, so I would have to check first what the root cause is.
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Kielbasa 64bit, can't log back in after screen lock

Unread post by dkeg » Mon Dec 10, 2012 4:33 am

both xscreensaver and i3lock. I activated through keyboard, not lid closing. Then when I noticed it, tried again, making sure it wasn't a fluke, then in i3, tried i3lock, and the same thing. It comes back as 'failed'. I have to do a hard shutdown to recover from it.

Work hard; Complain less

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Kielbasa 64bit, can't log back in after screen lock

Unread post by machinebacon » Mon Dec 10, 2012 4:48 am

Sorry, no idea really. I install both now and check what the problem might be.
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Kielbasa 64bit, can't log back in after screen lock

Unread post by machinebacon » Mon Dec 10, 2012 4:56 am

Okay, got one cause:

http://comments.gmane.org/gmane.linux.d ... al/1005744

Now checking for xscreensaver.
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Kielbasa 64bit, can't log back in after screen lock

Unread post by machinebacon » Mon Dec 10, 2012 5:13 am

Ok, fixed:

Code: Select all

sudo chown root:shadow /etc/shadow
Thanks for reporting the problem ;)
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Kielbasa 64bit, can't log back in after screen lock

Unread post by dkeg » Mon Dec 10, 2012 5:18 am

nice find. Looks similar for xscreensaver. Checked the /var/log/auth.log

Code: Select all

xscreensaver
Dec  9 13:44:38 bbq sudo: pam_unix(sudo:session): session opened for user root by dkeg(uid=0)
Dec  9 13:44:58 bbq sudo: pam_unix(sudo:session): session closed for user root
Dec  9 13:48:46 bbq unix_chkpwd[3413]: check pass; user unknown
Dec  9 13:48:52 bbq unix_chkpwd[3415]: check pass; user unknown
Dec  9 13:48:52 bbq unix_chkpwd[3415]: password check failed for user (dkeg)
Dec  9 13:48:52 bbq xscreensaver: pam_unix(xscreensaver:auth): authentication failure; logname= uid=1000 euid=1000 tty=:0.0 ruser= rhost=  user=dkeg
Dec  9 13:48:54 bbq xscreensaver[3410]: FAILED LOGIN 1 ON DISPLAY ":0.0", FOR "dkeg"
*EDIT -> looks like you won't need this. Great work, thanks.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Kielbasa 64bit, can't log back in after screen lock

Unread post by dkeg » Mon Dec 10, 2012 5:54 am

great! Can confirm it works. thanks!

Work hard; Complain less

Post Reply