X startup hangs

electa electabuzz@katamail.com
Tue Jul 13 16:30:00 GMT 2004

still hangs...
$ startx -- -kb -multiwindow -clipboard

Welcome to the XWin X Server
Vendor: The Cygwin/X Project

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/X :0 -kb -multiwindow -clipboard

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
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 - Multi Window or Rootless => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 734 depth: 16
winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f
winInitVisualsShadowGDI - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000410" (00000410)
(--) Using preset keyboard for "Italian" (410), type "4"
(++) XkbExtension disabled
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing
from li
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from li
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing
winPointerWarpCursor - Discarding first warp: 512 367
winInitMultiWindowWM - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=
winProcEstablishConnection - Hello

An important test:
without -multiwindow, the X window appear.
but she hangs sooner.
in task manager, now cat.exe is running. (it gets 0% of CPU).
if I kill cat.exe via task manager, an Xterm now appear in X window. X is
ready now!

What is doing cat with X?

A reminescence:
In early past cat.exe sometimes gets 100% CPU during X startup.
X don't finish start, and i resolve by killing cat. When i do it, X is

there are 2 differences:
- now cat has 0% CPU
- with -multiwindow, X hangs before cat

More information about the Cygwin-xfree mailing list