startxwin.bat - fatal IO error 104

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



attempting to run startxwin.bat on Win2K machine

startxwin.bat - fatal IO error 104

cygwin1.dll 10/24/2002 8:49 AM 906KB

below is console output (enabled echo),
and, a dump of environment variables

anyone know what to do to get past fatal IO error 104?

thanks,
_____________________________________________________________
    _/_/_/_/_/     _/    _/   Russell Holder
   _/       _/    _/    _/    rholder@foresight-systems.com
  _/_/_/_/_/     _/_/_/_/     Foresight Systems, Inc.
 _/     _/      _/    _/      Austin Texas
_/       _/ _/ _/    _/ _/    512.918.0502
_______________________________________________________


C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>startxwinEchoOn.bat

C:\cygwin\usr\X11R6\bin>SET DISPLAY=127.0.0.1:0.0

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM The path in the CYGWIN_ROOT environment variable
ass
ignment assume

C:\cygwin\usr\X11R6\bin>REM that Cygwin is installed in a directory called
'cygw
in' in the root

C:\cygwin\usr\X11R6\bin>REM directory of the current drive.  You will only
need
to modify

C:\cygwin\usr\X11R6\bin>REM CYGWIN_ROOT if you have installed Cygwin in
another
directory.  For

C:\cygwin\usr\X11R6\bin>REM example, if you installed Cygwin in
\foo\bar\baz\cyg
win, you will need

C:\cygwin\usr\X11R6\bin>REM to change \cygwin to \foo\bar\baz\cygwin.

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM This batch file will almost always be run from
the s
ame drive (and

C:\cygwin\usr\X11R6\bin>REM directory) as the drive that contains
Cygwin/XFree86
, therefore you will

C:\cygwin\usr\X11R6\bin>REM not need to add a drive letter to CYGWIN_ROOT.
For
example, you do

C:\cygwin\usr\X11R6\bin>REM not need to change \cygwin to c:\cygwin if you
are r
unning this

C:\cygwin\usr\X11R6\bin>REM batch file from the C drive.

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>SET CYGWIN_ROOT=\cygwin

C:\cygwin\usr\X11R6\bin>SET
PATH=.;\cygwin\bin;\cygwin\usr\X11R6\bin;.;\cygwin\b
in;\cygwin\usr\X11R6\bin;.;\cygwin\bin;\cygwin\usr\X11R6\bin;C:\Progra~1\Exceed.

nt;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
Files\Accessorie
s\Telcom\SecureCRT 3.0

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM Cleanup after last run.

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>if not exist \cygwin\tmp\.X11-unix\X0 goto
CLEANUP-FINIS
H

C:\cygwin\usr\X11R6\bin>if exist \cygwin\tmp\.X11-unix rmdir
\cygwin\tmp\.X11-un
ix

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM Startup the X Server, the twm window manager,
and an
 xterm.

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM Notice that the window manager and the xterm
will wa
it for

C:\cygwin\usr\X11R6\bin>REM the server to finish starting before trying to
conne
ct; the

C:\cygwin\usr\X11R6\bin>REM error "Cannot Open Display: 127.0.0.1:0.0" is
not du
e to the

C:\cygwin\usr\X11R6\bin>REM clients attempting to connect before the server
has
started, rather

C:\cygwin\usr\X11R6\bin>REM that error is due to a bug in some versions of
cygwi
n1.dll.  Upgrade

C:\cygwin\usr\X11R6\bin>REM to the latest cygwin1.dll if you get the "Cannot
Ope
n Display" error.

C:\cygwin\usr\X11R6\bin>REM See the Cygwin/XFree86 FAQ for more information:

C:\cygwin\usr\X11R6\bin>REM http://xfree86.cygwin.com/docs/faq/

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM The error "Fatal server error: could not open
defaul
t font 'fixed'" is

C:\cygwin\usr\X11R6\bin>REM caused by using a DOS mode mount for the mount
that
the Cygwin/XFree86

C:\cygwin\usr\X11R6\bin>REM fonts are accessed through.  See the
Cygwin/XFree86
FAQ for more

C:\cygwin\usr\X11R6\bin>REM information:

C:\cygwin\usr\X11R6\bin>REM
http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.
html#q-error-font-eof

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>REM Use the /B switch only when we can positively
confir
m that the OS

C:\cygwin\usr\X11R6\bin>REM is Windows NT/2000.  Do not use the switch in
any ot
her case.  This

C:\cygwin\usr\X11R6\bin>REM should work fine, as it assumes we cannot use
/B, ex
cept when a certain

C:\cygwin\usr\X11R6\bin>REM criteria is met.  A previous verion of this
batch fi
le assumed that

C:\cygwin\usr\X11R6\bin>REM we could use /B, except when some criteria was
met;
needless to say,

C:\cygwin\usr\X11R6\bin>REM that didn't work.

C:\cygwin\usr\X11R6\bin>REM

C:\cygwin\usr\X11R6\bin>if "Windows_NT" == "Windows_NT" goto USE-B-SWITCH

C:\cygwin\usr\X11R6\bin>REM Windows NT/2000

C:\cygwin\usr\X11R6\bin>echo startxwin.bat - Starting on Windows NT/2000
startxwin.bat - Starting on Windows NT/2000

C:\cygwin\usr\X11R6\bin>REM Startup the X Server.

C:\cygwin\usr\X11R6\bin>start /B XWin -screen 0 1024 768

C:\cygwin\usr\X11R6\bin>REM Startup an xterm, using bash as the shell.

C:\cygwin\usr\X11R6\bin>start /B xterm -sl 1000 -sb -rightbar -ms red -fg
yellow
 -bg black -e /usr/bin/bash

C:\cygwin\usr\X11R6\bin>REM Startup the twm window manager.

C:\cygwin\usr\X11R6\bin>start /B twm

C:\cygwin\usr\X11R6\bin>REM Set a background color to comply with FCC
regulation
s :)

C:\cygwin\usr\X11R6\bin>xsetroot -solid aquamarine4
XIO:  fatal IO error 104 (Connection reset by peer) on X server
"127.0.0.1:0.0"
      after 0 requests (0 known processed) with 0 events remaining.

C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>env
!C:=C:\cygwin\usr\X11R6\bin
!EXITCODE=00000001
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\rholder\Application Data
CLASSPATH=C:\program files\visualcafese41a\Java\Lib;C:\program
files\visualcafes
e41a\Java\Lib\SYMCLASS.ZIP;C:\program
files\visualcafese41a\Java\Lib\CLASSES.ZIP
;C:\program files\visualcafese41a\Java\Lib\COLLECTIONS.ZIP;C:\program
files\visu
alcafese41a\Java\Li
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMMON_DRIVE=C:\Devel-Files\cygnus
COMPUTERNAME=MARCOM
COMSPEC=C:\WINNT\system32\cmd.exe
CVSROOT=:pserver:rholder@oregano.paul:/foresight/cvsroot
CVS_RSH=C:\Program Files\WinCvs 1.1\wincvs.exe
CYGNUS=C:\Devel-Files\cygnus
CYGWIN_ROOT=\cygwin
DISPLAY=127.0.0.1:0.0
DUMMY=dummyvar
FLEX_MACHIND=C:\Devel-Files\tools\flexlm\v7.2\Machind
FLEX_SDK=C:\Devel-Files\tools\flexlm\v7.2\i86_n3
HCLLOCALDIR=C:\Program Files\Hummingbird\Connectivity\7.00\Exceed
HCLLOCALDIRR=C:\Progra~1\Hummingbird\Connectivity\7.00\Exceed
HOME=/cygdrive/c/home/rholder
HOMEDRIVE=C:
HOMEPATH=\
HOMEPATH_00=Merlin F\home\rholder
INCLUDE=C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program
Fil
es\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft
Visual St
udio\VC98\include
JAVA_FONTS=C:\home\rholder\sandbox\msda\jre\lib\fonts
LIB=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program
Files\Micro
soft Visual Studio\VC98\lib
LM_LICENSE_FILE=C:\license.dat
LOGONSERVER=\\MARCOM
MCTLIB=C:\PROGRA~1\FORESI~1\SAVANS~1\msda\lib\mct;C:\home\rholder\sandbox\msda\l

ib\mct
MSDEVDIR=C:\Program Files\Microsoft Visual Studio\Common\MSDev98
MSVCBIN=C:\progra~1\micros~1\vc98\bin
MSVCDIR=C:\progra~1\micros~1\vc98
NUMBER_OF_PROCESSORS=1
NUTHENA=C:\Foresight428
OS=Windows_NT
OS2LIBPATH=C:\WINNT\system32\os2\dll;
PATH=.:/cygdrive/c/cygwin/bin:/cygdrive/c/cygwin/usr/X11R6/bin:.:/cygdrive/c/cyg

win/bin:/cygdrive/c/cygwin/usr/X11R6/bin:.:/cygdrive/c/cygwin/bin:/cygdrive/c/cy

gwin/usr/X11R6/bin:/cygdrive/c/Progra~1/Exceed.nt:/cygdrive/c/WINNT/system32:/cy

gdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program
Files/Accesso
ries/Telcom/SecureCRT 3.0
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=080a
PROGRAMFILES=C:\Program Files
PROMPT=$P$G
SAVANSYS=C:\home\rholder\sandbox\msda
SAVANSYS_00=C:\Merlin_F\home2\rholder\proj\savansys\oregano\home\rholder\sandbox

\msda
SI_LICENSE_FILE=C:\license.dat
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINNT
TCL=C:\Devel-Files\tools\Tcl
TEMP=/cygdrive/c/Temp
TMP=/cygdrive/c/Temp
TOOLS=C:\Devel-Files\tools
USERDOMAIN=MARCOM
USERNAME=rholder
USERPROFILE=C:\Documents and Settings\rholder
WINDIR=C:\WINNT
XDK_DLL=C:\Devel-Files\tools\xdk.v62
XDK_INC=C:\Devel-Files\tools\xdk.v62\include
XDK_LIB=C:\Devel-Files\tools\xdk.v62\lib
XFREE=C:\cygwin\usr\local
TERM=cygwin

C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>
C:\cygwin\usr\X11R6\bin>

_______________________________________________

Newbie@XFree86.Org
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux