search

# Automatically Unlock Gnome Keyring on Login With Arch Linux

#### Tue, Jun 19, 2018 12:44 CEST

###### Tags:Automation, Security

Install gnome-keyring, libsecret, and seahorse.

Start seahorse and create a keyring named login with the same password as your login password and set it as default. If such a keyring already exists and you remember its password, make sure its password is the same as your login password. If such a keyring already exists and you do not remember its password, delete it and create a new one.

In /etc/pam.d/login, add auth optional pam_gnome_keyring.so at the end of the auth section and session optional pam_gnome_keyring.so auto_start at the end of the session section.

#%PAM-1.0

auth       required     pam_securetty.so