From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47019 invoked by alias); 3 May 2017 22:44:25 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 46999 invoked by uid 89); 3 May 2017 22:44:23 -0000 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 Received: from forward5j.cmail.yandex.net (HELO forward5j.cmail.yandex.net) (5.255.227.23) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 May 2017 22:44:21 +0000 Received: from mxback6h.mail.yandex.net (mxback6h.mail.yandex.net [IPv6:2a02:6b8:0:f05::10f]) by forward5j.cmail.yandex.net (Yandex) with ESMTP id BF87C206B6; Thu, 4 May 2017 01:44:20 +0300 (MSK) Received: from web52g.yandex.ru (web52g.yandex.ru [95.108.252.222]) by mxback6h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id JHcTnLZVex-iFS4BGZi; Thu, 04 May 2017 01:44:15 +0300 Authentication-Results: mxback6h.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by web52g.yandex.ru with HTTP; Thu, 04 May 2017 01:44:15 +0300 From: =?utf-8?B?0JvQtdC+0L0g0JzQsNC50LXRgA==?= Envelope-From: leon-meier@yandex.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@yandex.ru> <3028db88-bfce-734f-fa26-0438d95e51c9@dronecode.org.uk> Subject: Re: How to debug XWin starting only sometimes? MIME-Version: 1.0 Message-Id: <486551493851455@web52g.yandex.ru> Date: Wed, 03 May 2017 22:44:00 -0000 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-SW-Source: 2017-05/txt/msg00036.txt.bz2 >  > 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