startx hangs on WinXP

Karl Itschen
Mon Jul 5 11:03:00 GMT 2004

> Yes, I've tried using twm, and it appears to work fine.
> I'm would prefer to use the multiwindow mode though, I'm just
> not a big fan of twm.
> I don't have a local firewall running on my machine.
> Any further ideas on how to isolate?
> Thanks,
> Jim
> On Thu, 3 Jun 2004, Jim Duda wrote:
>> I've installed the latest version of cygwin and cygwin/X.  When I attempt
> to
>> use startx in multiwindow mode,
>> the X server hangs.  
> Do you have a personal firewall or VPN software running? Try disabling
> these.
>> If I use either of the following, I get the X server started, but I don't
>> have a useful window manager.
>> startx -- :0
>> XWin -clipboard
> You could try twm. At least it will reveal if other clients and window
> manager
> can connect to the xserver.

I experience the same problemes on my Win2k SP4 as noted in this thread 
dated 3rd june 2004. Back then, no solution was found. Anything new?

startx does _sometimes_ work, but not always. Generally when lauched 
once and exited, it will not relaunch (even wih all processes 
exited/killed). Playing with XWin parameters showed that the problem is 
the -multiwindow param. -rootless works.

A solution would be greatly appreciated. I'm running a firewall. 
(ZoneAlarm), but the problem persist with it deactivated.

Thanks for answers

Startup log is:

$ startx

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


XWin was started with the following command line:

X :0 -xkblayout fr_CH -xkbmodel pc105 -multiwindow

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See 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 
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 996 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

More information about the Cygwin-xfree mailing list