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