X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:cc:message-id:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=sRlUUhy+1eZArzptGJWU1ciY+sJnIsiF+Fk63wqWlF1ucXavBxPrj 7RN0E2gjjZfToAqP4elm5DWvMI4M+kGYsPhQYXHx03xACxSkDWZbzaDD2NPQ5vC5 QPdeHUsZ10SX589QoxMuW9YX7qBS/02in56RlKQIXplzDArnHZ3lJw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:cc:message-id:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=pKnkbd0LJlG8GTHi/0PX6Vj5P4s=; b=S9s4A13lXQJ3pMSDkLxsbOeFK0D4 C/gT6WchQKdd6bFOLP1vG5cqffe6ubwfhENRXi6ykGaYyhEr8Gz0EbDKNVHtcR4C yqRQWh8AIeTxkJHev0aAmUn5aC7mpS0aHYjt1eH3Z52fw7aHTKgMGPlWg+Te3IPz CV75n9SnDasVn/c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*MI:root, Hx-languages-length:6433 X-HELO: vms173001pub.verizon.net X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=WpDWSorv c=1 sm=1 tr=0 a=wBQ2ZckbFKGhW9ycdGfJ6w==:117 a=McBtsHotiowA:10 a=IkcTkHD0fZMA:10 a=7OsogOcEt9IA:10 a=w_pzkKWiAAAA:8 a=ujMyxXao4uz6mJi-G24A:9 a=QEXdDO2ut3YA:10 a=OCWz5_UTjG4A:10 Date: Thu, 24 Mar 2016 15:10:59 -0500 (CDT) From: Matt Morrow Reply-to: myemailis AT verizon DOT net To: cygwin AT cygwin DOT com Cc: allofusmorrows AT verizon DOT net Message-id: <9837173.1199788.1458850259723.JavaMail.root@vznit170064.mailsrvcs.net> Subject: Cannot Run X Programs MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit 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 -- 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