On Wed, May 12, 2010 at 11:42:54PM +0900, 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.
I don't think it's so obvious. Previously everything worked fine without exporting the DBUS_SESSION_BUS_ADDRESS variable during Openbox startup. dbus-launch man states: If DBUS_SESSION_BUS_ADDRESS is not set [...] or find the existing bus address on the X display or in a file in ~/.dbus/session-bus/. So there are other mechanisms of finding a DBus session bus. For example the d-feet tool has to do it somehow. > 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. Now it works without the PAM module. It was obsolete as the new version seems not to add itself to common-session in pam.d anymore. I admit - now I start gnome-keyring-daemon during Openbox startup, but for another reason - to avoid dangling daemon processes executed on every connection request. Without launching gnome-keyring-daemon during Openbox startup everything still works, but after killing X server I have daemons still running. When a tool needs a keyring a daemon process starts. The password information is unimportant here. The problem wasn't with connecting to a locked keyring but in connecting itself. Without the PAM module the keyring just doesn't get unlocked during login. But first access to the keyring ends with a dialog asking me for the keyring password. After supplying it the keyring is unlocked and tools work as usual. -- Marcin Szewczyk http://wodny.org mailto:marcin.szewc...@wodny.borg <- remove b / usuń b xmpp:wo...@ubuntu.pl xmpp:wo...@jabster.pl -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org