Connection error with address

John (J5) Palmieri johnp at redhat.com
Mon Aug 28 17:52:22 PDT 2006


There is an issue with dbus-launch in 0.92 if the --with-dbus-daemondir
isn't set during configure.  It is fixed in CVS.

On Sat, 2006-08-26 at 14:23 -0300, Felipe Monteiro de Carvalho wrote:
> Hello,
> 
> I created a hello world app on pascal to test dbus bindings. It just
> calls dbus_bus_get to connect, checks if it sucessfull and then closes
> it and quits:
> 
> var
>   err: DBusError;
>   conn: PDBusConnection;
>   ret: cint;
> begin
>   { Initializes the errors }
>   dbus_error_init(@err);
> 
>   { Connection }
>   conn := dbus_bus_get(DBUS_BUS_SESSION, @err);
> 
>   if dbus_error_is_set(@err) <> 0 then
>   begin
>     WriteLn('Connection Error: ' + err.message);
>     dbus_error_free(@err);
>   end;
> 
>   if conn = nil then Exit; // At this point conn will be nil, and the
> software exists.
> 
>   ....... (code continues here)
> 
> >From command line, I can see this error message:
> 
> Connection Error: Unable to determine the address of the message bus
> 
> Next I tryed to execute the dbus-launcher software, and this error appeared:
> 
> [felipe at Lapa example]$ dbus-launch
> Failed to execute message bus daemon: No such file or directory
> EOF in dbus-launch reading address from bus daemon
> 
> I am using Mandriva Linux. Any ideas what could be wrong?
> 
> I did a google search, but could not find a solution.
> 
> thanks,
-- 



More information about the dbus mailing list