More info. The crash does NOT occur if I log into and log out of the root account on the second virtual terminal. Also here is journalctl output
Oct 22 09:33:10 up udev-acl.ck[4719]: g_slice_set_config: assertion 'sys_page_size == 0' failed Oct 22 09:33:10 up login[3250]: pam_unix(login:session): session closed for user arky Oct 22 09:33:10 up udev-acl.ck[4721]: g_slice_set_config: assertion 'sys_page_size == 0' failed Oct 22 09:33:10 up udev-acl.ck[4723]: g_slice_set_config: assertion 'sys_page_size == 0' failed Oct 22 09:33:10 up systemd[1]: getty@tty3.service: Service has no hold-off time, scheduling restart. Oct 22 09:33:10 up systemd[1]: Stopped Getty on tty3. Oct 22 09:33:10 up systemd[1]: Started Getty on tty3. Oct 22 09:33:10 up systemd-logind[594]: Removed session 30. Oct 22 09:33:10 up systemd[4677]: Stopped target Default. Oct 22 09:33:10 up systemd[4677]: Stopped target Basic System. Oct 22 09:33:10 up systemd[4677]: Stopped target Timers. Oct 22 09:33:10 up systemd[4677]: Stopped target Sockets. Oct 22 09:33:10 up systemd[4677]: Closed GnuPG cryptographic agent (ssh-agent emulation). Oct 22 09:33:10 up systemd[4677]: Stopped target Paths. Oct 22 09:33:10 up systemd[4677]: Closed GnuPG network certificate management daemon. Oct 22 09:33:10 up systemd[4677]: Closed GnuPG cryptographic agent and passphrase cache. Oct 22 09:33:10 up systemd[4677]: Closed GnuPG cryptographic agent and passphrase cache (restricted). Oct 22 09:33:10 up systemd[4677]: Closed D-Bus User Message Bus Socket. Oct 22 09:33:10 up systemd[4677]: Closed GnuPG cryptographic agent (access for web browsers). Oct 22 09:33:10 up systemd[4677]: Reached target Shutdown. Oct 22 09:33:10 up systemd[4677]: Starting Exit the Session... Oct 22 09:33:10 up systemd[1]: Stopping User Manager for UID 1005... Oct 22 09:33:10 up systemd[4677]: Received SIGRTMIN+24 from PID 4734 (kill). Oct 22 09:33:10 up systemd[1]: user@1005.service: Killing process 4734 (kill) with signal SIGKILL. Oct 22 09:33:10 up systemd[1]: Stopped User Manager for UID 1005. Oct 22 09:33:10 up systemd[1]: Removed slice User Slice of arky. Oct 22 09:33:10 up org.a11y.atspi.Registry[4630]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" Oct 22 09:33:10 up org.a11y.atspi.Registry[4630]: after 61 requests (61 known processed) with 0 events remaining. Oct 22 09:33:10 up console-kit-daemon[1011]: GLib-CRITICAL: Source ID 678 was not found when attempting to remove it Oct 22 09:33:10 up console-kit-daemon[1011]: console-kit-daemon[1011]: GLib-CRITICAL: Source ID 678 was not found when attempting to remove it Oct 22 09:33:13 up udev-acl.ck[4752]: g_slice_set_config: assertion 'sys_page_size == 0' failed On Sun, Oct 22, 2017 at 9:11 AM, Robert Arkiletian <rob...@gmail.com> wrote: > 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> >>