hp at redhat.com
Wed Mar 8 14:25:16 PST 2006
On Wed, 2006-03-08 at 22:59 +0100, Marcin wrote:
> You were right, I thought that the session differs from the system bus.
> Now I know, I was wrong. But I still don't understand how to make
> application using dbus to use the system bus. Some applications(e.g. bmpx)
> don't run without session bus(on my PC) they need to start dbus-daemon
> --session and set DBUS_SESSION_BUS_ADDRESS. What should I do to run this
> apps only with the system bus?
That doesn't make sense. The system and session bus are not
interchangeable, they have different services available etc. If an app
wants the session bus, you have to give it the session bus.
Read "man dbus-launch" (I just made the error message for no session bus
suggest this man page) also "man dbus-daemon"
Sometimes you can just give an app its own private session bus, like:
which will launch epiphany and also a session bus that only epiphany
will use; but, really this is kind of nonsensical, though it happens to
work for epiphany at the moment.
More information about the dbus