Can d-bus be used in a GUI-free environment?

View: New views
1 Messages — Rating Filter:   Alert me  

Can d-bus be used in a GUI-free environment?

by Qiming He :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I am trying to use d-bus (client) inside a CGI perl environment where X11 DISPLAY is not set.

 

From Apache error log, I got

===========

process 5496: arguments to dbus_connection_ref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2497.

This is normally a bug in some application using the D-Bus library.

org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: PuTTY X11 proxy: wrong authentication protocol attemptedAutolaunch error: X11 initialization failed.

 

It seems to me  even in the console environment, DISPLAY has to be set for d-bus to work. Is it mandatory? Any work around?

 

Thanks in advance

 

 


_______________________________________________
freedesktop mailing list
freedesktop@...
http://lists.freedesktop.org/mailman/listinfo/freedesktop