X windows with Cygwin

By John C. Zastrow

PC XStation Configuration
Download the CygWin setup.exe from http://www.cygwin.com.

Install, making sure to select all the XFree86 optional packages.

If you need root access add the following entry into the /etc/securettys file on each server:

<client-name>:0
From the command promot on the PC do the following:

set PATH=PATH;c:\cygwin\bin;c:\cygwin\usr\X11R6\bin
XWin.exe :0 -query <server-name>
The X environment should start in a new window.

Many Linux distributions do not start XDMCP by default. To allow XDMCP
access from Cygwin edit the “/etc/X11/gdm/gdm.conf” file. Under the
“[xdmcp]” section set “Enable=true”.

If you are starting any X applications during the session you will need
to set the DISPLAY environment variable. Remember, you are acting as an
XStation, not the server itself, so this variable must be set as
follows:

DISPLAY=<client-name>:0.0; export DISPLAY