Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to vnc to another pc via SSH
#7

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!

Reply


Messages In This Thread
how to vnc to another pc via SSH - by anyweb - 2004-04-04, 10:11 AM
how to vnc to another pc via SSH - by enigma - 2004-07-15, 10:16 PM
how to vnc to another pc via SSH - by FluKex - 2006-02-26, 02:40 AM
how to vnc to another pc via SSH - by Navrax - 2006-03-07, 01:49 AM
how to vnc to another pc via SSH - by anyweb - 2006-03-18, 08:37 AM
how to vnc to another pc via SSH - by DustyBin - 2007-03-16, 12:08 PM

Forum Jump:


Users browsing this thread: