[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

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 revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:window_managers:vnc [2014/10/17 09:42 (UTC)] – TightVNC is now passé, changed to TIGERVNC arfonhowtos:window_managers:vnc [2021/10/12 14:47 (UTC)] – [Setup VNC Viewer (on Slackware)] add fltk dependency to client tim
Line 7: Line 7:
 ====== Setup VNC Server (on Slackware)====== ====== Setup VNC Server (on Slackware)======
 USING TigerVNC: USING TigerVNC:
-On your remote machine, install TigerVNC via slackpkg+On your remote machine, install fltk, then install TigerVNC via slackpkg 
 +     slackpkg install fltk
      slackpkg install tigervnc      slackpkg install tigervnc
  
Line 23: Line 24:
  
 USING TigerVNC: USING TigerVNC:
-On your local machine, install TigerVNC via slackpkg+On your local machine, install fltk and TigerVNC via slackpkg 
 +     slackpkg install fltk
      slackpkg install tigervnc      slackpkg install tigervnc
  
Line 37: Line 39:
 ====== 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 46:
     -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 71:
 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 
 +     **NOTE** - If the incoming connection is coming into your home network from the internet 
 +                (through a forwarded port), make sure to connect to the ROUTER'S address (the 
 +                internet address) and NOT your local address. This can be found by going to a 
 +                "whatsmyip" website with a broswer. 
 + 
  
 ====== Sources ====== ====== Sources ======
 howtos:window_managers:vnc ()