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]

RE: fatal IO error 104 (Connection reset by peer) on X server


Harold,

At 02:45 PM 4/30/01 -0400, you wrote:
.....
>
><wildguess>
>Did you use Cygwin's tar to extract the Cygwin/XFree86 tarballs?  No?  Then
>reinstall using Cygwin's tar, as described in the User's Guide.  I'm going
>to bet that the message XWin emits right before crashing is 'cannot find
>font...'.
></wildguess>
>
This was an excellent guess. By following your suggestion below about
putting the /B back on the XWin start line in startxwin.bat (BTW, /B is not
present on that line in the distribution), I was able to observe the
following in the launching shell window:
___________________________________________________________________
C:\>startxwin

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 0000000f
winSetEngine () - Using Shadow DirectDraw NonLocking
winCreateBoundingWindowWindowed () - WindowClient width 1018 height 742
winInitVisualsShadowDDNL () - Masks 0000f800 000007e0 0000001f RGB 6 d 16
winInitVisualsShadowDDNL () - Returning
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy

Fatal server error:
could not open default font 'fixed'
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                 
XIO:  fatal IO error 104 (Connection reset by peer) on X server
"192.168.152.99:0.0"
XIO:  fatal IO error 104 (Connection reset by peer) on X server
"192.168.152.99:0.0"
      after 0 requests (0 known processed) with 0 events remaining.
----------------------------------------------------------------------------
----------------------------------------------------------

The cause of this problem was the way I installed cygwin-xfree: after
downloading and bunzip2ing the files (which were not exactly as described
in the User's Guide - there are 19 font files - none of which is the font
file listed in the Guide  - and several other unlisted files, probably for
alternative configurations), I proceeded to do an unzip on each tar file
with WinZip. This apparently did not work and was why Xwin could not find
the font file. I redid this step using tar -xf, and everything did work. 

.....
>For some reason your server is crashing on startup; put the /B back on your
>XWin start line and we might be able to figure out why XWin is crashing on
>startup.  Note that /B will cause XWin's output to be in the launching shell
>window.
>
>Harold
>

Another couple of things I had to do that were suggested by the list
archives were to change the -screen ?resolution? on the XWin start line
from 1024x768x32 to 1024x768x16, and to remove the -engine 4. This avoided
a STATUS_INTEGER_DIVIDE_BY_ZERO from XWin. 

Thanks again for the help.

Regards,
Phillip R. Pfaffman					ppfaffman@bigsandy.com
[Home/Office] +1-626-798-8649   [Fax] +1-626-791-8281 
[PGP fingerprint]   224A A856 B8EA 3073 221C  1550 3B44 9BDD 951B 9028
[PGP Key Site]   ldap://certserver.pgp.com


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