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:from:to:in-reply-to:references:subject :mime-version:message-id:date:content-transfer-encoding :content-type; q=dns; s=default; b=pPNVvjwSbw6cwrSHCwjcD/hwFqSyW 08Gp2tGIovk/MPIE/Qmr7tyNDxWGLKnTL+8sH2f/QOfLb2gd3z9P44eGLE5MCtyb o0MvU8kJPZJ3TZKWf8+ttAi2u/2uWLlHySG6HszurciTpNAOhD+PIPO5eaSu4Zm/ MFRUsUhe5BBpbE= 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:from:to:in-reply-to:references:subject :mime-version:message-id:date:content-transfer-encoding :content-type; s=default; bh=gokD8aXfAm4uQB5u/P0KOinSyFc=; b=hXY nyCMq0kR7N3D0jauFyThbREffqO8G5FlzwPZupsF/9Q5gBIZUyGh4tqzsG9R1dYv DPeGyFPnR+pguRpwYH9ejm3swF+F4S61nSalZZ7F/jw31DuqdpEA/E+aJp11Mqf8 UIhWMkRfl3aSiH3VZ34X1maq7UdB8nvuW/Yr0rdE= 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=-0.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=DISPLAY, German, Socket, bus X-HELO: forward5j.cmail.yandex.net Authentication-Results: mxback6h.mail.yandex.net; dkim=pass header.i=@yandex.ru From: =?utf-8?B?0JvQtdC+0L0g0JzQsNC50LXRgA==?= Envelope-From: leon-meier AT yandex DOT ru To: Jon Turney , The Cygwin Mailing List In-Reply-To: <3028db88-bfce-734f-fa26-0438d95e51c9@dronecode.org.uk> References: <3f551e8d-9f2a-27d4-119f-13f4a7ddb155 AT yandex DOT ru> <3028db88-bfce-734f-fa26-0438d95e51c9 AT dronecode DOT org DOT uk> Subject: Re: How to debug XWin starting only sometimes? MIME-Version: 1.0 Message-Id: <486551493851455@web52g.yandex.ru> Date: Thu, 04 May 2017 00:44:15 +0200 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 >  > In /var/log/xwin/XWin.0.log.old we see >  > >  > [ 775,375] winMultiWindowXMsgProc - Fatal error 1 on xcb connection > > I'm guessing that perhaps this was from an unsuccessful previous run? > In which case I would be interested to see the whole log. I checked. The bad news is that neither .xsession-errors nor a log in /var/log/xwin/ are produced in /var/log/xwin on an *unsuccessful* attempt. The *successful* attempt afterwards results in .xsession-errors containing [ ** Message: couldn't connect to dbus session bus: Verbindung ist geschlossen ** Message: couldn't connect to dbus session bus: Verbindung ist geschlossen ** Message: couldn't connect to dbus session bus: Verbindung ist geschlossen Socket /tmp/fam-admin/fam- has wrong permissions Failed to connect to socket /tmp/fam-admin/fam- executing 'uxterm', pid 1512 ] and /var/log/xwin/XWin.0.log containing [ [ 9196.250] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 9196.250] (II) 503 pixel formats reported by wglGetPixelFormatAttribivARB [ 9196.250] pixelFormat 36: has 1 overlay, 0 underlays which aren't currently handledgetAttrValue failed to find attr 0x2039, using default value 0 [ 9196.250] getAttrValue failed to find attr 0x203b, using default value 0 [ 9196.250] pixelFormat 37: has 1 overlay, 0 underlays which aren't currently handledgetAttrValue failed to find attr 0x2039, using default value 0 [ 9196.250] getAttrValue failed to find attr 0x203b, using default value 0 ... ...(lots of similar lines differing only in one number)... ... [ 9196.250] pixelFormat 71: has 1 overlay, 0 underlays which aren't currently handledgetAttrValue failed to find attr 0x2039, using default value 0 [ 9196.250] getAttrValue failed to find attr 0x203b, using default value 0 [ 9196.250] (II) 468 fbConfigs [ 9196.250] (II) ignored pixel formats: 0 not OpenGL, 0 unknown pixel type, 35 unaccelerated [ 9196.250] (II) GLX: Initialized Win32 native WGL GL provider for screen 0 [ 9196.578] winPointerWarpCursor - Discarding first warp: 960 540 [ 9196.578] (--) 2 mouse buttons found [ 9196.578] (--) Setting autorepeat to delay=500, rate=31 [ 9196.578] (--) Windows keyboard layout: "00000407" (00000407) "German", type 7 [ 9196.578] (--) Found matching XKB configuration "German (Germany)" [ 9196.578] (--) Model = "pc105" Layout = "de" Variant = "none" Options = "none" [ 9196.578] Rules = "base" Model = "pc105" Layout = "de" Variant = "none" Options = "none" [ 9196.671] winInitMultiWindowWM - DISPLAY=:0.0 [ 9196.671] winMultiWindowXMsgProc - DISPLAY=:0.0 [ 9196.703] winInitMultiWindowWM - xcb_connect () returned and successfully opened the display. [ 9196.703] winProcEstablishConnection - winInitClipboard returned. [ 9196.703] winClipboardThreadProc - DISPLAY=:0.0 [ 9196,703] winMultiWindowXMsgProc - xcb_connect() returned and successfully opened the display. [ 9196,703] OS maintains clipboard viewer chain: yes [ 9196,718] Using Composite redirection [ 9196,718] winClipboardProc - XOpenDisplay () returned and successfully opened the display. [ 9255,375] SetupSysMenu: GetSystemMenu() failed for HWND 0xb080c ] Any ideas of how to debug next? Thanks in advance. Leon -- 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