running xterm in cygwin

luke.kendall@cisra.canon.com.au luke.kendall@cisra.canon.com.au
Fri Sep 24 08:00:00 GMT 2004


On 24 Sep, Leow Wee Kheng wrote:
>  I installed Cygwin/X in my WinXP PC. 
>  But, it has problem opening the X display. 
>  I've set the display to my PC's host name 
>  using "export DISPLAY=leowwk-1" but it still 
>  doesn't work. Any idea what's the problem? 

You shouldn't need to set it explicitly, unless you're running it from
a command outside X (e.g. from a DOS prompt), and even then it should
only need to be set to ":0.0".

You have remembered to actually start X first, haven't you?
Experiment by starting X (use "startx" or run xinit directly).
Check out /tmp/XWin.log to see if any errors are reported.

luke



More information about the Cygwin-xfree mailing list