In this article i will show you how to setup Cygwin as a Display Server which can be used for Installing Oracle Softwares (i.e to run runInstaller).
Cygwin is a free software available at www.cygwin.com. It provides an UNIX kind of environment on Windows where you can execute your shell scripts etc... It can also be used as Display Server when installed with X11 Packages. Below i will explain step by step on installing cygwin and configuring it as a display server

Installation Instructions
- Download Cygwin Setup utility from http://www.cygwin.com/
- Install Cygwin (during install in Select Packages screen make sure you select Utils and X11 Packages, ensure all the libraries under these two packages are selected, you need to manually select each package)
- Verify the Install (installation usually takes around 30 mins when you do internet install) by clicking on the cygwin icon on your desktop.
Configuring it as Display Server
- Start cygwin on your desktop/latop
- Type "startx" command without quotes on the cygwin window
- Once you see an xterm window popup type "xhost +" without quotes (note the space between plus sign and xhost). You will see a message as "access control disabled, clients can connect from any host"
- Type "ipconfig" and get the IP Address of your laptop/desktop
- Login to your unix server using putty or any other utility, export DISPLAY variable to your "<ipaddress>:0.0"
- Verify the display server by running xclock from putty session this will popup an xclock on your laptop.
Troubleshooting
- Many times you cannot ping your laptop/desktop from UNIX server this could be due to Windows Firewall, disable and try it.
- Sometimes TCP/IP Reset on Windows has helped in UNIX server able to ping your laptop/desktop (Note: execute this step with caution it might cause your LAN or Wireless Adapters not to work sometimes)
References
- Cygwin on Wikipedia
- On Solaris VNC Package is available on SUN OS Companion CD from which you can install SunVNC Package and use VNC Viewer for your Display server requirements.
Comments (3)
I used to use cygwin as a X server.
There is a much faster (in terms of installation) and simpler way to use X on windows:
http://sourceforge.net/projects/xming
After that, simply use putty with X-tunneling on, which relieves you of the cumbersome setting of the DISPLAY variable.
Posted by Frits Hoogland | September 12, 2007 3:27 AM
Posted on September 12, 2007 03:27
Thanks Frits, Let me try xming too.
Posted by Murali | September 12, 2007 7:41 AM
Posted on September 12, 2007 07:41
I would suggest looking at XMing. It is very light weight. You will need to install the extra fonts to support OUI. Here are some quick and dirty steps I give to people.
Once it is installed, you will need to create an "xlaunch" configuration file.
1) Run <file://C:\Program Files\Xming\XLaunch.exe>
2) Take the defaults, except make sure the "No Access Control" button is checked.
3) On the final page, save the configuration. This saved file is what you would run to launch Xming.
Once Xming is running on your PC, then you can export the DISPLAY as you normally would and test with xclock.
Remember the DISPLAY must be set to your PC ip address with the :0.0 at the end.
For example,
hlthfx2> export DISPLAY=10.162.3.245:0.0
hlthfx2> xclock
Posted by Robert Hayden | December 5, 2007 5:39 PM
Posted on December 5, 2007 17:39