Code: Select all
yum install vnc-server
Log into each UserID that you will to access via VNC and run vncpasswd. This creates the initial vnc files and sets the VNC login password for the UserID. Note that VNC only uses the FIRST 8 Characters of the password. Longer passwords are truncated to 8 characters!
Edit /etc/sysconfig/vncservers, uncomment the VNCSERVERS line and list the UserIDs that will be accessible via VNC:
Code: Select all
VNCSERVERS="2:root 3:me 4:spouse"
[Optional, uncomment the VNCSERVERARGS line and set the display to a little smaller than your client's (e.g. 1550x1100) so that you do not have scroll bars on the client window.]
Now start then stop vncserver:
Code: Select all
service vncserver start
service vncserver stop
Code: Select all
exec gnome-session &
Code: Select all
service vncserver start
Code: Select all
chkconfig --add vncserver
Code: Select all
id:3:initdefault: