Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


tightvnc_and_configs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tightvnc_and_configs [2012/09/15 19:55] juckinstightvnc_and_configs [2012/09/16 20:33] (current) juckins
Line 14: Line 14:
 </code> </code>
 Set up a password when script asks you to do so. \\ 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 \\ chkconfig vncserver on \\
 service vncserver restart \\ service vncserver restart \\
-??+ps -ef |grep vnc (then find active ports where service is running) 
 +add appropriate ports to a firewall rule as accepted \\
  
-More instructions: [[http://forums.fedoraforum.org/showthread.php?p=1262910#post1262910]]+May need to do iptables -L or service iptables stop to test connections. 
 + 
 +Can see what ports are active with this command: 
 + 
 +<code> 
 +# netstat -tpln | grep "5902" 
 +</code> 
 + 
 +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://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. \\ 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:
 +
 +<code>
 +$ x11vnc -display :0 -clip 1366x700+0+0 -rfbauth /path/to/passwd_file
 +$ x11vnc -display :0 -scale 1366x768 -rfbauth /path/to/passwd_file 
 +</code>
 +
 +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]]
  
tightvnc_and_configs.1347753302.txt.gz · Last modified: 2012/09/15 19:55 by juckins