GNOME Bugzilla – Bug 745675
black screen on login after changing session
Last modified: 2015-03-17 16:34:05 UTC
I experience the following: On the login screen, change session to classic mode, and proceed to login End up with a black screen from which only a reboot is possible After reboot, log in again without changing session type Get to classic mode just fine Same experience when switching back to gnome
not entirely reproducible here, but local debugging turned up some selinux problems related to CAP_SYS_TTY
whats concerning is that I end up seeing my password in cleartext on the vt after the login screen finally crashes. We should probably treat that as a blocker.
Created attachment 299612 [details] [review] worker: abort if we can't fix up terminal mode An overzealous SELinux policy can lead to required tty ioctls failing. Various bits of GDM, the X server and wayland expect these ioctls to succeed, so bail early if they fail.
This is pretty much NOTGNOME, but I pushed this patch: Attachment 299612 [details] pushed as 31e0b50 - worker: abort if we can't fix up terminal mode to make sure GDM fails up front in this situation rather than letting the display servers try to bustle on and get confused.