You are not logged in.

#1 2010-04-04 01:32:04

ervandew
Member
Registered: 2009-10-28
Posts: 12

[Solved] Unable to connect to gnome-keyring-daemon post 2.30 upgrade

After upgrading the gnome-keyring-daemon to version 2.30, I now run into errors with apps attempting to connect to the daemon.

The python bindings raise a gnomekeyring.IOError when attempting to access the default keyring:

$ python -c "import gnomekeyring; gnomekeyring.get_default_keyring_sync()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
gnomekeyring.IOError

Seahorse prints the following errors when starting:

$ seahorse
** (seahorse:5754): WARNING **: DNS-SD initialization failed: Daemon not running
** Message: init gpgme version 1.2.0

** (seahorse:5754): WARNING **: couldn't get default keyring name: Error communicating with gnome-keyring-daemon

I started digging into the seahorse and libgnome-keyring sources and found that the last message above is generated from libgnome-keyring when it tries to connect to the gnome-keyring-daemon via dbus.  I'm not familiar with dbus so I'm not sure how to diagnose this issue much further.

I found one thread with a somewhat similar issue (http://bbs.archlinux.org/viewtopic.php?pid=736433), but none of the solutions or workarounds suggested there helped (perhaps because network manager uses a different interface to communicate with the keyring daemon?).

Any help troubleshooting this issue would be greatly appreciated.

Note: I am not running gnome, I'm running xmonad and use slim as my login manager.

Last edited by ervandew (2010-04-04 15:11:08)

Offline

#2 2010-04-04 02:41:06

atcq
Member
From: Germany
Registered: 2008-09-04
Posts: 28

Re: [Solved] Unable to connect to gnome-keyring-daemon post 2.30 upgrade

i have the same problem here with pam-keyring-tool, nm-applet and awesome ...
no idea how to solve it ...

it's quite annoying typing your passphrase everytime you start X smile

Offline

#3 2010-04-04 12:48:28

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: [Solved] Unable to connect to gnome-keyring-daemon post 2.30 upgrade

Yep, same problem here with openbox + nm-applet. The pam.d trick used to work, now it doesn't sad

Offline

#4 2010-04-04 13:53:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,478
Website

Re: [Solved] Unable to connect to gnome-keyring-daemon post 2.30 upgrade

There is instructions on how to fix (at least nm-applet) here: http://bugs.archlinux.org/task/18930

Offline

#5 2010-04-04 15:09:44

ervandew
Member
Registered: 2009-10-28
Posts: 12

Re: [Solved] Unable to connect to gnome-keyring-daemon post 2.30 upgrade

Allan wrote:

There is instructions on how to fix (at least nm-applet) here: http://bugs.archlinux.org/task/18930

The suggested change to slim's login_cmd did the trick.  Thanks!

Offline

#6 2010-04-05 11:06:29

Spacenick
Member
From: Germany
Registered: 2010-04-02
Posts: 168

Re: [Solved] Unable to connect to gnome-keyring-daemon post 2.30 upgrade

I got the same problem now with KDM, thinking about using GDM even with KDEmod.
EDIT: Actually that doesn't fix it

Last edited by Spacenick (2010-04-05 11:10:12)

Offline

Board footer

Powered by FluxBB