Lubuntu 14.04 - unlock keyring on login

How do I automatically unlock the keyring at login on my Lubuntu 14.04 system?

There are a lot of answers to this problem on this site and Ubuntu Forums, but none are applicable to a 14.04 Lubuntu system - it appears that the Passwords and Keys dialog has changed significantly since those answers were supplied.

SO -

  • answers telling me to tick the box for "Unlock the keyring at login" in the Seahorse app do not work, because it is not there.

  • answers (like this one) telling me to tick the box on the "Unlock Keyring" dialog box to unlock it at login do not work, because it is not there

  • auto-login was never set on this system, so that is not a contributor, and this answer does not apply

  • the issue does not arise with Network Manager (like this one), but rather with Deja-dup

  • I do not want an answer that involves removing the keyring password entirely - like this one

How can this rather basic requirement be met on a Lubuntu 14.04 system?

[edit] - here is the dialog box requesting the keyring unlock. enter image description here


Solution 1:

Make sure, libpam-gnome-keyring is installed on your system

sudo apt-get install libpam-gnome-keyring

Also you should have a login keyring in ~/.gnome2/keyrings/login.keyring

---Edited by OP to cover another situation.

I installed LXDE on my Ubuntu 14.04 system and started getting this keyring popup again when I took a backup. libpam-gnome-keyring was already installed on this system! To fix it, I had to add a line of text to two files, like this:

To /etc/pam.d/passwd add:

password optional pam_gnome_keyring.so

And to /etc/pam.d/login add:

session    optional     pam_gnome_keyring.so        auto_start

This will unlock the keyring on login when I log in through LXDE.