Sunday, 24 February 2008

xming address setup

Xming



Reportedly easier to install than Cygwin-Xserver, although with Cygwin you get so many other useful *nix tools.

dieselnutjob: Xming only works with XP, server 2003 or Vista, Windows 2000 isn't supported.

Note that you can still get an old version of Xming that works with Windows 2000 (6.9.0.18). See the Trouble page.

Xming will work with CoLinux with all of the Xming settings set
to default, except that in the Xming installation folder there is a
file called X0.hosts; the IP address of the CoLinux machine must be
added to this file.

Run the XLaunch windows application (comes with Xming) and follow all defaults options.

Now in CoLinux type for example


 export DISPLAY=192.168.0.1:0.0
xterm &

where 192.168.0.1 is the IP address of Windows and provided that you
have xterm installed. You can view the log of Xming to see the IP
address it is currently using.

You should now see an xterm window appear in Windows.

Adding the line


 export DISPLAY=192.168.0.1:0.0

to /etc/profile makes the setting permanent, at least in Debian.

No comments:

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter