Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using the xfce window manager and reboot and shutdown seem to work normally.

However, whenever I log back in, I always see the following:

enter image description here

Why do I always see this message? I would expect that my screen would be blank or at least be locked up, but nothing like that happens. What's the point of entering my password again?

share|improve this question

4 Answers 4

Normally keyring gets unlocked when you enter your password while logging in. Then gnome-keyring-daemon process starts and manages it.

The gnome-keyring-daemon process is a user process (not a system service), so when you log out you kill all your processes (including the gnome-keyring-daemon). When you log in you start a new gnome-keyring-daemon process which needs your password to open your keyring.

If you have "autologin" then this is normal. Keyring cannot be unlocked because you have not entered the password. That's it.

share|improve this answer
    
I don't enter my password to login. It skips the login screen and goes to my desktop. –  tony_sid Jan 23 '12 at 16:36
    
and that is the root cause. See past paragraph of the answer. –  Michał Šrajer Jan 23 '12 at 22:24

Your keyring is separate from your login credentials. In Ubuntu (which I'm guessing you're using), there has always been confusion on this issue. If you make your log in password the same as your key ring password, it should fix the issue.

share|improve this answer
    
+1 had the same problem. –  l0b0 Jan 23 '12 at 15:53
    
My log in password and key ring password is the same I think, because I just enter in my login password to unlock the key ring. –  tony_sid Jan 23 '12 at 16:35
    
Do you have automatic log in turned on? (Where it logs you in to desktop, but doesn't ask for a password). –  skub Jan 23 '12 at 16:48

This could be a PAM problem.

Authentication providers/packages need to change the PAM configuration files to plug themselves into the authentication process. However, some of them give no consideration to other PAM plug-ins and prematurely terminate the pipeline disabling your keyring's PAM module.

Thus your keyring never got your password when you log-in so it must ask you again.

You may want to check the /etc/pam.d/ files and manually fix them. The error is probably in the common-* files. Look for the line that uses the rogue "sufficient" keyword in the second column. If you want to manually fix this, you can follow the instructions in man pam.d.

share|improve this answer

Both of these links have a bugfix for this issue, it sets the unlock for login to xfce aswell:

unlock gnome keyring on ArchLinux + Xfce/unlock_gnome_keyring_on_archlinux_xfce/

GNOME keyring often fails to unlock in XFCE

There are several /etc/xdg/autostart/gnome-keyring-*.desktop files. A redditor had success adding XFCE to the "OnlyShowIn" entries in those files:

OnlyShowIn=GNOME;Unity;XFCE;
share|improve this answer
1  
You should include the actual fix in the answer, or at least a summary of that. –  John O Feb 13 '13 at 20:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.