The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: How to....
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-27-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
Like I wrote before, the main hurdle is really tearing down the X11 security features; even as yourself, you cannot easily start a program in another session until you have xauth cookies etc set up (or disabled).

Doing it from a CGI script is probably under no circumstances going to be easier than doing it from an interactive session. Work it out from the command line first, then see if you can make it run from inside the web server.