Bug#580156: gnome-keyring: tools unable to connect to the daemon

Josselin Mouette joss at debian.org
Tue Jun 15 07:01:01 UTC 2010


Le lundi 14 juin 2010 à 14:53 -0400, John Lindgren a écrit :
> Josselin Mouette wrote:
> > Le mardi 11 mai 2010 à 23:15 +0200, Marcin Szewczyk a écrit :
> >> I've tested the thing with gnome-session for a couple of minutes. It
> >> worked in that configuration. So I started unsetting environmental
> >> variables. Seahorse stopped connecting do the keyring after unsetting
> >> DBUS_SESSION_BUS_ADDRESS.
> >
> > Of course it would, since programs accessing the keyring use D-Bus to
> > connect to the daemon.
> >
> > The real problem if you don’t use a session manager is that the daemon
> > itself is not started at login time. AIUI it is only pre-loaded by the
> > PAM module, and if the daemon is not started a few seconds after, it
> > exits and the password information is lost.
> 
> Is it agreed that a session manager must set DBUS_SESSION_BUS_ADDRESS? 
> XFCE doesn't do so, meaning that everything using Gnome Keyring breaks 
> in XFCE.  (Example: Network Manager forgets passwords, #578587.)

This is set by the startup scripts in dbus-x11, not by the session
manager itself. The only difference between GNOME and Xfce on this
matter is that gnome-session will start the D-Bus daemon even if it has
been disabled.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “If you eat pasta without sauce, it is nothing
  `-     short of communism.”  -- Marie







More information about the pkg-gnome-maintainers mailing list