108 words — 1 minutes read

connecting from a X-client to a cygwin X-server

from the my-outsourced-brain-dept:

  • Install cygwin. Be sure to select the X11 base package
  • open a cygwin shell
  • start X: $ startxwin.sh
  • you will get a xterm window on your Windows box
  • type $ xhost + to disable host security, so that other hosts can connect to your server
  • Enable X port forwarding in PuTTY ( Connections / SSH / Tunnels )
  • connect to the remote machine and start the program that requires X

If all goes well, it will show up on your screen. If you get a “Xlib: connection to “:0.0” refused by server” error message, you have forgot to disable the security by typing xhost +.

Jens-Christian Fischer

Maker. Musician