I'm trying to get vncserver to start when I reboot my VPS.
I've done everything that http://it.megocollector.com/?p=1300 tells you to do, and I don't get any error messages.
But when I reboot my VPS, I still have to manually do a "vncserver" in the terminal.
Vncserver is not starting up like it should.
Using CentOS 5.4.
Output of "chkconfig ––list | grep vnc"
0:off 1:off 2:off 3:off 4:off 5:on 6:off
A small difference is, where it tells you to do edit the $HOME file, mine is this since I use gnome
unset SESSION_MANAGER
exec gnome-session &
If I manually do /etc/init.d/vncserver start
in a terminal, it will run. it just doesn't run on startup.
Script in /etc/init.d/vncserver has executable permissions.
sudo chmod 777 /etc/init.d/vnc*and see if that resolves your issue. – Zac B Aug 6 '12 at 13:12sudocomplaining, not thechmodcommand. I guess you're locked out of Sudo on your VPS...which seems weird, but never mind; try running the command withoutsudo. – Zac B Aug 6 '12 at 13:29