Re: Launch an X Windows app from Apache (PHP or Perl)

2005-12-15 Thread Andrew Cady
On Wed, Dec 14, 2005 at 09:49:50PM -0800, [EMAIL PROTECTED] wrote: > Hi > I'm setting up an automated movie player system on my Ubuntu box and > what I want to be able to do is run an application (totem) when a I > click a link to a movie on my page. This will be run from the server, > logged in as

Re: Launch an X Windows app from Apache (PHP or Perl)

2005-12-15 Thread Sinan Nalkaya
you should run your x11 commands as a user of you, not www-data. www-data cannot connect to x11 server, or you will dig into xhost. On Thursday 15 December 2005 07:25 am, Arafangion wrote: > man xhost, and set the DISPLAY variable. I assume that this is a local > apache. > > On Thursday 15 Decemb

Re: Launch an X Windows app from Apache (PHP or Perl)

2005-12-14 Thread Arafangion
man xhost, and set the DISPLAY variable. I assume that this is a local apache. On Thursday 15 December 2005 16:49, [EMAIL PROTECTED] wrote: > Hi > I'm setting up an automated movie player system on my Ubuntu box and > what I want to be able to do is run an application (totem) when a I > click a

Launch an X Windows app from Apache (PHP or Perl)

2005-12-14 Thread [EMAIL PROTECTED]
Hi I'm setting up an automated movie player system on my Ubuntu box and what I want to be able to do is run an application (totem) when a I click a link to a movie on my page. This will be run from the server, logged in as my default account (it'll be a home theatre system) The php command I'm call