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