[[http://www.tightvnc.com/|TightVNC Documentation]] \\
[[http://sourceforge.net/apps/mediawiki/tigervnc/index.php?title=Welcome_to_TigerVNC|TigerVNC Documentation]]
\\
Remove presently-installed vnc client/server:
# yum remove vnc
# yum remove vnc-server
Download and install tightvnc client/server (note it has been replaced by tigervnc as of Fedora 11)
# yum install tigervnc
# yum install tigervnc-server
# vncserver
Set up a password when script asks you to do so. \\
run "vncpasswd" as each user who will run the VNC service. \\
edit /etc/sysconfig/vncservers - start with "1" \\
chkconfig vncserver on \\
service vncserver restart \\
ps -ef |grep vnc (then find active ports where service is running)
add appropriate ports to a firewall rule as accepted \\
May need to do iptables -L or service iptables stop to test connections.
Can see what ports are active with this command:
# netstat -tpln | grep "5902"
More instructions: \\
[[http://fedorasolved.org/Members/zdenek/tigervnc-server]]
[[http://forums.fedoraforum.org/showthread.php?p=1262910#post1262910]]
[[http://forums.fedoraforum.org/archive/index.php/t-244496.html]]
[[http://www.talk.web.id/2011/07/minimum-install-vnc-remote-desktop-server-on-centos/]]
Install TightVNC client on local machine to view remote machine. \\
Connect to display :0 (the Root Desktop)\\
[[https://wiki.archlinux.org/index.php/X11vnc]]
[[http://wiki.centos.org/HowTos/VNC-Server#head-4d3002833b106148eb6e5013b0a8cdccaf3a6cec | X11VNC for CentOS6]]
[[http://ubuntuforums.org/showthread.php?t=363236]]
__Using x11vnc__ \\
Install package. \\
Ssh into remote system using a PuTTY window. \\
Start service with x11vnc -display :0 \\
x11vnc -storepasswd (set password one time, accept default location) \\
x11vnc -rfbauth /path/to/password/file \\
Use TightVNC or TigerVNC viewer to connect to remote system.
Notes:\\
Geometry will match host machine; the client machine may be too small.
Sample commands to be made via PuTTY window on remote machine:
$ x11vnc -display :0 -clip 1366x700+0+0 -rfbauth /path/to/passwd_file
$ x11vnc -display :0 -scale 1366x768 -rfbauth /path/to/passwd_file
Then use TightVNC viewer and connect to remote host from the client PC.
__Update 16 Sept 2011__ \\
Best software for displaying the Root Display (:0) is NoMachine and selecting the "Shadow" Desktop...this is also called Desktop Sharing. Several tutorials are available on the NoMachine website at [[http://nomachine.org/ar/view.php?ar_id=AR11B00098]]