Possible solution? (Re: Cygwin/X hangs on startup)
Wed Mar 21 07:03:00 GMT 2007
I think I've found a possible solution to my problem.
I looked in the startxwin.bat file and noticed the comments around the
CYGWIN_ROOT environment variable.
Now, I run a system with multiple drives, so on a whim, I decided to
explicitly spell out what drive the root of cygwin is on. And now my
last 10 tries running X have worked properly.
So there you have it. On a multi-drive system, it looks like you should
set the CYGWIN_ROOT drive explicitly for best results.
> > I've gone digging through the archives here. I see a few people
> > reporting X startup problems, but none seem to fit the symptoms I have.
> > When I try to start x (in a variety of ways) the X server always seems
> > to 'hang'.
> > I get the X icon in the task bar, if I'm running with a root window it
> > pops up, but then everything X related stops. Right clicking on the X
> > icon doesn't give me the menu, I end up having to kill XWin from Task
> > Manager.
> > Looking over the output from the X server, I don't see anything that
> > sets off any alarms. I'll include the output below for scrutiny.
> > Based on the suggestion in a past message I found, I tried removing
> > /tmp/X11-unix, but it didn't help.
> > $ startx
> > Welcome to the XWin X Server
> > Vendor: The Cygwin/X Project
> > Release: 18.104.22.1681-4
> > Contact: firstname.lastname@example.org
> > XWin was started with the following command line:
> > X :0 -multiwindow -clipboard
> > _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
> > created.
> > 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 32 bits per
> > pixel
> > winAllocateFBShadowGDI - Creating DIB with width: 1680 height: 1050
> > depth: 32
> > winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
> > winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24
> > bpp 32
> > 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 shared memory support in the kernel
> > (--) Setting autorepeat to delay=500, rate=31
> > (--) winConfigKeyboard - Layout: "00000409" (00000409)
> > (--) Using preset keyboard for "English (USA)" (409), type "4"
> > Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options
> > = "(null)"
> > (--) 5 mouse buttons found
> > Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing
> > from list!
> > Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/,
> > removing from list!
> > Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
> > from list!
> > Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
> > removing from list!
> > winPointerWarpCursor - Discarding first warp: 840 525
> > winInitMultiWindowWM - pthread_mutex_lock () returned.
> > winProcEstablishConnection - Hello
> > Jason
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin-xfree