[nmglug] Remote Desktop Tunneling

Sam Noble s at mnoble.net
Sun Apr 20 18:21:38 PDT 2008


On Sun, 2008-04-20 at 09:38 -0600, Beau Bechdol wrote:
> Is there an advantage from one to another? Meaning is one faster than
> another ?

X forwarding with ssh is really easy to quickly run an application
(mostly because sshd is likely already configured properly), but VNC is
more responsive over slow connections.

A:
username at host1$ssh -X username at host2

username at host2$xlogo

B:
Turn on and configure VNC (on ubuntu it's likely already running via
'vino' but that only works for existing logged in sessions. If you want
to be able to log in and out etc you'll need to turn it on in your
xorg.conf or equivalent)
username at host1$ ssh -L 5901:localhost:5900 username at host2

Then in another window:
username at host1$ xvnc4viewer localhost:1




More information about the nmglug mailing list