Wednesday, April 27, 2011

Install Cygwin Xserver

Xserver Hummybird Exceed is funny, after launch it, I can't open multiple x-windows -- they overlap (the first window is right under 2nd one, thus can't interactive it) , e.g running dbua to upgrade multiple databases in parallel to save downtime.  Hence, I think of using Cygwin/X to avoid install x11, which is easy without any license issue.

1. Open Cygwin setup application, install X11 package with default choice.
2. Type "starxwin" to launch X server
3. In the terminal , type "xhost + " to allow all connections from any
computers. (This step is important)
4. In putty session, export DISPALY=< x-server ip:0 >
5. For testing purpose, test launch "xclock"