httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MUTTON, PETER" <peter.mutt...@bell.ca>
Subject Re: [users@httpd] Launching X-Server based apps
Date Wed, 05 Mar 2003 20:04:08 GMT
If you're looking for a virtual frame buffer try Xvfb, the source
is available by anonymous ftp from:

   ftp://ferret.wrc.noaa.gov/special_request/xvfb/

I use it to run Java programs headless.

Peter

Vasile.Curelea@cgi.com wrote:
> 
> Try to run the program that require X in headless mode to bypass granting
> access situation,
> or another scenario have the user call the program and pipe the image out,
> again we need to run in headless
> mode. vasile
> 
> 
>                       "Shawn W. Devlin"
>                       <sdevlin@recognia        To:       users@httpd.apache.org
>                       .com>                    cc:
>                                                Subject:  [users@httpd] Launching X-Server
based apps
>                       03/05/03 02:08 PM
>                       Please respond to
>                       users
> 
> 
> 
> Hello,
> 
> I have a program that requires X that I need to launch from a cgi, not
> as a cgi. The program crunches some data and generates some charts. It
> runs without interacting with a user. I don't want the program's display
> shown to the caller of the cgi script. The cgi script will launch the
> app, wait for it to exit, then grab the output and send that back to the
> user.
> 
> When I initially set this up, the program would not run because it could
> not attach to an X server. I used xhosts to grant the webserver
> permission to access X. When I call the cgi script from the same box it
> now works but it does not run when I call the cgi script from another
> box. I believe this is because the other box has not been granted access
> to X.
> 
> I did a search and while I can find references to running X programs and
> having the display show up on the caller's box, I can't seem to find any
> reference to simply running an X based program from a cgi. I suppose I
> could start an X session for each launch but that could get expensive
> quickly.
> 
> Does anyone know of a way to launch X based apps from a cgi?
> 
> --
> 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
> 
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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