ssh x forwarding
Tue Jan 28 07:47:00 GMT 2003
This probably should have been on the xfree list.
>From: Patrick Nelson [mailto:email@example.com]
>In ssh you get x forwarding. But, I can't seem to get it working. A
> ssh -l <user> <system> <x app>
>always responds with something like:
> Gtk-WARNING **: cannot open display:
>Is there some configuration that needs to take place in cygwin first? Yes
>can log in by dropping the <x app> part and yes the <x app> is available.
>Tried running the above from a terminal that displayed after doing a
>"startx" too... same result. So I have to figure I just don't have
>something setup correctly.
At a minimum, you need to have the DISPLAY variable set before you
execute the ssh, and you need to use the X forwarding (-X) option
ssh -X -l <user> <system> <x app>
More information about the Cygwin-xfree