Jan 1 2014
Tunneling to VNC over SSH
You may want to connect to a headless/monitorless linux pc with a vnc server running that only exposes an SSH port.
I have used the following steps from windows.
- Server:
Run VNCServer
If not running already start your server. You can set the resolution using -geometry tag. This will open a new port/session.vncserver -geometry 1920x1200
- Workstation:
Create the tunnel to VNC portThis maps the local pc port 5905 to localhost:5905 on the remote machine. VNC uses ports 5901 to 5909.ssh -L 5905:localhost:5905 menelaos@menelaos.server.net -p 22
- WorkStation:
Create tunnel if needed of X-Serverssh -L 6005:localhost:6005 menelaos@menelaos.server.net -p 22
Recent Comments