Comment 71 for bug 1689825

Revision history for this message
Antonios Hadjigeorgalis (antonioshadji) wrote : Re: gnome-keyring not unlocked on boot

Thank you, @leftyfb.

I'm seeing some strange behavior when deleting the files in ~/.config/autostart/

I can delete the file. If I open the GUI for startup Applications it has a line for gnome-keyring-daemon --start --components=ssh which seems unrelated to the text file in ~/.config/autostart. If I delete both the GUI entry and the text file and reboot, I get the same behaviour and have to run gnome-keyring-daemon --replace and enter my password. I also have to open the HUD to get the password prompt to show itself otherwise nothing happens.

Also after reboot, the entry in the startup applications gui shows up again even though the text file is not there. Upon closing the GUI, the text file appears again.

As for the rest of the system,

In /etc/xdg/autostart I have three gnome-keyring-daemon files for secrets, ssh, and pkcs11. These files have been here since November 2015.

They contain:

Exec=/usr/bin/gnome-keyring-daemon --start --components={{one of secrets, ssh, or pkcs11}}

the rest of these three files are the same and contain the following lines:

OnlyShowIn=GNOME;Unity;MATE;
X-GNOME-Autostart-Phase=Initialization
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-keyring
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.18.3
NoDisplay=true