public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to debug XWin starting only sometimes?
@ 2017-05-01 15:20 Leon Meier
  2017-05-01 20:37 ` Ian Lambert via cygwin
  2017-05-02 12:59 ` Jon Turney
  0 siblings, 2 replies; 5+ messages in thread
From: Leon Meier @ 2017-05-01 15:20 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-03 22:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-01 15:20 How to debug XWin starting only sometimes? Leon Meier
2017-05-01 20:37 ` Ian Lambert via cygwin
2017-05-02 12:59 ` Jon Turney
2017-05-03 22:44   ` Леон Майер
2017-05-03 22:51     ` How to debug XWin starting only sometimes? (Typo removed) Леон Майер

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).