Journaling on estrip is free and easy. get started today

Last Visit n/a |Start Date 2005-08-13 13:54:58 |Comments 3 |Entries 43 |Images 10 |Theme |

Category: vnc

01/19/06 08:18 - ID#21542

tunneling VNC through putty

So I love VNC (WIKIPEDIA - VNC), it allows you to control your computer visually from another computer. If you ever used apple or windows remote desktop product then you have used something like it. It was orginally developed by some people at ATT. THe nice thing about VNC is that it is free and that it allows you to interact with a windows desktop on a linux, a mac one on a PC, a PC one on a mac, etc, etc.

Here you can see my mac desktop on my windows desktop
image

You can download a VNC server and client here or at the original hoem of realVNC

Unfortunately, it is not the most secure thing out there. Yes, ytou can buy expensive versions that are highly encrypted but the easiest thing to do, is to tunnel your VNC connection through an SSH client such as putty.

This for example lets me visually control my linux server from afar. In a home network this would allow you to use one computer from a window on another to say change msuci on the computer downstairs.

So anyways if you are using VNC client on windows to view you other desktop, it is easy and freee to pipe it over putty.

Here is how you would do it I copied the info here to so that in case that link goes down you can still find it here.

If the VNC Server is running on a Linux machine or it is running on a Windows machine that is also running sshd, then setup a tunnel from client machine to server machine with: (The following instructions are for PuTTY , adjust accordingly.)

* After entering the address of the client machine, go to the "Tunnels" section under SSH.
* Enter 5901 in the "Source port" box under the "Add new forwarded port" section.
* Enter "localhost:5901" in the "Destination" box
* Make sure that the "Local" radio button is selected
* Click the "Add" button and the information should appear in the "Forwarded ports:" box.
* One can now initiate the connection by pressing the "Open" button
* Once the connection is established, the VNC client can be started from the Windows menu (use display 1)

print addComment

Permalink: tunneling_VNC_through_putty.html
Words: 391


Search

Chatter

New Site Wide Comments

joe said to joe
Never send a man to do a grandma's job...

sina said to sina
yes thank you!
Well, since 2018 I am living in France, I have finished my second master of science,...

paul said to sina
Nice to hear from you!! Hope everything is going great....

paul said to twisted
Hello from the east coast! It took me so long to see this, it might as well have arrived in a lette...