The prompt to unlock the keyring keeps popping up over and over. Annoying for
things like NetworkManager.
Looks like I wasn't alone with this problem. katzj told me my gnome-keyring
configuration files were wedged. I ran this:
echo -n default > ~/.gnome2/keyrings/default
And it fixed up the problem.
I was having it pop up precisely twice for me every time I rebooted my computer.
After attempting to use the method above to fix the problem, now is pops up even
more. I used to have just 2 files at ~/.gnome2/keyring/ and now I have three:
[root@localhost keyrings]# pwd; ls -ln
-rw-r--r-- 1 500 500 7 2008-02-04 21:22 default
-rw------- 1 500 500 1259 2008-01-22 20:51 default.keyring
-rw------- 1 500 500 1771 2008-01-30 00:42 login.keyring
To unlock the keyring each user must have a password. A prompt for this password
will open when the user logs in. If the user enters the correct password, the
annoying prompt goes away. The 'bug' is caused by the original default keyring
password not being known by the user.
The solution lies in the user knowing the keyring password for their user
account. A simple solution is to delete the original keyring password and the
next session the user logs into, the user will be prompted to create a new one.
To do this:
Log in as the root (or individual user) and open a terminal
*[username] is the account you wish to change
List the contents of this directory ( 'ls' )
-There should be two files: "default default.keyring"
Delete the file "default.keyring"
"rm -i default.keyring"
(press y if you are deleting "default.keyring")
List the contents of the directory again ( 'ls' )
-There should only be one file: "default"
Logout and login as that user and at the prompt, enter the new keyring
password (to keep things simple, I recommend making it the same as your login
password for that account)
To delete just one keyring, you can be the individual user deleting only their
To delete multiple keyrings you will have to be the root user.
To delete and change the keyring password for the root account, the keyring
will found in "/root/.gnome2/keyrings"
NB: The ".gnome2" directory in all accounts is a hidden directory and cannot
navigated to with the file browser.
A better solution would be to allow a system administrator to remove
gnome-keyring functionality altogether. Aside from being extremely annoying,
the keyring is just another subsystem that can break in ways which are
catastrophic for end-users. As a result this piece of dreck simply adds to a
sysadmins headache. Where are the instructions on how to remove/disable it ?
What *%@# decided to enable keyring by default anyway ?!?!