Hello folks,
I have had multiple problems trying to install X11 on Cygwin. I am
running Cygwin on Windows 11 on my Asus VivoBook.
The initial X11 installation showed Error 3 for the sub-installation of
xinit.
Looking through previous answers, I found a suggestion to run the following:
CYGWINFORALL=-A /bin/sh -vx /etc/postinstall/xinit.sh (**)
This failed with the following error:
mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start
Menu/Programs/Cygwin-X/User .xsession script.lnk" failed; does the
target directory exist?
Later, after quite a bit of rigamarole involving "takeown" and "icacls",
I was able to run (**) without any error message.
So then I tried startxwin, with the following error:
winMultiWindowXMsgProc - Fatal error 1 on xcb connection
Here is the complete output of startxwin:
========================================================================
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.21.1.12
OS: CYGWIN_NT-10.0-26100 DESKTOP-8SDO6BS 3.5.5-1.x86_64 2024-12-20 16:19
UTC x86_64
OS: Windows 10 [Windows NT 10.0 build 26100] x64
Package: version 21.1.12-1 built 2024-04-14
XWin was started with the following command line:
/usr/bin/XWin :0 -multiwindow -auth
/home/charliep/.serverauth.460
(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winUpdateDpi - primary monitor native DPI x 120 y 120
LoadPreferences: /home/charliep/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
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: 1080
depth: 32
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24
bpp 32
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'
(II) AIGLX: Testing pixelFormatIndex 1
GL_VERSION: 4.6.0 - Build 30.0.100.9864
GL_VENDOR: Intel
GL_RENDERER: Intel(R) UHD Graphics
(II) GLX: enabled GLX_SGI_make_current_read
(II) GLX: enabled GLX_SGI_swap_control
(II) GLX: enabled GLX_MESA_swap_control
(II) GLX: enabled GLX_SGIX_pbuffer
(II) GLX: enabled GLX_ARB_multisample
(II) GLX: enabled GLX_SGIS_multisample
(II) GLX: enabled GLX_ARB_fbconfig_float
(II) GLX: enabled GLX_EXT_fbconfig_packed_float
(II) GLX: enabled GLX_ARB_create_context
(II) GLX: enabled GLX_ARB_create_context_profile
(II) GLX: enabled GLX_ARB_create_context_robustness
(II) GLX: enabled GLX_EXT_create_context_es2_profile
(II) GLX: enabled GLX_ARB_framebuffer_sRGB
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) 112 pixel formats reported by wglGetPixelFormatAttribivARB
(II) 76 fbConfigs
(II) ignored pixel formats: 0 not OpenGL, 0 unknown pixel type, 36
unaccelerated
(II) GLX: Initialized Win32 native WGL GL provider for screen 0
winPointerWarpCursor - Discarding first warp: 960 540
(--) 16 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: "00000409" (00000409) "US", type 7
(--) Found matching XKB configuration "English (USA)"
(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options =
"none"
winInitMultiWindowWM - DISPLAY=:0.0
winMultiWindowXMsgProc - DISPLAY=:0.0
winInitMultiWindowWM - xcb_connect () returned and successfully opened
the display.
winClipboardThreadProc - DISPLAY=:0.0
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - xcb_connect () returned and successfully opened the
display.
winMultiWindowXMsgProc - xcb_connect() returned and successfully opened
the display.
Using Composite redirection
xinit: connection to X server lost
waiting for X server to shut down winClipboardProc -
winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting
main loop.
winMultiWindowXMsgProc - Fatal error 1 on xcb connection
winDeinitMultiWindowWM - Noting shutdown in progress
(II) Server terminated successfully (0). Closing log file.
==================================================================================
Thanks in advance for any help you can provide. If I seem clueless,
that's pretty much how I feel right now -- sorry!
Sincerely,
Charlie P.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple