Whenever Ubuntu boots up, a dialogue pops up asking me to unlock my default keyring.
Is there some way this can unlock automatically through PAM or some other magical way?
Be warned that this will make your keyring accessible without a password. Period. You don't have to be logged in to view it
With that being said,
I think the simplest way is to set the password for the keyring to an empty password -- you will not be prompted for a password then:
Again, as the message says: This will expose all your passwords (e.g. email passwords) that you chose to save in the default keyring to anyone using your computer or having access to your files and is therefore not recommended.
Addendum for Ubuntu 11.04:
Addendum for Ubuntu 11.10:
For Ubuntu 12.10 and onwards
The interface of the "Password and Keyring" manager changed slightly in 12.10. When you open it, you won't immediately see the "Login" keyring as described in other answers. The interface will look like this:
In order to view the Login keyring, you need to open the
Right-click on the "Login" entry at the top and choose
Leave this blank, choose "Continue", and choose it again to confirm you desire to continue without a password.
For versions up to 12.04: (for 12.10 onwards, see this answer)
The method is similar to previous Ubuntu versions, but I also include a command-live alternative at the end.
1. Using the Gnome Keyring Manager (Seahorse)
2. Disable the login keyring password from the command-line
As an alternative to all the above steps, simply open a terminal, and type/paste the below, changing
python -c "import gnomekeyring;gnomekeyring.change_password_sync('login', 'MYPASSWORD', '');"
You need to get the password for your login key ring to be the same as your normal login password.
To do this:
Open Applications > Accessories > Passwords and Encryption Keys.
You will see under the passwords tab a list of keyrings. One should be called " Passwords: login"
Click on the + and you should see a list of accounts that require passwords such as you Gwibber details, Evolution passwords etc.
This means when you log in all of these accounts will be unlocked by this login keyring.
To get the keyring to unlock when you log into Ubuntu, right click on "Passwords: login" and choose "Change Password"
You will then need to enter your current keyring password and set your new keyring password to be the same as your normal login password.
To test: Log out, log back in and open Evolution to prove that this has worked.
Simply delete your default keyring. (Backup the passwords first!) You don't need it. You can keep all your keys in the login keyring.
The login keyring is unlocked when you login. All keys in it will be available, you don't have to enter more passwords again.
If you are using auto-login, then when you want to access something that needs a key from the login keyring you will be prompted for the password, of course, but only once.
(As many answers already pointed out) your keyrings are in System / Preferences / Passwords and Encryption Keys
Using Ubuntu 11.10 with Unity:
Hope that works for you
For Ubuntu 13.10:
It's also important to set 'login' keyring as
I have solved this problem through terminal.There is a directory under /usr/lib , called gnome-keyring. Under that directory there are a directory 'devel' and two files gnome-keyring-prompt and gnome-keyring-prompt-3.I don't know much about the directory 'devel'.So I removed only the two files and solved the problem.The corresponding commands are here-
And then reboot your computer to see the effect.
open passwords and keys then
Then you need to enter your current password (old password). Don't enter any password for your new one, or leave it blank.
You need to confirm that you will store unencrypted password. If you are sure that it is what you want, then just click "Use Unsafe Storage" button.
Use this if you have forgotten the old password and is ok to delete items in the old keyring, but want to safeguard new keyring with matching password.
For Ubuntu 14.04, I used the following.
Remove old keyring:
Restart the system to have the new keyring created:
Verify the new keyring exists:
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?