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]

Please help: can't start Cygwin/X 6.7 on win2k -- accept() failed


Hello,

Attempting to run Cygwin/X on Win2K...  can't seem to get it started.
Blank root window, big cursor, nothing else.
The only obvious clue is a bunch of 
	_XSERVTransSocketUNIXAccept: accept() failed
messages.

Please reply directly if you have any ideas.

Thanks much!!!

--Claude

Here's console output:
-----
$ startx -- :0

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-9

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/X :0

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more
information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits
per pixel
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack
of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000409" (00000409)
(EE) Keyboardlayout "US" (00000409) is unknown
Rules = "xorg" Model = "pc101" Layout = "us" Variant = "(null)" Options
= "(null)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 637 485
_XSERVTransSocketUNIXAccept: accept() failed
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
cat: /home/Claude/.Xauthority: No such file or directory
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed

-----

and XWin.log:

-----
XWin was started with the following command line:

/usr/X11R6/bin/X :0

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more
information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits
per pixel
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack
of shared memory sup
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000409" (00000409)
(EE) Keyboardlayout "US" (00000409) is unknown
Rules = "xorg" Model = "pc101" Layout = "us" Variant = "(null)" Options
= "(null)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 637 485
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
cat: /home/Claude/.Xauthority: No such file or directory
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
_XSERVTransSocketUNIXAccept: accept() failed
xterm Xt error: Can't open display: :0
_XSERVTransSocketUNIXAccept: accept() failed

waiting for X server to shut down .........._XSERVTransSocketUNIXAccept:
accept() failed


xinit:  X server slow to shut down, sending KILL signal.

waiting for server to die

xinit:  unexpected signal 2.
-----

and a seemingly relevant snippet from strace:

-----
 118 4747163 [main] twm 1620 start_thread_socket: Added to readfds
 840 4748003 [main] twm 1620 start_thread_socket: exitsock 0x1C8
 194 4748197 [main] twm 1620 start_thread_socket: stuff_start 0x22ECE4
 323 4748520 [main] twm 1620 select_stuff::wait: m 2, ms 4294967295
 136 4748656 [select_socket] twm 1620 thread_socket: stuff_start
0x1002EC9C
04245 4852901 [select_socket] twm 1620 thread_socket: Win32 select
returned 1
 583 4853484 [select_socket] twm 1620 thread_socket: s 0x1002BC48,
testing fd 3 ()
 121 4853605 [select_socket] twm 1620 thread_socket: saw exitsock read
07214 6172307 [main] XWin 1616 socket_cleanup: returning
 119 6172426 [main] XWin 1616 peek_socket: considering handle 0x13C
 114 6172540 [main] XWin 1616 set_bits: me 0x107DA028, testing fd 5 ()
 110 6172650 [main] XWin 1616 set_bits: ready 1
 107 6172757 [main] XWin 1616 select_stuff::poll: returning 1
 108 6172865 [main] XWin 1616 select_stuff::cleanup: calling cleanup
routines
1157 4854762 [main] twm 1620 select_stuff::wait: woke up.  wait_ret 1. 
verifying
 170 4854932 [main] twm 1620 select_stuff::wait: gotone 1
 763 6173628 [main] XWin 1616 select_stuff::~select_stuff: deleting
select records
 685 6174313 [main] XWin 1616 fhandler_socket::signal_secret_event:
signaled secret_event
1003 4855935 [main] twm 1620 select_stuff::wait: returning 0
 127 4856062 [main] twm 1620 select_stuff::cleanup: calling cleanup
routines
 115 4856177 [main] twm 1620 socket_cleanup: si 0x1002BC78 si->thread
0x610F17C8
 116 4856293 [main] twm 1620 socket_cleanup: connection to si->exitsock
0x1C8
81177 7155490 [unknown (0x3FC)] XWin 1616 __set_winsock_errno:
socket_cleanup:1359 - winsock error 10061 -> er
 259 7155749 [unknown (0x3FC)] XWin 1616 socket_cleanup: connect failed
 839 7156588 [unknown (0x3FC)] XWin 1616 socket_cleanup: returning
 162 7156750 [unknown (0x3FC)] XWin 1616 peek_socket: considering handle
0x2F4
 124 7156874 [unknown (0x3FC)] XWin 1616 peek_socket: adding read fd_set
, fd 9
 151 7157025 [unknown (0x3FC)] XWin 1616 peek_socket: WINSOCK_SELECT
returned 0
 124 7157149 [unknown (0x3FC)] XWin 1616 select_stuff::poll: returning 0
 118 7157267 [unknown (0x3FC)] XWin 1616 select_stuff::cleanup: calling
cleanup routines
 116 7157383 [unknown (0x3FC)] XWin 1616 select_stuff::~select_stuff:
deleting select records
 240 7157623 [unknown (0x3FC)] XWin 1616 cygwin_select: 10, 0x1A1EBFC,
0x0, 0x0, 0x0
 225 7157848 [unknown (0x3FC)] XWin 1616 dtable::select_read:  fd 9
 116 7157964 [unknown (0x3FC)] XWin 1616 cygwin_select: to NULL, ms
FFFFFFFF
 116 7158080 [unknown (0x3FC)] XWin 1616 cygwin_select: sel.always_ready
0
 247 7158327 [unknown (0x3FC)] XWin 1616 start_thread_socket: Handle
0x2F4
 118 7158445 [unknown (0x3FC)] XWin 1616 start_thread_socket: Added to
readfds
 544 7158989 [unknown (0x3FC)] XWin 1616 start_thread_socket: exitsock
0x348
 178 7159167 [unknown (0x3FC)] XWin 1616 start_thread_socket:
stuff_start 0x1A1EB60
 327 7159494 [unknown (0x3FC)] XWin 1616 select_stuff::wait: m 2, ms
4294967295
 138 7159632 [select_socket] XWin 1616 thread_socket: stuff_start
0x10670704
089972 5946265 [main] twm 1620 __set_winsock_errno: socket_cleanup:1359
- winsock error 10061 -> errno 111
 205 5946470 [main] twm 1620 socket_cleanup: connect failed
 827 5947297 [main] twm 1620 socket_cleanup: returning

-----


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