Connecting dbus to web app - Access environmental vars from browser

pete-c pcwhizzkid at hotmail.com
Tue Jun 2 06:25:48 PDT 2009



Curtis Maloney wrote:
> 
> 
> b) If you're using Apache, investigate using mod_suexec, and doing as
> above.
> 
> 

I've managed to get suexec installed and running under my username, which I
have confirmed by putting the result of a 'whoami' statement in the page. 

However, I still have an error connecting to dbus. In the apache error log,
it complains that the X11 initialisation failed, and I have discovered that
setting either $DISPLAY or $DBUS_SESSION_BUS_ADDRESS solves this, so that
running the cgi script in command line will work. The problem is I don't
know how to make these variables accessible to the browser. Does anyone have
an idea as to how I can solve this?
-- 
View this message in context: http://www.nabble.com/Connecting-dbus-to-web-app-tp23710581p23832483.html
Sent from the Free Desktop - dbus mailing list archive at Nabble.com.



More information about the dbus mailing list