Differences between revisions 1 and 2
Revision 1 as of 2009-06-25 21:15:00
Size: 425
Editor: 41-62
Comment:
Revision 2 as of 2009-08-04 10:37:06
Size: 637
Editor: mimosa
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:

= VNC through SSH tunnel =
 * Start VNC Server on remote host

{{{
vncserver :<display#> -localhost
}}}
 * Start viewer on client

{{{
vncviewer -via <remotehost>.ee.ethz.ch localhost:<display#>
}}}

How do I use VNC?

Start a vnc-server on the machine you want to control, with vncserver :1 (:1 means display 1). You will be asked to define a password for accessing your server and another one for just observing without interacting. After that, your server is up and running and you can connect to it with any available VNC-clients (e.g. TightVNC) by entering the hostname you want to connect to, like hostname:1.

VNC through SSH tunnel

  • Start VNC Server on remote host

vncserver :<display#> -localhost
  • Start viewer on client

vncviewer -via <remotehost>.ee.ethz.ch localhost:<display#>