[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:window_managers:vnc [2012/10/23 12:49 (UTC)] – Fixed ssh "VNC Server:" error and cleaned a little. arfon | howtos:window_managers:vnc [2021/10/12 14:46 (UTC)] – [Setup VNC Server (on Slackware)] add fltk dependancy tim | ||
---|---|---|---|
Line 6: | Line 6: | ||
====== Setup VNC Server (on Slackware)====== | ====== Setup VNC Server (on Slackware)====== | ||
- | USING TightVNC: | + | USING TigerVNC: |
- | On your remote machine, install | + | On your remote machine, install |
- | | + | |
+ | | ||
Start the VNC server: | Start the VNC server: | ||
Line 17: | Line 18: | ||
**NOTE:** VNC listens to port 5900 or 5901 by default so make sure you can accept connections from that port. | **NOTE:** VNC listens to port 5900 or 5901 by default so make sure you can accept connections from that port. | ||
- | **NOTE:** If you are using TightVNC, the server can also listen on port 5800 for web-browser VNC connections. | + | **NOTE:** If you are using TigerVNC, the server can also listen on port 5800 for web-browser VNC connections. |
====== Setup VNC Viewer (on Slackware)====== | ====== Setup VNC Viewer (on Slackware)====== | ||
- | USING TightVNC: | + | USING TigerVNC: |
- | On your local machine, install | + | On your local machine, install |
- | | + | |
Start the VNC viewer: | Start the VNC viewer: | ||
Line 37: | Line 38: | ||
====== 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 |
< | < | ||
Line 44: | Line 45: | ||
-f : Make ssh to go to background before command execution. | -f : Make ssh to go to background before command execution. | ||
-l bob : ' | -l bob : ' | ||
- | 192.168.1.34 : is the remote machine. | + | 192.168.1.34 : is the remote machine |
</ | </ | ||
Connect with VNC: | Connect with VNC: | ||
| | ||
- | Enter " | + | |
Line 69: | Line 70: | ||
Connect with VNC: | Connect with VNC: | ||
| | ||
- | Enter " | + | |
+ | |||
+ | |||
+ | ====== Reverse VNC Connection ====== | ||
+ | (Connecting to a listening VNC viewer (Useful for family IT support)) \\ | ||
+ | |||
+ | Start The VNC Viewer (on Slackware) In Listen Mode- \\ | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | ** 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 " | ||
+ | Put in the IP address of the viewer machine: 192.168.1.34 | ||
+ | | ||
+ | (through a forwarded port), make sure to connect to the ROUTER' | ||
+ | internet address) and NOT your local address. This can be found by going to a | ||
+ | " | ||
+ | |||
====== Sources ====== | ====== Sources ====== |