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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=bt8 Iqf4Jx0iujGDf/sZ9yVFlk0+m31rY5EQLu5ckuWLpbQSY+OqZxGqzMF64Khs0AoT ALgGzO0wzUIykTZcGQuEZE5Bq0eI86hvcmkd1Y0eCHhfUG1mj3Y4ff/XfSSp7K4D aZUL5QVQSi2ctT/WbWcy4NGI5whjmcw1JU6wdxxU= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=SNIsFVN2Z Hi1GGt67uVuWA3BLV0=; b=lG3X2Sgi123IcX5DCt0fp3Hj0wnV6UibCVbn0enZ2 +1rWzkp0b+/7vvr0Bx7Mid+ye5+iiPLL8AuHlH39LdsaaKmL8X/ggEpZdgJy53y/ seEj9gjdHMa3XrJ+EJOsn5JTj0PShZd/XSnxxQ6hnSQjXZnrib6JLYp+JhY8Ga35 KY= 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=-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 Authentication-Results: smtp3j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0 To: cygwin AT cygwin DOT com From: Leon Meier Subject: How to debug XWin starting only sometimes? Message-ID: <3f551e8d-9f2a-27d4-119f-13f4a7ddb155@yandex.ru> Date: Mon, 1 May 2017 17:19:59 +0200 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 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