23 - 06 - 2017

Unlocking screensaver for Cinnamon, login failed...

This issue came probably after update of packages, after locking the screen I couldn't get unlocked using the password. I oculd the desktop back (without menu bar) by killing the process of cinnamon-screensaver but it's not the solution....

 

The error after typing the correct password was:

2014-03-30T13:02:54.146758+02:00 sco passwd[5171]: gkr-pam: couldn't update the login keyring password: no old password was entered
2014-03-30T13:02:58.664769+02:00 sco cinnamon-screensaver-dialog: gkr-pam: the password for the login keyring was invalid.
2014-03-30T13:02:58.670770+02:00 sco unix_chkpwd[5181]: check pass; user unknown
This was caused by changing the password through passwd, to fix this just use the User Panel to change the password.
But I still couldn't log in, with following error:
2014-03-30T13:13:48.553026+02:00 sco cinnamon-screensaver-dialog: gkr-pam: unlocked login keyring
2014-03-30T13:13:48.558840+02:00 sco unix_chkpwd[7527]: check pass; user unknown
2014-03-30T13:13:48.559297+02:00 sco unix_chkpwd[7527]: password check failed for user (tomz)
2014-03-30T13:13:48.559499+02:00 sco cinnamon-screensaver-dialog: pam_unix(cinnamon-screensaver:auth): authentication failure; logname= uid=1000 euid=1000 tty=:0.0 ruser= rhost=  user=tomz
The solution I came with was to make following changes:
pam.d $ >> cat /etc/pam.d/cinnamon-screensaver
#%PAM-1.0
#%PAM-1.0

# Fedora Core
#auth       include     system-auth
#auth       optional     pam_gnome_keyring.so
#account    include     system-auth
#password   include     system-auth
#session    include     system-auth

# SuSE/Novell
#auth       include      common-auth
auth       optional     pam_gnome_keyring.so
account    include      common-account
password   include      common-password
session    include      common-session
 
After thar I could log in with correct password, and with invalid not.
Correct:
2014-03-30T13:33:00.038769+02:00 sco unix_chkpwd[8536]: could not obtain user info (tomz)
 
Invalid:
2014-03-30T13:32:26.193178+02:00 sco cinnamon-screensaver-dialog: gkr-pam: the password for the login keyring was invalid.
 
Login Form