I'm trying to start up vnc4server from my php. So far it's running from a start.sh with this in
vncserver -geometry 1000x800 -depth 24
export HOME=/home/psych
cd /home/psych/mw3/Infected/
screen -d -m bash -c "export DISPLAY=:1 ; wine iw5mp_server.exe +params...";
in my apache2 error.log i have this:
You will require a password to access your desktops.
getpassword error: Inappropriate ioctl for device
It looks as though it's asking me to set a password for it from my php but I'm not sure how to do this, or how to disable getpassword.
Note: the php command i'm using
shell_exec('HOME=home/psych && sh/home/psych/mw3/Infected/start.sh');