delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/24/17:07:42

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=LjGWASh4zkXP41WTm/9dvXIFPYsh9dBHVHDo4RO0YeL
I7ePy1tCJi44l+id3Wt716U5m2q608tdXLZ+o5sN6SsspdNQ8wf3fDoymFuyKRhJ
CF4y4nL3igFz2+j3Ob08TpgBzyIjYIoVxBu9CNNmekd0cCnuZY+iUHxZpuFRDTYk
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=qXAIlfdghbsNyCVAyuZjVdSnWa8=; b=c/yKjYnKanoAwl7kp
IMgUwLk64eBrO6oioXxI4eRTtqoRf4ENfefel3HsyQqlVJmFpdFmslwE2wbFKqup
IH6e6xJYCkz0Z5Xbp5/sP/f8s6sOfk4YjpNDuZN7Lb1Cf2depUWu9zBPClfxmpyt
z5nsjIZatWz0nk28FeKiQ4fgj4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Morrow, morrow, H*r:8.14.7, Cannot
X-HELO: stargate.mehconsulting.com
Message-ID: <56F45700.7030903@winfirst.com>
Date: Thu, 24 Mar 2016 14:07:12 -0700
From: Mark Hansen <meh AT winfirst DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cannot Run X Programs
References: <9837173 DOT 1199788 DOT 1458850259723 DOT JavaMail DOT root AT vznit170064 DOT mailsrvcs DOT net>
In-Reply-To: <9837173.1199788.1458850259723.JavaMail.root@vznit170064.mailsrvcs.net>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019