How To install VNC server in Centos 5/6

INSTALL VNC server
# rpm -q vnc vnc-server
# vi /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own).  You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted!  For a secure way of using VNC, see
# URL:http://www.uk.research.att.com/vnc/sshvnc.html

# VNCSERVERS="1:myusername"
Sample : VNCSERVERS="1:user01"

# vncpasswd
# vi 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/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &


# /sbin/service vncserver restart
# chkconfig vncserver on

REMOTE   ip:port
sample: 27.254.46.1xx:590
http://fedoranews.org/tchung/vnc/04.shtml

EDIT REMOTE PORT
# vi /usr/bin/vncserver

Find line that read as follows

Code:
$vncPort = 5900 + $displayNumber;
save
# /sbin/service vncserver restart

Open Source Control Panel for Linux & Windows

Linux Control Panel Open Source
ISP Config
Official Page: http://www.ispconfig.org
Demo: http://www.ispconfig.org/ispconfig-3/online-demo/

Open Panel
Official Page: http://www.openpanel.com
Demo: http://demo.openpanel.com/

VHCS
Official Page: http://www.vhcs.net
Demo: http://www.vhcs.net

Webmin
Official Page: http://www.webmin.com
Demo: http://www.webmin.com/demo.html

ZPanel
Official Page: http://zpanelcp.com
Demo: http://zpanelcp.com

ispCP
Official Page: http://isp-control.net
Demo: http://isp-control.net/demo

EHCP
Official Page: http://ehcp.net
Demo: http://ehcp.net/?q=node/354

Kloxo
Official Page: http://lxcenter.org
Demo: http://demo.kloxo.com:7778/

SysCP
Official Page: https://github.com/flol/SysCP
Demo: https://github.com/flol/SysCP

GNUPanel
Official Page: http://gnupanel.org
Demo: http://gnupanel.org/demo/

Baifox
Official Page: http://www.baifox.org
Demo: http://www.baifox.org/?id=screenshots

Web-CP
Official Page: http://www.web-cp.net
Demo: http://www.web-cp.net/demo.php

DTC
Official Page: http://www.gplhost.com/software-dtc.html
Demo: http://www.gplhost.com/software-dtc_2screenshots.html

Kandalaya
Official Page: http://kandalaya.org
Demo: http://kandalaya.org

Windows Control Panel Open Source

DotnetPanel
Official Page: http://www.dotnetpanel.com
Demo: http://www.dotnetpanel.com


WebsitePanel
Official Page: http://www.websitepanel.net
Demo: http://www.websitepanel.net/demo

ZPanel
Official Page: http://www.zpanelcp.com
Demo: http://www.zpanelcp.com