Buddha

Buddha
Seek

Monday, June 2, 2008

How to export X display using Cygwin

Hi.
For most of those who would want to connect from a Windows machine on to a Linux/Solaris/Unix server and have the display imported, here is the method.

1. Download and install cygwin on windows.
2. After the installation is complete, run a cygwin bash shell.
3. type the following commands there

x -multiwindow&
export DISPLAY=[IP of ur machine]:0.0 [for me it was export DISPLAY=10.114.55.119:0.0]
xhost +


4. Telnet to the remote machine and set the DISPLAY variable with your machine's IP
export DISPLAY=[IP of local machine]:0.0

5. start any application in the background.
firefox&

No comments: