Unable to determine the address of the message bus

Havoc Pennington hp at redhat.com
Mon Oct 31 22:57:35 PST 2005


On Tue, 2005-11-01 at 11:39 +0800, wang baisheng wrote:
> 	but when I connect thes session bus using
> 		bus = dbus_bus_get (DBUS_BUS_SYSTEM, &error);

You mean SESSION here right

> 	it's a problem : Unable to determine the address of the message bus.

You have to set the environment variable for the session bus. See "man
dbus-launch"

Havoc




More information about the dbus mailing list