Server:
1. Install rpm
Rpm Name:Vnc-server-4.1.2-14.el5_3.1
> sudo yum install vnc-server> sudo yum install xorg-x11-twm-1.0.1-3.1.x86_64> sudo yum install xterm-215-8.el5_4.1.x86_64> sudo yum install gtk+-1.2.10-56.el5.x86_64> sudo yum install libglade2.x86_64
Change the startup script:
> VI ~ /. VNC/xstartup #! /Bin/sh # uncomment the following two lines for normal desktop: # unset session_manager # exec/etc/X11/xinit/xinitrc [-x/etc/VNC/xstartup] & exec/etc/VNC/xstartup [-r $ home /. xresources] & xrdb $ home /. xresourcesxsetroot-solid greyvncconfig-iconic & # xterm-geometry 80x24 + 10 + 10-ls-title "$ vncdesktop desktop" & # TWM & # startkde & # Start KDE Desktop gnome- session & # Start GNOME Desktop
2. Start up VNC-Server
$vncserverYou will require a password to access your desktops.Password:Verify:New 'vm10062:1 (xiwang)' desktop is vm10062:1Creating default startup script /home/xiwang/.vnc/xstartupStarting applications specified in /home/xiwang/.vnc/xstartupLog file is /home/xiwang/.vnc/vm10062:1.log
3. Kill VNC-Server
vncserver -kill :1
Client:
Official Website: http://www.realvnc.com