GNOME Bugzilla – Bug 745707
gdm fails to start if gnome-session-wayland is not installed
Last modified: 2015-03-09 21:46:26 UTC
On Ubuntu we ship the wayland session files in a separate binary package that is not installed by default. In this case gdm fails to start and the system gets deadlocked (can't even switch to a VT). This was discovered in vmware which does have support for wayland.
can you attach the gdm debug log of when it fails?
Created attachment 298750 [details] debug log
does gnome-session have any patches? gnome-session[1717]: CRITICAL: We failed, but the fail whale is dead. Sorry.... isn't an upstream message, seems like gnome-session is chugging along instead of exiting.
this is built with the ubuntu patches, there is one that disables the fail whale dialog (i.e removes the call to gnome-session-failed). However the issue still happens with that patch removed.
Created attachment 298755 [details] debug log with no ubuntu patches applied gnome-session is still failing to exit, with all ubuntu patches disabled.
thanks, it looks like we don't detect when the fail whale can't come up.
Created attachment 298891 [details] [review] fail-whale: fail if the fail whale fails If we don't have a wayland session then we don't have a way to show the fail whale. If we don't have a way to show the fail whale, then we should just die.
Attachment 298891 [details] pushed as 355d1ca - fail-whale: fail if the fail whale fails
Created attachment 298917 [details] [review] fail-whale: use correct gspawn flags without this the GChildWatchFunc callback never fires
Attachment 298917 [details] pushed as 635d6f6 - fail-whale: use correct gspawn flags