Re: Starting DBus from gnome-session instead of Xsession
Oh GOD,
As I understand, if we prevent /etc/X11/Xsession.d/75dbus_dbus-launch to
be executed, gnome-session will start dbus and it's what we need exactly.
But that #395488 bug complicates the situation... the risk of killing
dbus-daemon at all...
Alan
> Hi,
>
> Does d-i install dbus service as a standard part of the system?
>
> Alan
>
>> Hi,
>>
>> The session DBus in Debian Xsessions is currently started by
>> /etc/X11/Xsession.d/75dbus_dbus-launch if the use-session-dbus option
>> is set.
>>
>> Newer gnome-session will spawn a session DBus automatically if none has
>> been started.
>>
>> If gnome-session launches DBus, DBus will inherit env from
>> gnome-session which is handy for gnome-keyring for example.
>>
>> I suspect we wouldn't suffer from the sound issues (the desktop sounds
>> are not working bugs) would we be moving to launch DBus from
>> gnome-session, and I think this is what we should aim to do.
>>
>>
>> I personally think it makes a lot of sense to launch DBus from
>> gnome-session; what I wonder about is how we're going to switch to this
>> setup.
>> Ubuntu plans to fix this via a patch to the dbus Xsession snippet to
>> avoid starting DBus when running GNOME session; see Ubuntu #62163 and
>> <http://librarian.launchpad.net/7170382/dbus_1.0.2-1ubuntu34.patch>.
>> It's not trivial to know whether we're really in a GNOME session
>> because:
>> - from the PoV of gdm, there are a couple of GNOME sessions, and the
>> "Default" session, which will launch x-session-manager which might or
>> might not gnome-session
>> - sessions can be started via startx and/or various other ways
>>
>>
>> Note: there's currently an upstream bug that gnome-session does not
>> wait on DBus enough; see GNOME bug #395488.
>>
>> --
>> Lo�c Minier
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-gtk-gnome-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>>
>>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-gtk-gnome-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Reply to: