You are not logged in.
I am using an up-to-date (as of Mon, Jan 16) Arch Linux system on a ThinkPad X1 Carbon (Gen 4). I use the xmonad window manager.
Over the past few months, I have occasionally had issues where my X session suddenly ends and I am dumped back into my display manager.
There is no relevant information in /var/log/Xorg.0.log.old, simply the line
[ 4566.334] (II) Server terminated successfully (0). Closing log file
The only relevant lines I see in the journal are:
Jan 17 08:26:55 monolith lightdm[31036]: pam_unix(lightdm:session): session closed for user wesphys
Jan 17 08:26:55 monolith org.a11y.atspi.Registry[31192]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 17 08:26:55 monolith org.a11y.atspi.Registry[31192]: after 885 requests (885 known processed) with 0 events remaining.
I finally found a 100% reproducible case, which is to launch the program audacity. I confirmed that this issue occurs using the default xmonad configuration (/usr/share/x86_64-linux-ghc-8.0.1/xmonad-0.12/man/xmonad.hs).
I suspect that xmonad is at least a contributing factor, because I installed another window manager (openbox) and the problem does not occur.
Is anyone able to reproduce this or to provide suggestions on how to obtain additional information about this issue?
Last edited by wesphys (2017-01-18 18:03:40)
Offline
The xmonad users list suggested that I look at ~/.xsession-errors.old (which I feel silly for having forgotten about). That file has the useful information
xmonad-x86_64-linux: user error (Error in function getWindowAttributes)
trayer: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
[32673:32673:0117/094648:ERROR:x11_util.cc(87)] X IO error received (X server probably went away)
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
[32514:32514:0117/094648:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away)
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
which suggests that I am experiencing this (currently unresolved) issue: https://github.com/xmonad/xmonad/issues/70
Offline
If it's GTK2, there's a good chance that xmonad is going to die. Audacity, Ardour, Gimp... I haven't seen it outside of GTK2, but xmonad is severely broken as per the bug report.
Offline
From the GitHub thread, this appears to be the fault of the Arch package using xmonad v0.12 with haskell-x11 1.7. As a workaround, I switched to using the xmonad-git and xmonad-contrib-git packages from the AUR, as those are compatible with haskell-x11 1.7.
Offline
If it's a packaging error, then please file a bug in the Arch bug tracker.
Offline
The packager is now participating in that GitHub thread, so I'm not going to open a separate issue. I've marked this thread solved.
EDIT: I should add that my problem has the same root cause as the existing issue https://bugs.archlinux.org/task/52525
Last edited by wesphys (2017-01-18 18:07:43)
Offline