[nmglug] Remote Desktop Tunneling

Beau Bechdol bbechdol at gmail.com
Sat Apr 26 19:03:42 PDT 2008


Well everything seems to be working fine internally. My next thing is to try
it from another location, Thanks again for all you guys help. I do so
appreciate it !

On Sat, Apr 26, 2008 at 8:26 AM, Andrew Farnsworth <farnsaw at stonedoor.com>
wrote:

> Oh, and just to be clear, the portion of the line below which is
> "username at host1$" is the prompt at your local machine, it is not
> something you type.  The command you want is the "ssh -L
> 5901:localhost:5900 username at host2"  which will connect you to the
> machine host2 over ssh.
>
> Andrew Farnsworth
>
> Beau Bechdol wrote:
> > So I would run "username at host1$ ssh -L 5901:localhost:5900
> > username at host2" on the remote machine or my laptop ?
> >
> > On Tue, Apr 22, 2008 at 1:05 AM, Andrew Farnsworth
> > <farnsaw at stonedoor.com <mailto:farnsaw at stonedoor.com>> wrote:
> >
> >     Beau,
> >      Inline below are the instructions for doing X-forwarding via SSH,
> >     just
> >     run the command as shown there.  For example I would run:
> >
> >     andy-farnsworths-macbook:~ billybob$ ssh -X
> >     billybob at trash.stonedoor.com <mailto:billybob at trash.stonedoor.com>
> >     Password:
> >
> >     And get this as the results:
> >
> >     Linux trash 2.4.27-3-686 #1 Tue May 30 00:56:40 UTC 2006 i686
> >
> >     The programs included with the Debian GNU/Linux system are free
> >     software;
> >     the exact distribution terms for each program are described in the
> >     individual files in /usr/share/doc/*/copyright.
> >
> >     Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> >     permitted by applicable law.
> >     You have new mail.
> >     Last login: Wed Apr 16 12:22:19 2008 from
> >     some.random.host.comcast.net <http://some.random.host.comcast.net>
> >     farnsaw at flash:~$
> >
> >     Then just run your X Applications (such as xeyes or xearth) and it
> >     should appear on your local machine.
> >
> >     You do the same thing for VNC but you need to get the VNC server
> >     up and
> >     running, then execute the ssh command as shown below and you will
> find
> >     that if you use the VNC Client to connect to localhost, it will go
> >     across your tunnel to the linux box and you will have the screen
> >     available locally.
> >
> >     Andy Farnsworth
> >
> >     Beau Bechdol wrote:
> >     > So any guidance on how to set this up ?
> >     >
> >     > On Sun, Apr 20, 2008 at 7:21 PM, Sam Noble <s at mnoble.net
> >     <mailto:s at mnoble.net>
> >     > <mailto:s at mnoble.net <mailto:s at mnoble.net>>> wrote:
> >     >
> >     >
> >     >     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
> >     >
> >     >     _______________________________________________
> >     >     nmglug mailing list
> >     >     nmglug at nmglug.org <mailto:nmglug at nmglug.org>
> >     <mailto:nmglug at nmglug.org <mailto:nmglug at nmglug.org>>
> >     >     https://nmglug.org/mailman/listinfo/nmglug
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > nmglug mailing list
> >     > nmglug at nmglug.org <mailto:nmglug at nmglug.org>
> >     > https://nmglug.org/mailman/listinfo/nmglug
> >     >
> >
> >     _______________________________________________
> >     nmglug mailing list
> >     nmglug at nmglug.org <mailto:nmglug at nmglug.org>
> >     https://nmglug.org/mailman/listinfo/nmglug
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > nmglug mailing list
> > nmglug at nmglug.org
> > https://nmglug.org/mailman/listinfo/nmglug
> >
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20080426/db56b065/attachment.htm>


More information about the nmglug mailing list