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

John Lindgren john.lindgren at tds.net
Tue Jun 15 14:58:03 UTC 2010


On 06/15/2010 03:01 AM, Josselin Mouette wrote:
> Le lundi 14 juin 2010 à 14:53 -0400, John Lindgren a écrit :
>> 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.

Here is the content of /etc/X11/Xsession.d/75dbus_dbus-launch on my 
system.  Am I right in saying that dbus-launch prints the variables that 
need to be set to stdout, and expects the session manager to set them? 
If so, it seems that xfce4-session is dropping the ball here.

-- John


# $Id:$
# In order to activate the session bus at X session launch
# simply place use-session-dbus into your /etc/X11/Xsession.options file
#

STARTDBUS=
DBUSLAUNCH=/usr/bin/dbus-launch

if has_option use-session-dbus; then
   if [ -x "$DBUSLAUNCH" ]; then
     STARTDBUS=yes
   fi
fi

if [ -n "$STARTDBUS" ]; then
   STARTUP="$DBUSLAUNCH --exit-with-session $STARTUP"
fi






More information about the pkg-gnome-maintainers mailing list