Monday, September 7, 2009

X Windows

To enable X windows in my Windows XP connecting to a unix server, I did the following:-

1. Download Cygwin. It's a small setup.exe file. From there you configure the component that you required. In this case, the X windows and ssh.

2. After the installation has completed, click on Cygwin.exe

3. type > startx

4. In the terminal windows, ksh> xhost +

5. In your windows XP services, stop the firewall, else windows won't pop up.
Windows Firewall/Internet Connection Sharing (ICS)

6. export DISPLAY=IPaddress:0.0

IPaddress: is your local ip

eg: export DISPLAY=10.1.1.1:0.0

7. ssh to the remote box and launch the GUI.

Presto!

No comments: