cygwin/x fails to start with error loadlibrary failed with error 87: parameter is incorrect

William J. Schilp, PhD
Mon Jan 28 01:49:00 GMT 2019

i've been using cygwin/x for many years and i did an installation to a new
computer and when i try to start xwin i get a popup windows with the
following error message:

LoadLibrary failed with error 87: the parameter is incorrect.

i start xwin with the following command line:

startxwin -- -clipboard -silent-dup-error -listen tcp

and get the following output:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
OS: CYGWIN_NT-10.0 Saruman 2.11.2(0.329/5/3) 2018-11-08 14:34 x86_64
OS: Windows 10  [Windows NT 10.0 build 17763] (Win64)
Package: version 1.20.2-1 built 2018-10-24

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -clipboard -silent-dup-error
 -listen tcp -auth /home/Dad/.serverauth.6180

(--) Windows reports only 2 mouse buttons, defaulting to -emulate3buttons
(II) xorg.conf is not supported
(II) See for more information
LoadPreferences: /home/Dad/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: yes
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 00000005
winSetEngine - Multi Window or Rootless => ShadowGDI
winScreenInit - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1920 height: 1200 depth:
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp
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
glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

any help would be appreciated..

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list