LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-06-2015, 08:15 AM   #1
l0p3n
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu
Posts: 27

Rep: Reputation: Disabled
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!

Last edited by l0p3n; 07-06-2015 at 08:16 AM.
 
Old 07-06-2015, 11:00 AM   #2
l0p3n
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu
Posts: 27

Original Poster
Rep: Reputation: Disabled
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.

Last edited by l0p3n; 07-06-2015 at 11:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openbox is ignoring my autostart script. KYJazzyJeff Linux - General 14 12-19-2016 04:12 AM
[SOLVED] "Permission denied" when Openbox tries to execute autostart.sh in ~/.config/openbox alarazr Linux - Software 4 10-04-2012 03:50 PM
gnome-keyring-daemon couldn't allocate secure memory jrdioko Linux - Software 0 09-10-2011 12:49 PM
Openbox autostart.sh and setting alias on openbox start Jelloir Linux - Desktop 1 07-03-2011 03:56 AM
[SOLVED] Question, Openbox autostart on second desktop TobiSGD Linux - Desktop 1 09-15-2010 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration