dbus-glib-0.71 under Mac OS X

Benjamin Reed rangerrick at gmail.com
Wed Sep 20 18:52:10 PDT 2006


On 9/20/06, Marius Schamschula <mschamschula at gmail.com> wrote:

> Failed to open connection to system message bus: Failed to connect to
> socket /usr/local/var/run/dbus/system_bus_socket: Connection refused

This is the session bus, not the system bus:

> #dbus-launch
> DBUS_SESSION_BUS_ADDRESS='unix:path=/tmp/dbus-byxIiWZiGt,guid=4511e52bc47e861d8397c57b4cda1400';
> DBUS_SESSION_BUS_PID=6339;

...

> $ls -l /usr/local/var/run/dbus/system_bus_socket
> srwxrwxrwx   1 root  wheel  0 Sep 20 06:52
> /usr/local/var/run/dbus/system_bus_socket

Is the system bus running?  You can start it with "sudo dbus-daemon
--system".  dbus-daemon also complains if it's pid file exists and
bombs out, so if you've started the system bus, and then rebooted, you
may have a stale pid around.


More information about the dbus mailing list