(E-Mail Removed) wrote:
> Hi all,
>
> 3 hosts: A, B and C running Fedora Core 3, Debian Sarge og RHEL 3.0,
> respectively. I'm logged onto console on host A and wish to connect to
> host C via host B using ssh. My goal is to launch X11 applications on
> host C and display them on host A.
>
> Note that host B, a firewall exposed to the internet, does *not* has
> X11 installed.
>
> /etc/ssh/sshd_config on all hosts contain:
> X11Forwarding yes
> X11DisplayOffset 10
>
> ### Attempt 1 ###
> A# export DISPLAY=:10.0
> A# ssh -X B
> B# export DISPLAY=:10.0
> B# ssh -X C
> C# xterm
> connect /tmp/.X11-unix/X10: No such file or directory
> X connection to localhost:10.0 broken (explicit kill or server
> shutdown).
>
> ### Attempt 2 ###
> A# unset DISPLAY
> A# ssh -X B
> B# unset DISPLAY
> B# ssh -X C
> C# xterm
> xterm Xt error: Can't open display:
you should not feedle with the DISPLAY variable. ssh will manage it for you.
Verify that on A: you have the DISPLAY variable correctly set.
Basically, if you launch "xterm" from A, it should open on your server
then do:
A# ssh -X B
B# ssh -X C
C# xterm
*should work*
If not, try ssh -Y instead of ssh -X
Olivier