Open an X application going through many hoops (SSH, vpn etc)
Posted
by ??O?????
on Super User
See other posts from Super User
or by ??O?????
Published on 2010-05-07T14:48:06Z
Indexed on
2010/05/07
15:00 UTC
Read the original article
Hit count: 243
The players:
- my home computer, running Linux with an X server running. (Call it HOME.)
- a remote site, to which I can connect over the internet using a VPN. (SITE)
- a Linux computer at the remote site, to which I can connect with
ssh -X
and nicely have X clients displaying on my local server. (MIDDLE) - a very old Irix machine (an Onyx) at the remote site, which has no SSH server (therefore I can't
ssh -X
to it), only anssh
client. (ONYX)
Purpose
I need to run an X11 application on the ONYX machine, and see the GUI on HOME. I think I stumble upon xauth
issues.
So far
The current situation is:
- ? HOME connects to SITE
- ? A vncserver starts on MIDDLE:7
- ? vncviewer on HOME connects to vncserver on MIDDLE
- ? ONYX starts a forwarding ssh session to MIDDLE:
ssh -TfN -L 6007:127.0.0.1:6007 MIDDLE
- ?
DISPLAY=localhost:7 xclient
on ONYX fails with
Xlib: connection to "127.0.0.1:7.0" refused by server
I do know that the forwarding (6007:127.0.0.1:6007) succeeds.
A previous attempt was:
- ? HOME connects to SITE
- ? HOME connects to MIDDLE:
ssh -X MIDDLE
(xclock displays on HOME, DISPLAY is 127.0.0.1:10) - ? ONYX starts an SSH tunnel to MIDDLE:
ssh -TfN -L 6010:127.0.0.1:6010 MIDDLE
- ?
DISPLAY=127.0.0.1:10 xclient
fails with
X connection to 127.0.0.1:10.0 broken (explicit kill or server shutdown).
while an error pops up in the MIDDLE session:
X11 connection rejected because of wrong authentication.
Despair
How can I achieve my purpose?
© Super User or respective owner