On 06 Oct 11:05, Chris G wrote:
I'm currently away from home and I'm trying to get a GUI application running on a machine at home with the display here in N. Wales.
Normally I would connect from the remote location using 'ssh -X' so that the DISPLAY environment variable would be set up to work through the ssh 'pipe' and a GUI app run on the remote machine (at my house) would use the display on the machine where I'm sitting currently (in North Wales).
For some reason (possibly security on intermediate machines, this isn't a single hop ssh connection) the -X parameter in ssh isn't working for me in this case so I'm looking for alternatives.
Can anyone suggest alternative ways of achieving my goal?
How many hops? Have you got a key on the intermediaries (i.e. a password-less login)?
If so, then add in your ~/.ssh/config:
Host home-via-places ProxyCommand ssh user@intermediary-server.co.uk nc -q1 home.ip.add.ress 22 ForwardX11 yes
And bob may well be your mothers brother when you do: ssh home-via-places
HTH, HAND,