roger_girardin
07-05-2004, 06:29 PM
hi all
i want to run an external prog by a web interface (user : www-data)
the prob is when i do by a console :
su www-data
vmware
the prog is workin fine
if i sent this command by a web interface, it doesn't launch
if i edit /var/log/apache/error.log, i can see " Gtk-WARNING **: cannot open display: "
knoppix 3.4 kernel 2.4
it worked fine on a previous knoppix install but i have messed up with permission and i had to reinstall
---------------------------------------------------------------------
i have changed the user www-data privileges to users then to root, but nothing
i have changed the apache user to my current user but nothing
i have create a symlink from .xauthority user to www but nothing
---------------------------------------------------------------------
have you any ideas ?
i want to run an external prog by a web interface (user : www-data)
the prob is when i do by a console :
su www-data
vmware
the prog is workin fine
if i sent this command by a web interface, it doesn't launch
if i edit /var/log/apache/error.log, i can see " Gtk-WARNING **: cannot open display: "
knoppix 3.4 kernel 2.4
it worked fine on a previous knoppix install but i have messed up with permission and i had to reinstall
---------------------------------------------------------------------
i have changed the user www-data privileges to users then to root, but nothing
i have changed the apache user to my current user but nothing
i have create a symlink from .xauthority user to www but nothing
---------------------------------------------------------------------
have you any ideas ?