I setup full disk encryption during install and successfully configured automatic login. However, every time I log in I get an Authorization Required prompt, stating that “the login keyring did not get unlocked when you logged into your computer”, even though all of the 3 passwords involved are the same (LUKS encryption password, user password, and keyring password).
I was under the impression that systemd-cryptsetup were to make the password used for the disk encryption available to PAM, which in turn would be used by pam_gnome_keyring.so to unlock the login keyring.
In fact, it seems that an Arch Linux user once tried to mimic this behavior from Fedora, as described in the ArchWiki GNOME/Keyring#Using_the_keyring, which sums up to the behavior I expect. Did I mess something up?
I’ve checked /etc/pam.d/gdm-autologin and these lines were already there:
... -auth optional pam_gnome_keyring.so ... session optional pam_gnome_keyring.so auto_start ...
I also tried to change the keyring password, as suggested for the topic keyring-authentication-required-prompt-every-login/19261, and then changed it back again to match the other passwords, but the problem persisted.
If I disable automatic login and type in the user password on GDM, the keyring is unlocked successfully. But then I’d have to type the password twice anyway (LUKS and GDM).
How can I make the keyring to be unlocked automatically, with the same password used during boot for the LUKS encrypted disk, when GDM is configured for automatic login?
Thank you in advance.