Automatically unlocking the default Gnome-Keyring

One of the things that really annoy me about Linux is the fact that every time I start my computer, I have to enter a separate password to unlock the Gnome-Keyring, so as to log on to my wireless network. While I appreciate the need for a keyring, I really think it should be unlocked automagically. Luckily; there’s a way.
What we need to do is to install a package called libpam-keyring, which can be found in the package manager. Once installed, a little bit of configuration is needed, by way of adding a couple of lines to the configuration file. Follow this next step carefully. If you put the line in the wrong place it may cause problems with other parts of machine authentication.
Edit the /etc/pam.d/gdm file and append the following line to the end of the file: @include common-pamkeyring
Once this is done, the gnome-keyring will be handed your login password, and unlock at logon, provided they are the same. If your login password and gnome-keyring password are different this will not work. To resolved this, you will need to ensure that they are the same, either by changing your login password, or by changing the gnome-keyring password, as detailed here






By posting a comment, you consent to our collecting the information you enter. See privacy policy for more information.

This site uses Akismet to reduce spam. Learn how your comment data is processed.