Jump to content
anyweb

how to vnc to another pc via SSH

Recommended Posts

to VNC to another computer using ssh (secure) you can do as follows:-

 

why would you want to do this ? because the vnc protocol is not secure in itself and can be sniffed see this quote from the vnc FAQ

 

Q55 How secure is VNC?

 

 

Share this post


Link to post
Share on other sites

why the hell havnt i already been using this from work? lol

 

just been playing around with it and realize how easy/smart it is.

 

cheers mate

Share this post


Link to post
Share on other sites
why the hell havnt i already been using this from work? lol

 

just been playing around with it and realize how easy/smart it is.

 

cheers mate

 

I LOVE VNC!!!

Share this post


Link to post
Share on other sites

I couldnt get this method working on Debian Etch but this is how I eventually got it working with help from P38.

 

 

HOST MACHINE

 

first uninstall any vnc server you might have running

 

apt-get install x11vnc <-- this is the vnc server

 

 

CLIENT MACHINE

 

ssh -L 5900:localhost:5900 user@remotehost.com <-- this setups up the ssh tunnel from the client machine to the host machine

 

once you are connected to the host machine start up the vncserver with

 

x11vnc

 

 

HOST MACHINE

 

open up a new terminal and type

 

vncviewer localhost::5900

 

you should now have open a VNC session what is being tunneled through ssh!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...