Dbus daemon

Marcin marcino_l at o2.pl
Wed Mar 8 14:56:19 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:
>
>  "dbus-launch epiphany"
>
> 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.
>

Ok, thanks for explanation. Now I see that I always have to launch session  
bus to run these applications. But I have one more question for you. How  
to launch only one session bus for all apps started from any console  
sessions?

Marcin


-- 
Używam programu pocztowego Opery: http://www.opera.com/mail/


More information about the dbus mailing list