This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

unable to open display '127.0.0.1:0.0' xfree86 4.10


Hi
 
I am newbie in using X.
 
Unable to open display '127.0.0.1:0.0'  is what I get when running
startxwin.bat with the binary-instllation cygwin xfree6.4 4.10. 
 
I have the newest cygwin1.dll (1.353) for xfree6 4.10. 
 
 
at cygwin shellprompt:
 
Administrator@OPERATOR /cygdrive/c/cygwin/usr/X11r6/bin
 
$ sh startwin.sh
_X11TransSocketINETGetPeerAddr: getpeername() failed: 128
_X11TransSocketINETConnect: ...SocketINITGetPeerAddr() failed:
xsetroot: unable to open display '127.0.0.1:0.0'
 
_X11TransSocketINETGetPeerAddr: getpeername() failed: 128
_X11TransSocketINETConnect: ...SocketINITGetPeerAddr() failed:
twm: unable to open display '127.0.0.1:0.0'
 
_X11TransSocketINETGetPeerAddr: getpeername() failed: 128
_X11TransSocketINETConnect: ...SocketINITGetPeerAddr() failed:
xterm Xt error: Can't open display: 127.0.0.1:0.0
 
or with MSDOS/Wondows startxwin.bat 
 
Messages are the same errors
 
Here a version I constructed with the same negative result.
 
rem startxwin_my.bat
@echo off

SET CYGWIN_ROOT=c:\cygwin
SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
set PATH=c:\cygwin\usr\X11r6\bin;c:\cygwin\bin;c:\cygwin\bin\X11;%PATH%;
echo %PATH%
pause
 
SET DISPLAY=127.0.0.1:0.0
echo %XHOST%
echo %DISPLAY%
pause

SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
REM
REM Cleanup after last run.
REM
 
if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0
 
:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix
 
REM Startup the X Server.
REM start /B XWin -screen 0 1024 768
start /B XWin -screen 0 800 600
 
REM Startup an xterm, using bash as the shell.
REM start /B xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
/usr/bin/bash
start /B xterm -sl 1000 -e /usr/bin/bash
 
REM Startup the twm window manager.
start /B twm

:END
REM Set a background color to comply with FCC regulations :)
xsetroot -solid aquamarine4
 
 
What am I doing wrong?
 
 Please help me.
 
Regards
 
 
 

***********************************************************************
Stadtwerke Gießen
Abteilung Informationsverarbeitung
Lahnstraße 31
35398 Gießen 
www.stadtwerke-giessen.de 

Daniel Schack
Fon: (49) 06 41-708 11 29
Fax: (49) 06 41-708 34 80
e-mail: dschack@stadtwerke-giessen.de 
*********************************************************************** 

 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]