Cannot Run X Programs

Mark Hansen meh@winfirst.com
Thu Mar 24 21:07:00 GMT 2016


On 3/24/2016 1:10 PM, Matt Morrow wrote:
>   Hi,
>
> I'm on Windows 10 running:
> CYGWIN_NT-6.2 HOME 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin
>
> I cannot run X programs like xclock or xterm.
> With xclock I get this (depending on how I have $DISPLAY set):
> Error: Can't open display: HOME:0
> Error: Can't open display: HOME:0.0
> Error: Can't open display: localhost:0
> Error: Can't open display: localhost:0.0
> Error: Can't open display: 192.168.1.7:0
> Error: Can't open display: 192.168.1.7:0.0
>
> With xterm I get:
> xterm: Xt error: Can't open display: 192.168.1.7:0.0
> xterm: Xt error: Can't open display: 192.168.1.7:0
> xterm: Xt error: Can't open display: localhost:0.0
> xterm: Xt error: Can't open display: localhost:0
> xterm: Xt error: Can't open display: HOME:0.0
> xterm: Xt error: Can't open display: HOME:0
>
> xhost gives me:
>>  xhost +
> xhost: unable to open display "192.168.1.7:0.0"
>
> After startx and startxwin (see below) I try again:
>>  xclock
> Error: Can't open display: 192.168.1.7:0.0
>
>>  xterm
> xterm: Xt error: Can't open display: 192.168.1.7:0.0
>
>
>
>
> Here's startx and startxwin:
>
>>  startx
>
> Welcome to the XWin X Server
> Vendor: The Cygwin/X Project
> Release: 1.18.1.0
> OS: CYGWIN_NT-6.2 HOME 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64
> OS: Windows 10 [Windows NT 10.0 build 10586] (Win64)
> Package: version 1.18.1-2 built 2016-03-03
>
> XWin was started with the following command line:
>
> /usr/bin/X :0 -auth C:/Users/matt/.serverauth.6572
>
> (II) xorg.conf is not supported
> (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
> LoadPreferences: C:/Users/matt/.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 - Using Shadow DirectDraw NonLocking
> winScreenInit - Using Windows display depth of 32 bits per pixel
> winWindowProc - WM_SIZE - new client area w: 1904 h: 1001
> winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
> 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
> (EE) AIGLX: No native OpenGL in modes with a root window
> (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> (II) AIGLX: Loaded and initialized swrast
> (II) GLX: Initialized DRISWRAST GL provider for screen 0
> winPointerWarpCursor - Discarding first warp: 952 500
> (--) 3 mouse buttons found
> (--) Setting autorepeat to delay=500, rate=31
> (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
> (--) Found matching XKB configuration "English (USA)"
> (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
> Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
> winClipboardThreadProc - DISPLAY=:0.0
> OS maintains clipboard viewer chain: yes
> winProcEstablishConnection - winInitClipboard returned.
> winClipboardProc - XOpenDisplay () returned and successfully opened the display.
> C:/Users/matt/.xinitrc: line 1: /usr/local/kde1/bin/startkde: No such file or directory
> xinit: connection to X server lost
>
> waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
> winClipboardProc - XDestroyWindow succeeded.
> winDeinitMultiWindowWM - Noting shutdown in progress
> (II) Server terminated successfully (0). Closing log file.
>
>
>
>>  startxwin
>
> Welcome to the XWin X Server
> Vendor: The Cygwin/X Project
> Release: 1.18.1.0
> OS: CYGWIN_NT-6.2 HOME 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64
> OS: Windows 10 [Windows NT 10.0 build 10586] (Win64)
> Package: version 1.18.1-2 built 2016-03-03
>
> XWin was started with the following command line:
>
> /usr/bin/XWin :0 -multiwindow -auth
>   C:/Users/matt/.serverauth.8388
>
> (II) xorg.conf is not supported
> (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
> LoadPreferences: C:/Users/matt/.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.3.0 - Build 20.19.15.4331
> GL_VENDOR: Intel
> GL_RENDERER: Intel(R) HD Graphics 4600
> (II) AIGLX: enabled GLX_SGI_make_current_read
> (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
> (II) AIGLX: enabled GLX_SGIX_pbuffer
> (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
> (II) 80 pixel formats reported by wglGetPixelFormatAttribivARB
> (II) AIGLX: Set GLX version to 1.4
> (II) 35 fbConfigs
> (II) ignored pixel formats: 0 not OpenGL, 6 RBGA float, 3 RGBA unsigned float, 0 unknown pixel type, 36 unaccelerated
> (II) GLX: Initialized Win32 native WGL GL provider for screen 0
> winPointerWarpCursor - Discarding first warp: 960 540
> (--) 3 mouse buttons found
> (--) Setting autorepeat to delay=500, rate=31
> (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
> (--) 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.
> winProcEstablishConnection - winInitClipboard returned.
> winClipboardThreadProc - DISPLAY=:0.0
> OS maintains clipboard viewer chain: yes
> winMultiWindowXMsgProc - xcb_connect() returned and successfully opened the display.
> winClipboardProc - XOpenDisplay () returned and successfully opened the display.
>
>
> Any ideas what's wrong?
>
> TIA,
> Matt

Try the following posting:

    https://sourceware.org/ml/cygwin-announce/2015-07/msg00013.html
    https://cygwin.com/ml/cygwin-xfree-announce/2014-11/msg00004.html


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list