deploy the daemon

Simon Burton simon at arrowtheory.com
Fri Mar 9 14:34:24 PST 2007


I am rather confused about this..

On my local machine I have a dbus app (two programs that use dbus for IPC),
and everything works fine using:

dbus_bus_get(DBUS_BUS_SESSION, err_addr)

and I find these running processes:
$ ps ax|grep dbus
 5406 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 6673 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager
 6676 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager
 6677 ?        Ss     0:10 dbus-daemon --fork --print-pid 8 --print-address 6 --session


On the target (FC5 x86-64) machine there is no X running, but I see:

$ ps ax|grep dbus
 2109 ?        Ss     0:00 dbus-daemon --system

Can I use this daemon for my app ? I don't seem to be able to
request a name (dbus_bus_request_name) when I use
dbus_bus_get(DBUS_BUS_SYSTEM, err_addr).

Simon.


More information about the dbus mailing list