7/18/2017

How to use X11 forwarding with cygwin/X

Install xinit when install cygwin
Make sure the ssh server has X11Forwarding yes
Make sure "ForwardX11 yes" in the .ssh/config file from the ssh origination machine (not server). Otherwise, copy/paste won't work correctly.

On the client: export DISPLAY=:0.0
Start  XWin Server under Cynwin-X folder in the start menu

Then run ssh with: ssh -Y

In the ssh console, you can start a GUI application, such as xterm, eclipse etc.

No comments: