After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745707 - gdm fails to start if gnome-session-wayland is not installed
gdm fails to start if gnome-session-wayland is not installed
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
3.15.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-05 23:00 UTC by darkxst
Modified: 2015-03-09 21:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (5.50 KB, text/x-log)
2015-03-06 20:32 UTC, darkxst
  Details
debug log with no ubuntu patches applied (5.01 KB, text/x-log)
2015-03-06 23:41 UTC, darkxst
  Details
fail-whale: fail if the fail whale fails (2.67 KB, patch)
2015-03-09 14:52 UTC, Ray Strode [halfline]
none Details | Review
fail-whale: use correct gspawn flags (962 bytes, patch)
2015-03-09 21:29 UTC, darkxst
none Details | Review

Description darkxst 2015-03-05 23:00:33 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.
Comment 1 Ray Strode [halfline] 2015-03-06 14:27:34 UTC
can you attach the gdm debug log of when it fails?
Comment 2 darkxst 2015-03-06 20:32:11 UTC
Created attachment 298750 [details]
debug log
Comment 3 Ray Strode [halfline] 2015-03-06 20:50:04 UTC
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.
Comment 4 darkxst 2015-03-06 23:35:47 UTC
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.
Comment 5 darkxst 2015-03-06 23:41:30 UTC
Created attachment 298755 [details]
debug log with no ubuntu patches applied

gnome-session is still failing to exit, with all ubuntu patches disabled.
Comment 6 Ray Strode [halfline] 2015-03-09 14:52:00 UTC
thanks, it looks like we don't detect when the fail whale can't come up.
Comment 7 Ray Strode [halfline] 2015-03-09 14:52:16 UTC
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.
Comment 8 Ray Strode [halfline] 2015-03-09 15:01:22 UTC
Attachment 298891 [details] pushed as 355d1ca - fail-whale: fail if the fail whale fails
Comment 9 darkxst 2015-03-09 21:29:20 UTC
Created attachment 298917 [details] [review]
fail-whale: use correct gspawn flags

without this the GChildWatchFunc callback never fires
Comment 10 Ray Strode [halfline] 2015-03-09 21:46:26 UTC
Attachment 298917 [details] pushed as 635d6f6 - fail-whale: use correct gspawn flags