reassign 518069 dbus-x11
retitle 518069 Please always start dbus when running a GNOME session
thanks

Le mardi 24 mars 2009 à 19:12 +0100, Jens Kilian a écrit :
> I had the same problem as the original poster.  I use a plain Gnome session,
> no startx, .xinitrc, .xsession, ...
> 
> I finally tracked this down to a disabled "use-session-dbus" entry
> in /etc/X11/Xsession.options.  After enabling it, the session comes up
> correctly.
> 
> Hope this helps,

It does.

I think it is time that the session dbus daemon cannot be disabled, at
least when running a GNOME session.

A simple way to do that would be the following:

--- 75dbus_dbus-launch  2006-06-28 20:09:16.000000000 +0200
+++ /tmp/75dbus_dbus-launch     2009-03-25 00:04:32.153708156 +0100
@@ -6,7 +6,7 @@
 STARTDBUS=
 DBUSLAUNCH=/usr/bin/dbus-launch
 
-if grep -qs ^use-session-dbus "$OPTIONFILE"; then
+if grep -qs ^use-session-dbus "$OPTIONFILE" || [ -n "$GNOMERC" ]; then
   if [ -x "$DBUSLAUNCH" ]; then
     STARTDBUS=yes
   fi

Maybe you’d also want to do the same for other session managers, but I
guess that’s up to them.

Cheers,
-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to