Installing VNC
Previous Topic  Next Topic 

How to Install & Setup VNC



This doc is for the setup of Red Hat Linux 5.


  1. To see if it is installed, type:

#  rpm  -q  vnc  vnc-server


  1. It is not installed then you can  type:

#  yum  install  vnc  vnc-server


  1. 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"


  1. Next a vnc password must be set:

#  vncpasswd

Password:

Verify:


  1. In order to start the vncserver service type:

#  service  vncserver  start


  1. 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


  1. Now VNC can be tested forma  windows pc