Results 1 to 4 of 4
Thread: Access by VNC on reboot
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2006
Access by VNC on reboot
What configuration must I do to enable a VNCviewer connection upon remote reboot - the server located at a remote location and accessed over tcp?
You need to configure the VNC server service. You do this by editing /etc/sysconfig/vncservers and defining which servers you want running (you can have more than one - they exist as a desktop independent to the main login screen).
Once you've done that, you need to make sure that each user who has a vncserver setup for them runs vncpasswd, and sets up a .vnc directory inside their home directory. In the new directory, create a file called xstartup, which contains a line which starts off their chosen desktop system (e.g. 'startkde' or 'gnome-session'). Make that file executable.
Add the VNC server service to your bootup runlevel with 'system-config-services', or use 'chkconfig'. You can start the service manually with 'service vncserver start'. If any users haven't set a password then their desktop will fail to start, and if they've not got a xstartup file to start their desktop, they'll be presented with a blank X session.
- Join Date
- Jul 2003
I am facing the same problem.
I am using RHLE AS 3.
I dont find the directory vncservers under /etc/sysconfig
Also, how can start the VNC at the boot time ? which runlevel i need to call what script ?
You need to install the 'vncserver' package, get it from your package manager (up2date?). Then follow the instructions in my previous post.