On 2019-08-05 16:59-0500, David Wright wrote: > Perhaps this is all to do with your DM. I use startx, and since > stretch the Xserver runs "on top of" the VC that started it, and > as the user, not root. In the past, Xservers ran as root on VC7, > VC8, …
Does lightdm or gdm act as your greeter? I have not reproduced this between xsessions started by tty login, only ever the session started by lightdm crashes. Tried to force a x session on vt8, but that responds with 'Permission denied' when doing that. I think system d sets up the permissions of tty1 when you use that console: crw------- 1 ed tty 4, 1 2019-08-06 06:57:48 /dev/tty1 [ 757.147] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found [ 778.512] (II) AIGLX: Suspending AIGLX clients for VT switch [ 786.321] (II) AIGLX: Resuming AIGLX clients after VT switch [ 786.321] (EE) modeset(0): drmSetMaster failed: Invalid argument [ 786.321] (EE) modeset(0): failed to set mode: Permission denied [ 786.321] (EE) Fatal server error: [ 786.321] (EE) EnterVT failed for screen 0 [ 786.321] (EE) [ 786.321] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 786.321] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 786.321] (EE) [ 786.321] (II) AIGLX: Suspending AIGLX clients for VT switch [ 786.376] (EE) Server terminated with error (1). Closing log file. To eliminate my actions from this, I tried again without telling startx which vt to use, and the error above happened on the *second* switch back to vt7. -- Best regards, Ed http://www.s5h.net/