in Articles

Unlock the Gnome keyring upon login

Note: This might not work in Ubuntu 10, and may cause problems. Use at your own risk!

If you are a Ubuntu and a network manager user, you have probably seen the following dialog, and you are probably sick of it too.


Yes, it will pop-up when you have logged in and even when you resume from sleep in Feisty Fawn. How about getting rid of this dialog forever? If you are running Ubuntu Feisty Fawn, you are in luck. Do this:

sudo apt-get install libpam-keyring

The next step is to actually make use of this PAM plug-in. Edit /etc/pam.d/gdm and add the following in the bottom:

@include common-pamkeyring

Log out and back in, and the Gnome keyring will be opened by your login!

Edit: Changed the includes from the following:

auth optional try_first_pass
session optional