Reference : http://wiki.centos.org/HowTos/VNC-Server

Install VNC
—————
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install vnc-server.i386

Create your VNC users.
useradd test
passwd test

Set User’s VNC password
Run vncpasswd

Edit Server Configuration
VNCSERVERS=”2:test”
VNCSERVERARGS[2]=”-geometry 800×600″

Restart VNC Server
/etc/init.d/vncserver stop
/etc/init.d/vncserver start

Create xstartup scripts
Login user “test” and edit xstartup script.
vi .vnc/xstartup

xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” -e ./menu &
amule &
fluxbox &

Install Fluxbox
————–
yum install fluxbox.i386
yum install xorg-x11-xinit.i386