dbus-1.2.3 and gnome-settings-daemon-2.24.1

walt w41ter at gmail.com
Wed Mar 11 15:07:32 PDT 2009



On Tue, 10 Mar 2009, Havoc Pennington wrote:

> Hi,
>
> On Tue, Mar 10, 2009 at 12:48 PM, walt <w41ter at gmail.com> wrote:
> > A few of us using gentoo-unstable/testing are having trouble with gsd not
> > starting properly unless we use 'dbus-launch gnome-session'.
> >
>
> It's a bug if any distribution launches a desktop without launching
> dbus-daemon first.
>
> As Ray said gnome-session makes some sort of (broken and wrong)
> attempt to recover, but it's broken and wrong. The bug is in the X
> session startup scripts that fail to launch dbus. The entire X session
> needs to see the dbus daemon and it needs to start before anything
> else in the session, including gnome-session. Also dbus should be
> launched for all sessions, not just gnome, because a number of apps
> require it and any session can contain those apps.

That's very helpful, thanks.  Based on the replies from you and Ray
I discovered that there have been some changes in the startup scripts.

As things stand now there are ways to configure gentoo so that a dbus
session does get launched, but those ways seem fairly obscure to me,
and would be beyond the ken of the average amateur penguin. So, I'll
forward this on to the gentoo bug report that's already open.

Right now my .xinitrc has "exec /etc/X11/Sessions/Gnome" and it's
working perfectly; all the gnome/dbus processes are properly stopped
when I close the X session, which wasn't the case before.

> Personally I think it would be clearer if gnome-session just did
> g_error("Your X setup scripts are broken because dbus-daemon was not
> launched") if it got a NULL session bus.

Sounds like a good idea to me, and many thanks for the help.




More information about the dbus mailing list