Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] buster/KDE: cannot unlock screen

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
baldyeti
Posts: 22
Joined: 2013-04-23 09:33
Has thanked: 1 time

[SOLVED] buster/KDE: cannot unlock screen

#1 Post by baldyeti »

On a buster system running plasma, the unlock screen dialog does not work. i can see (by making the typed characters visible) that the keyboard layout is correct and the proper password typed, but all i get is "unlocking failed". I have had this problem forever (probably already when the version was still jessie + KDE4).
Last edited by baldyeti on 2021-02-07 14:02, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: buster/KDE: cannot unlock screen

#2 Post by Head_on_a_Stick »

Check the logs.
deadbang

baldyeti
Posts: 22
Joined: 2013-04-23 09:33
Has thanked: 1 time

Re: buster/KDE: cannot unlock screen

#3 Post by baldyeti »

from /var/log/auth.log:
Feb 7 14:02:43 shoggoth unix_chkpwd[12355]: check pass; user unknown
Feb 7 14:02:43 shoggoth unix_chkpwd[12355]: password check failed for user (baldyeti)
Feb 7 14:02:43 shoggoth kcheckpass[12344]: pam_unix(kde:auth): authentication failure; logname= uid=1000 euid=1000 tty=:0 ruser= rhost= user=baldyeti
the "user unknown" bit is odd...

baldyeti
Posts: 22
Joined: 2013-04-23 09:33
Has thanked: 1 time

Re: buster/KDE: cannot unlock screen

#4 Post by baldyeti »

I forgot to mention I can unlock from a console using "loginctl unlock-session n" , just not from the graphical dialog.

baldyeti
Posts: 22
Joined: 2013-04-23 09:33
Has thanked: 1 time

Re: buster/KDE: cannot unlock screen

#5 Post by baldyeti »

Found the following suggestion on reddit:

Code: Select all

chmod 4755 /sbin/unix_chkpwd
This works but i have no idea how these permissions changed on my system and why so very few other users seem affected..

baldyeti
Posts: 22
Joined: 2013-04-23 09:33
Has thanked: 1 time

Re: buster/KDE: cannot unlock screen

#6 Post by baldyeti »

looks like a bug was once opened against [libpam-modules-bin], only to be deemed "unreproducible".

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [SOLVED] buster/KDE: cannot unlock screen

#7 Post by Head_on_a_Stick »

You should read that report again only properly this time:

https://bugs.debian.org/cgi-bin/bugrepo ... =914541#31

Your system is misconfigured and changing the permission on /sbin/unix_chkpwd just makes that worse. The change will be reverted after an update of the package anyway.

The actual solution is explained in the bug report post to which I have linked above.
deadbang

baldyeti
Posts: 22
Joined: 2013-04-23 09:33
Has thanked: 1 time

Re: [SOLVED] buster/KDE: cannot unlock screen

#8 Post by baldyeti »

Alright I agree changing group membership of /etc/shadow is a better solution (it was set to utmp).

No need to speak in minimalistic riddles, though ("read the logs", "re-read that post properly")

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: [SOLVED] buster/KDE: cannot unlock screen

#9 Post by Head_on_a_Stick »

baldyeti wrote:No need to speak in minimalistic riddles
You try being verbose after 20,000+ posts...
deadbang

Post Reply