# 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"
Install TightVNC client on local machine to view remote machine.
Connect to display :0 (the Root Desktop)
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.
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