GNOME Bugzilla – Bug 779338
provide a way to turn off the user run display server
Last modified: 2017-09-18 05:00:57 UTC
Running the X server as a user is a great step forward, but it's not completely backward compatible. This bug is to track adding a configure option to force the old way in situations where that's important.
Created attachment 346872 [details] [review] gdm-session: change how session search path is computed The current mechanism of assuming the wayland-sessions path is the first element of the array isn't very conducive to reprioritizing wayland sessions. This commit changes the code to use a GArray instead.
Created attachment 346873 [details] [review] daemon: add knob to disable starting X server as user Some deployments need to be able to turn off running X servers as a user for backward compatibility. This commit adds some #ifdef goop to that end. Note wayland requires running as the user, so this option, merely deprioritizes wayland sessions under X sessions.
Attachment 346872 [details] pushed as 5b1e625 - gdm-session: change how session search path is computed Attachment 346873 [details] pushed as 22de251 - daemon: add knob to disable starting X server as user
(In reply to Ray Strode [halfline] from comment #1) > Created attachment 346872 [details] [review] [review] > gdm-session: change how session search path is computed > > The current mechanism of assuming the wayland-sessions path is > the first element of the array isn't very conducive to reprioritizing > wayland sessions. This commit changes the code to use a GArray instead. After that commit I can't login anymore. If I change GNOME Xorg instead of GNOME, then login normal. But after restart it is always selected GNOME in GDM and I have only black screen. Booting with NVIDIA proprietary driver + KMS and uncommented WaylandEnable=false. Only helpы for me is pressing Alt+SysRq+K and changing to GNOME Xorg in GDM.
Created attachment 347161 [details] [review] session: honor ignore-wayland flag commit 5b1e625417c274823c66a552f37d912986fc34d8 changed how the default session path was computed. It inadvertently dropped support for the ignore-wayland flag, breaking fall back to X in scenarios where wayland doesn't work. This commit fixes the code to again honor ignore-wayland.
Comment on attachment 347161 [details] [review] session: honor ignore-wayland flag Sorry about that! Thanks for the quick feedback letting me know. Attachment 347161 [details] pushed as 0f693f5 - session: honor ignore-wayland flag
(In reply to Ray Strode [halfline] from comment #6) > Sorry about that! Thanks for the quick feedback letting me know. Thanks.Now it's working again. Please add this fix to 3.22 branch, because it happend with stable GNOME 3.22.