httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn W. Devlin" <sdev...@recognia.com>
Subject Re: [users@httpd] Launching X-Server based apps
Date Mon, 10 Mar 2003 14:30:02 GMT
Dirk-Willem van Gulik wrote:

>You will need to set up the DISPLAY variable in your script. Then you will
>need to allow the user which runs as apache access to the screen you
>specify in the DISPLAY variable. Do a 'man xhost' to see some info on this
>(though there are several other methods). If you want the screen used by
>your cgi to be 'private' to apache - you may want to use a virtual screen
>buffer, like Xvfb - which do not run against the normal vga/screen card -
>but simply run 'headless'. Typical settings are DISPLAY=:0.0 for your
>normal screen and DISPLAY=:1.0 for a Xvfb attached to screen 1.
>

Xvfb was the solution. The app now runs from the cgi call and generates 
its output.

Thanks muchly to everyone who responded.

-- 
Shawn W. Devlin
(613) 256-9200
sdevlin@recognia.com

Recognia Inc. - Changing the way people invest!

This communication contains confidential information and is intended only for the addressee.
Any unauthorized disclosure is strictly prohibited. If received in error, please contact the
author by return email or phone at (613) 256-9200.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message