How to Install & Setup VNC
This doc is for the setup of Red Hat Linux 5.
- To see if it is installed, type:
# rpm -q vnc vnc-server
- It is not installed then you can type:
# yum install vnc vnc-server
- Edit the /etc/sysconfig/vncservers file by adding or changing the line to appears the follows:
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 16"
- Next a vnc password must be set:
# vncpasswd
Password:
Verify:
- In order to start the vncserver service type:
# service vncserver start
- In order for vnc server service to start automatically, type:
# chkconfig vncserver on
*Then type
# chkconfig –list vncserver
*To make the 2 to set to on
- Now VNC can be tested forma windows pc