Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
howtos:window_managers:vnc [2014/10/17 09:42 (UTC)]
arfon TightVNC is now passé, changed to TIGERVNC
howtos:window_managers:vnc [2016/01/23 23:01 (UTC)]
arfon Added Reverse VNC Connections
Line 37: Line 37:
 ====== Tunnel VNC Through SSH (from Slackware) ====== ====== Tunnel VNC Through SSH (from Slackware) ======
 Open an SSH connection: Open an SSH connection:
-     ssh -L 5901:127.0.0.1:5901 -N -f -l bob 192.168.1.34+     ssh -L 5901:localhost:5901 -N -f -l bob 192.168.1.34
  
 <​code>​Where,​ <​code>​Where,​
Line 44: Line 44:
     -f : Make ssh to go to background before command execution.     -f : Make ssh to go to background before command execution.
     -l bob : '​bob'​ is the username.     -l bob : '​bob'​ is the username.
-    192.168.1.34 : is the remote machine.+    192.168.1.34 : is the remote machine ​(target VNC Server).
     </​code>​     </​code>​
  
 Connect with VNC: Connect with VNC:
      ​vncviewer      ​vncviewer
-     Enter "​127.0.0.1:1" (or "​localhost:1") into the 'VNC server:'​ box+     ​Enter ​"​localhost:​1"​ (or "​127.0.0.1:​1"​) into the 'VNC server:'​ box
  
  
Line 69: Line 69:
 Connect with VNC: Connect with VNC:
      ​vncviewer      ​vncviewer
-     Enter "​127.0.0.1:1" (or "​localhost:1") into the 'VNC server:'​ box+     ​Enter ​"​localhost:​1"​ (or "​127.0.0.1:​1"​) into the 'VNC server:'​ box 
 + 
 + 
 +====== Reverse VNC Connection ====== 
 +(Connecting to a listening VNC viewer (Useful for family IT support)) \\  
 + 
 +Start The VNC Viewer (on Slackware) In Listen Mode- \\  
 +     ​vncviewer -listen 5500 
 +      
 +     ​WHERE:​ 5500 is the port to listen on (5500 is default). 
 +      
 +** IF YOUR INCOMING CONNECTION IS COMING THROUGH A FIREWALL (most home routers)** do not forget to forward the port in the router (5500 is the default port for reverse VNC connections). 
 + 
 + 
 +Start the VNC SERVER on Windows and attach a listening viewer- \\  
 +     Start the VNC Server 
 +     RIGHT CLICK on the VNC server icon in your task bar and select "​ATTACH LISTENING VIEWER"​ 
 +     Put in the IP address of the viewer machine: 192.168.1.34 
 + 
  
 ====== Sources ====== ====== Sources ======

In Other Languages
QR Code
QR Code howtos:window_managers:vnc (generated for current page)