Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE Plasma cannot unlock screen after is being locked.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Athenacle
n00b
n00b


Joined: 20 Jul 2018
Posts: 2

PostPosted: Fri Jul 20, 2018 5:44 am    Post subject: KDE Plasma cannot unlock screen after is being locked. Reply with quote

I installed kde-plasma/plasma-meta-5.12.5 suit.

The desktop locked automatically after several minutes, but when I try to unlock screen with my password, it told me "INVALID PASSWORD".
I am sure the password is correct after some tries. The only thing I can do after that is pressing Alt+Ctrl+F<> to switch to another tty, log in with the same password and then reboot the system.

Is anyone else met the same problem? Or have any advice?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30964
Location: here

PostPosted: Fri Jul 20, 2018 6:10 am    Post subject: Reply with quote

You tried to insert password with Virtual Keyboard (you find at bottom left corner)?
If work the problem is keyboard layout
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Athenacle
n00b
n00b


Joined: 20 Jul 2018
Posts: 2

PostPosted: Fri Jul 20, 2018 8:24 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You tried to insert password with Virtual Keyboard (you find at bottom left corner)?
If work the problem is keyboard layout


Of curse I did it, but it does not work. In fact, there is an eye on the right side of the password input area, I click it and could see my correct password in it.
Back to top
View user's profile Send private message
AndrewAmmerlaan
Developer
Developer


Joined: 25 Jun 2014
Posts: 277
Location: Nijmegen

PostPosted: Sat Jul 21, 2018 7:59 am    Post subject: Reply with quote

My brother had the same problem on his sabayon system, I fixed it by changing permission on /sbin/unix_chkpwd as suggested here: https://bugs.kde.org/show_bug.cgi?id=375536
Strange thing is: on my system I have 0711 on that file and it works fine, but on my brothers laptop it only works with 4711.
This other post I found suggest 'chgrp shadow /etc/shadow' which might work too, I haven't tried that: https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/434276
_________________
OS: Gentoo 6.7.3-gentoo-dist, ~amd64, 17.1/desktop/plasma/systemd/merged-usr
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8938

PostPosted: Sat Jul 21, 2018 8:07 am    Post subject: Reply with quote

Those are bogus workarounds. You need to make sure that consolekit or elogind are properly configured, dbus service is started, your Plasma startup command (if you do it manually, startkde is not enough) creates a valid session. And then, Qt/Frameworks/Plasma upgrades can break your running session, but only until it is restarted, so there's that.

Basically, what the Gentoo KDE Wiki Prerequisites say.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21715

PostPosted: Sat Jul 21, 2018 4:50 pm    Post subject: Reply with quote

AndrewAmmerlaan wrote:
My brother had the same problem on his sabayon system, I fixed it by changing permission on /sbin/unix_chkpwd as suggested here: https://bugs.kde.org/show_bug.cgi?id=375536
Strange thing is: on my system I have 0711 on that file and it works fine, but on my brothers laptop it only works with 4711.
This other post I found suggest 'chgrp shadow /etc/shadow' which might work too, I haven't tried that: https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/434276
The correct permissions for /etc/shadow are root:root mode 600. The correct permissions for /sbin/unix_chkpwd depend on whether it was installed with USE=filecaps. If it was so installed, then the permissions should be 711 and the file capabilities should grant it cap_dac_override so that it can read shadow despite the permissions. If it was installed with USE=-filecaps, then the permissions should be 4711 since it will need setuid to get cap_dac_override. This likely explains the discrepancy between your system and your brother's system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum