[maemo-users] [maemo-users] Unable to determine the address of the message bus

From: wang baisheng bswang at redflag-linux.com
Date: Tue Nov 1 05:42:14 EET 2005
hi,
0„20„20„20„20„20„20„20„2I run the dbus as follwoing commands

0„20„20„20„20„20„20„20„20„20„20„20„20„20„20„20„2dbus-daemon --system &
0„20„20„20„20„20„20„20„20„20„20„20„20„20„20„20„2dbus-daemon --session &

0„20„20„20„20„20„20„20„2then I connect thes system bus using 
0„20„20„20„20„20„20„20„20„20„20„20„20„20„20„20„2bus = dbus_bus_get (DBUS_BUS_SYSTEM, &error);
0„20„20„20„20„20„20„20„2it's ok.

0„20„20„20„20„20„20„20„2but when I connect thes session bus using
0„20„20„20„20„20„20„20„20„20„20„20„20„20„20„20„2bus = dbus_bus_get (DBUS_BUS_SESSION, &error);
0„20„20„20„20„20„20„20„2it's a problem : Unable to determine the address of the message bus.

0„20„20„20„20„20„20„20„2My session bus socket: /tmp/session_bus_socket, 
0„20„20„20„20„20„20„20„2system bus socket: /usr/var/run/dbus/system_bus_socket.

0„20„20„20„20„20„20„20„2Hope you give me some help!

0„20„20„20„20„20„20„20„2Best Regards,
0„20„20„20„20„20„20„20„2Wang Baisheng
More information about the maemo-users mailing list