Cygwin/X is a free X Windows server for the Windows platform. It runs quite well on its own, but can be used as a good display server for coLinux. I've been using it for a long time as a display server for my coLinux environments.
One thing has to be kept in mind while setting up Cygwin/X... even though the X display is called an X server, it is actually a client program. Other programs send their data to it for display, and thats quite possibly why its called a server.
Download from : http://x.cygwin.com
Anyways, to set this up, first, install Cygwin, and make sure you select the following packages in your Setup program:
This allows for the Cygwin system to run an X server. The next step is to have the coLinux server to run the XDM server. That way, the Cygwin/X server can communicate with the XDM server. The XDM server has to be set up to not run a local X server, since coLinux doesn't have local graphics support. This is done as follows:
1. Edit the /etc/X11/xdm/xdm-config file and change the line:
to have a ! at the beginning of it:
![[DisplayManager]].[[requestPort]]: 01. Edit the Xservers line and comment out all lines that are active in the file. Usually, a line listed as such is probably active:
:0 local /usr/X11R6/bin/X vt7 -dpi 100 -nolisten tcp1. Once the xdm configuration files have been changed, it can be started by using the /etc/init.d script as follows:
This should allow XDM to be running on the coLinux system. Then, you can start up Cygwin/X on the local system. The easiest way to do this is to edit the file `%CYGWINROOT%\usr\X11R6\bin\startxdmcp.bat` and change the "SET REMOTE_HOST" line to point to the IP address of your coLinux system. `%CYGWINROOT%` is the root path to your Cygwin installation, usually `C:\cygwin`.
You should then be able to run the batch file, and get a large grey screen, and a login prompt should come up shortly after that.
Ian Bonnycastle -- email@example.com
MassTranslated on Sun Apr 23 17:35:58 UTC 2006