When session locked by kde screensaver, password not recognised
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
When session locked by kde screensaver, password not recognised
Hi all,
A quick description of my problem. When the KDE screensaver cuts in, I would like to have the ability to lock the session unless the user password is entered, just as it looks as though it is possible to do fron the Kcontrol centre. Trouble is, although the session gets locked, when inputting the user password, and without exception, the screensaver fails to unlock, with an 'incorrect password' being the reason given. The KDE docs say that the pasword to enter is just the users password, so now I am stuck with my pc not able to be session locked when the screensaver kicks in. As I use this pc in an office, and because this function doesn't seem to work, at the moment I do not have session lock enabled. This is not very secure as you can understand. Anyone any ideas why this happens, and how to put it right.
BTW, normal login for users from KDM works fine, as does console login.
Also tried the suggestion from KDE forum about setting kcheckpassword suid root, but it is still the same. All other suggestions I have found via google recommend using PAM, which PV doesn't include in Slack.
I once had that problem and found out my keyboard settings were not correct when I logged into my desktop, therefore the incorrect characters was being used when I typed my password to unlock my screensaver.
Is your password made only from latin (ASCII charset) letters? Actually, I don't know if it's possible to include other languages letters in your password, but it's better to make sure.
When you enter kcheckpass into the terminal, does it work for you or not?
Last edited by Alien_Hominid; 12-05-2007 at 04:02 PM.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Password is only composed of latin characters. Running kcheckpass returns authentication failure. Any idea why this is. As I said, login from KDM is fine, and the password is recognised there and at the cli.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Yep, su to root then running kcheckpass works fine, so must be some file somewhere presumably with some permission that needs setting. I have added myself to the shadow group just in case it was as simple as that, but with no luck. Have also changed permissions on the /etc/password and /etc/shadow file, again with the same result. Any more ideas?
OK, a combination of the above, with setting a new password seems to have done the trick.
Last edited by vdemuth; 12-12-2007 at 01:55 PM.
Reason: problem solved
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.