Ok got more detailed info on the crash. First some info Debian Stretch 64 with Radeon Turks graphics card
Note: I'm running X without root priv. I just log into a virtual term and run startx. The crash (of the first X session) specifically happens (not when closing the second X session) but when I log out of the second virtual term (ctrl-d) after closing the second X session. Update: In fact I don't even need to start a second X session I just need to switch to another virtual term, log in and then log out. X crash occurs with both xfce and openbox. Here is my startx errors and my Xorg.0.log file relevant output startx errors: ... xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) (II) [KMS] Kernel modesetting enabled. -------------------------------------------------------------this is where the errors begin---------------------------------------------------- (II) AIGLX: Suspending AIGLX clients for VT switch (II) AIGLX: Suspending AIGLX clients for VT switch (EE) Fatal server error: (EE) EnterVT failed for screen 0 (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arky/.local/share/xorg/Xorg.0.log" for additional information. (EE) (II) AIGLX: Suspending AIGLX clients for VT switch (EE) Server terminated with error (1). Closing log file. xinit: connection to X server lost waiting for X server to shut down Xorg.0.log errors: [ 728.156] (II) systemd-logind: got resume for 13:76 [ 728.172] (II) systemd-logind: got resume for 13:77 [ 728.188] (II) systemd-logind: got resume for 13:67 [ 728.204] (II) systemd-logind: got resume for 13:75 [ 728.220] (II) systemd-logind: got resume for 13:66 [ 728.220] (II) systemd-logind: got resume for 226:0 [ 728.233] (II) AIGLX: Resuming AIGLX clients after VT switch [ 728.233] (EE) RADEON(0): failed to set mode: Permission denied [ 728.233] (EE) Fatal server error: [ 728.234] (EE) EnterVT failed for screen 0 [ 728.234] (EE) [ 728.234] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 728.234] (EE) Please also check the log file at "/home/arky/.local/share/xorg/Xorg.0.log" for additional information. [ 728.234] (EE) [ 728.234] (II) AIGLX: Suspending AIGLX clients for VT switch [ 728.255] (EE) Server terminated with error (1). Closing log file. On Thu, Oct 19, 2017 at 5:32 AM, Greg Wooledge <wool...@eeg.ccf.org> wrote: > On Thu, Oct 19, 2017 at 10:06:05AM +0200, Floris wrote: >> Maybe you can find more information in the log messages. /var/log/Xorg.x.log >> gives information about the X server. Or try journalctl to read all log >> messages. > > The X log can either be in /var/log/Xorg.*.log or in > ~/.local/share/xorg/Xorg.*.log depending on how X is started, in which > version of Debian, on which hardware. > > See > <https://www.debian.org/releases/stretch/amd64/release-notes/ch-whats-new.en.html#x-no-longer-requires-root> >