You are not logged in.

#1 2016-03-11 18:46:02

quantumtremor
Member
Registered: 2015-11-21
Posts: 5

Xorg keeps crashing but leaves i3 mostly functional - cause not in log

I'm using i3wm on X.org. Every so often, probably around every hour (although I have not figured out the cause), X.org crashes silently. I know this has happened
because I am not able to use utilities like xmobar and I can't even open a new terminal with Mod4+Enter (my terminal is urxvt, if it matters).

However, everything else in i3 still works, mostly. I can switch between workspaces, move windows to different workspaces, resize windows, etc.

If I try to refresh i3 with Mod4-Shift-R, i3 crashes, I get a brief error message in a tty, and I'm forced into logging in from a tty screen again. After I re login, X.org works.

I've looked through the logs at ~/.local/share/xorg/Xorg.0.log and ~/.local/share/xorg/Xorg.0.log.old and neither seem to include information about X crashing. Maybe I'm missing something?

My Xorg.0.log is here: http://pastebin.ca/3395677

My Xorg.0.log.old is here: http://pastebin.ca/3395678

My guess is that the old represents the last session, which I ended manually using Mod4-Shift-R (described above) AFTER Xorg crashed by itself. In the current session, Xorg has crashed by itself as well. There are no other Xorg.n.log files.

What could be causing these crashes?

Offline

#2 2016-03-11 18:57:40

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,422
Website

Re: Xorg keeps crashing but leaves i3 mostly functional - cause not in log

More likely this is an authentication issue, rather than a crash. Once the issue occurs, you can check from an existing terminal with:

$ strings ~/.Xauthority
$ hostname

If the names mismatch, see the second section in https://wiki.archlinux.org/index.php/Talk:Xorg

Last edited by Alad (2016-03-11 19:00:27)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2016-03-11 21:45:39

quantumtremor
Member
Registered: 2015-11-21
Posts: 5

Re: Xorg keeps crashing but leaves i3 mostly functional - cause not in log

@Alad,
Thank you, I believe that was the issue. For some reason the strings in ~/.Xauthority had hostname dependant on the Wi-Fi connection I'm using, and I suppose whenever that changes, I wasn't able to talk to X anymore. Thanks again!

Offline

Board footer

Powered by FluxBB