Standard setup for session bus?
chipx86 at gnupdate.org
Tue Jun 22 21:42:00 PDT 2004
Hello everyone. I work on the Galago project
(http://galago.sourceforge.net/) and am in the process of writing a
small HOWTO on setting up Galago. Part of this includes setting up
D-BUS and the session bus.
My question is, what is the ideal way to set up a session bus for a
user? I personally use:
exec dbus-launch gnome-session
That's fine for an X session, but if a person doesn't use X and has
just console apps on the bus, they would have to do something else.
The solution I'm seeing for that in the dbus-launch man page shows
checking $DBUS_SESSION_BUS_ADDRESS and launching dbus-launch if
necessary. The issue there, unless I'm missing something, is that a
person will get a session bus for each virtual terminal they log into.
If they want everything to communicate on the same bus, they would
have to run in screen.
It seems to me that the best solution would be something ran out of
login scripts that would cause dbus-launch to be run once, and only
once, for the user. Console would be taken care of, and X would be
taken care of. However, I would not be surprised if there's an issue
there that I'm not thinking about.
Regardless, it would be nice to have one official method for setting
this up that we could point users to and that distributions could set
up out of the box, rather than conflicting, slightly complicated
(for new users) methods.
Is there a particular method that most people recommend?
Christian Hammond <> The GNUpdate Project
chipx86 at gnupdate.org <> http://www.gnupdate.org/
Why do people who know the least know it the loudest?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040622/75c22e00/attachment.pgp
More information about the dbus