LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Openbox - Autostart gnome-keyring-daemon message. (https://www.linuxquestions.org/questions/linux-desktop-74/openbox-autostart-gnome-keyring-daemon-message-4175547333/)

l0p3n 07-06-2015 08:15 AM

Openbox - Autostart gnome-keyring-daemon message.
 
To start the gnome-keyring-daemon in Openbox 3.5.2 (Ubuntu Vivid 15.04) I execute the following command in bash:

Code:

$ /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg
which gives me the output:

Code:

** Message: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
The command successfully starts gnome-keyring-daemon.

Since
Code:

$ file /run/user/1000/control
gives me the output
Code:

/run/user/1000/keyring/control: socket
the file seems to exist.

Any ideas as to why gnome-keyring-daemon prints this message?

Thanks in advance!

l0p3n 07-06-2015 11:00 AM

Puh...

I managed to solve the problem by adding

Code:

session    optional    pam_gnome_keyring.so        auto_start
auth      optional    pam_gnome_keyring.so

to the end of /etc/pam.d/login, and

Code:

password        optional        pam_gnome_keyring.so
to the end of /etc/pam.d/passwd. Then finally adding a default login password (with the same password used when logging on the user) in seahorse. The default keyring is automatically unlocked upon logging in and gnome-keyring-daemon doesn't complain about not finding the directory.


All times are GMT -5. The time now is 05:55 PM.