From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40417 invoked by alias); 1 May 2017 15:20:05 -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 40382 invoked by uid 89); 1 May 2017 15:20:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:yandex, H*F:D*yandex.ru, icon, HAuthentication-Results:header.i X-HELO: forward15j.cmail.yandex.net Received: from forward15j.cmail.yandex.net (HELO forward15j.cmail.yandex.net) (5.255.227.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 May 2017 15:20:01 +0000 Received: from smtp3j.mail.yandex.net (smtp3j.mail.yandex.net [IPv6:2a02:6b8:0:801:1::12]) by forward15j.cmail.yandex.net (Yandex) with ESMTP id 9A68321851 for ; Mon, 1 May 2017 18:20:01 +0300 (MSK) Received: from smtp3j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3j.mail.yandex.net (Yandex) with ESMTP id 6AF7B6240E1A for ; Mon, 1 May 2017 18:20:00 +0300 (MSK) Received: by smtp3j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ggSp6eNEQZ-K03GdQiK; Mon, 01 May 2017 18:20:00 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Authentication-Results: smtp3j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0 To: cygwin@cygwin.com From: Leon Meier Subject: How to debug XWin starting only sometimes? Message-ID: <3f551e8d-9f2a-27d4-119f-13f4a7ddb155@yandex.ru> Date: Mon, 01 May 2017 15:20:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-05/txt/msg00003.txt.bz2 When starting "XWin Server" though the windows shortcut, it sometimes won't start; other times it will. The shortcut command line is C:\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin" which is executed in directory cygwin64. The current contents of .xsession-errors is [ ** 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 ] As you can imagine, the directory /tmp/fam-admin contains no files at all. Starting startxwin from mintty actually succeeds (always or at least more often than starting through the shortcut). The only suspicious lines found in /var/log/xwin/XWin.0.log are [ 1106.609] pixelFormat 36: has 1 overlay, 0 underlays which aren't currently handledgetAttrValue failed to find attr 0x2039, using default value 0 [ 1106.609] getAttrValue failed to find attr 0x203b, using default value 0 ... [ 1106.609] pixelFormat 71: has 1 overlay, 0 underlays which aren't currently handledgetAttrValue failed to find attr 0x2039, using default value 0 [ 1106.609] getAttrValue failed to find attr 0x203b, using default value 0 ... [ 1294,453] SetupSysMenu: GetSystemMenu() failed for HWND 0x2027a [ 1309,640] IsOverrideRedirect: Failed to get window attributes [ 1311,687] OS has icon alpha channel support: yes [ 1353,109] SetupSysMenu: GetSystemMenu() failed for HWND 0x50374 [ 1359,250] SetupSysMenu: GetSystemMenu() failed for HWND 0x50330 [ 1367,859] winTopLevelWindowProc - WM_DESTROY - WM_WM_KILL [ 1378,000] SetupSysMenu: GetSystemMenu() failed for HWND 0x1c0466 In /var/log/xwin/XWin.0.log.old we see [ 775,375] winMultiWindowXMsgProc - Fatal error 1 on xcb connection In /var/log/xwin/XWin.1.log we see [ 1523,000] winMultiWindowXMsgProc - Fatal error 1 on xcb connection In /var/log/xwin/XWin.1.log.old we see [ 1583,187] winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes) Any hints who may be the culprit and/or how to debug the issue? 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