[olug] X tunneling
Christopher Cashell
topher at zyp.org
Thu Nov 1 16:50:21 UTC 2001
On Fri, Nov 02, 2001 at 12:34:26AM +0800, Adam Lassek wrote:
> Has anybody here successfully tunelled X over the internet? I would like
> to know if it is possible to tunnel an X application through one or more
> computers, preferrably over ssh. I have done remote X applications
> before, but that was a direct connection between two computers on the
> same network. This time, I have a couple hops inbetween and I'm wondering
> if it would even be possible.
Yep, I do this regularly.
Basically, X was designed specifically to be network transparent,
whether "network" is a LAN or the Internet. X doesn't care which it
is, it'll work just as easily (though, depending on connection speed,
the performance may not be quite as responsive over the net as on a
LAN).
Just do things exactly as you would if you were running an X app
remotely from another computer in the same room. SSH into the remote
computer, set your DISPLAY environmental variable[1], and you should be
ready to go. Just start up the program (you may want to background it
(&) in order to continue using your shell while the program runs) and
use it. Some hosts disable X forwarding in general in the global
config file for ssh. If that's the case, you'll prolly have to pass it
the '-X' switch to enable it when you log into the remote host.
[1] If you are running from within X when you make your connection, the
DISPLAY variable will usually be automatically set for you.
--
Christopher
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list