John H. Robinson, IV wrote:
Karl Cunningham wrote:
Hi all --
I'm trying to connect an xterm client on a remote machine to an X server
on my local machine but I want to do it via a gateway machine in the
middle, using ssh on each hop. I'm probably not quite getting my head
around what commands need to be issued on which machine.
The machine names are:
kkk -- my local machine
buckstop -- gateway
l4 -- remote machine
Or,
% ssh -X buckstop ssh -X l4 xterm
Now, if one of those systems had X forwarding shut off entirely, then
you might need something a bit more complicated.
Thanks. That was the key. I forgot to enable X forwarding on l4. I
don't seem to be able to get it to work by using ssh -X between kkk and
buckstop, although it works with an ssh tunnel there. buckstop is
running Xwindows itself, so I think the connection between l4 and kkk
needs to work around display :0 on buckstop.
Now my only complaint is that it's very slow. It takes about a minute
to paint a new screen, say after I close a program, and that's with ssh
-C. The traffic from buckstop to kkk is going through the upload side of
a cable modem at about 65KBps. Does this sound right, or should it be
faster than that? VNC is a lot faster doing the same thing.
Thanks for the help.
Karl
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list