--->>>Re: Can't open display w/Cygwin on Win XP

- jagginess@yahoo.ca
Mon Jan 20 06:31:00 GMT 2003


If you run cygwin, cygwin's Xfree86 relies that these
variables MUST be set in order to work...these
variables are first set under windows XP...if you do a
set in a 'dos-box' this is what i'm talking
about...these variables are then used with cygwin's X
to become functional..

SYSTEMROOT=C:\WINDOWS    <- a must! (this is an eg)
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;

(
and for compiling, windows libraries...
INCLUDE
LIB
)

you may also want someone to help you if you scripts
are not pointing to existing files...it may be this as
well...but make sure these two variables are at least
correctly set or it won't work...it may also possibly
be a firewall installation or compatibility issue...

..hope this helps...

jagg


 --- Robert Gottesman <bobg@voyinfo.com> wrote: >
Starting Cygwin/Xfree86 (4.2) with starxwin.bat or
> startxwin.sh
> or startx ends up with the same message them ..
> Can't open display.
> 
> Message from startxwin.sh
> 
> >sh /usr/X11R6/bin/startxwin.sh
> Agent pid 2212
> xsetroot:  unable to open display '127.0.0.1:0.0'
> >Sun Jan 19 09:42 AM [~]
> >twm:  unable to open display "127.0.0.1:0.0"
> xterm Xt error: Can't open display: 127.0.0.1:0.0
> 
> I'm running Win XP w/cygwin 1.3.18-1
> 
> The FAQ refers to a potential firewall problem ..
> which (i believe) is not the case ..
> as I run many many other TCP/IP apps on this PC with
> no problem.
> 
> I am at a lost where to start .. as I believe this
> may have to do
> with XP (not seeing any other probable solutions in
> the archives).
> 
> attached is my cygcheck file
> 
> -Bob Gottesman
> 

> ATTACHMENT part 2 application/octet-stream
name=cygcheck.out
 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca



More information about the Cygwin-xfree mailing list