It looks like the bug is actually in unity8-desktop-session. It installs
/usr/share/lightdm/lightdm.conf.d/45-unity8.conf, which sets session-
wrapper=lightdm-unity8-session, which means lightdm-unity8-session is
run in order to start *any* session. lightdm-unity8-session is a shell
script that's also part of unity8-desktop-session, and looking at its
contents, it appears to be buggy because it assumes that any session
that doesn't use X (such as Wayland) is Unity 8 and should run upstart
instead of lightdm-session.
I was able to work around this by creating a file
/etc/lightdm/lightdm.conf.d/00-willmo.conf with contents
[Seat:*]
session-wrapper=lightdm-session
This overrides the offending setting in 45-unity8.conf and sets session-
wrapper back to the default, avoiding the Unity 8 assumptions in
lightdm-unity8-session. After rebooting, Wayland sessions now work for
me.
** Also affects: unity8-desktop-session
Importance: Undecided
Status: New
** Also affects: unity8-desktop-session (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1632772
Title:
GNOME on Wayland does not start from LightDM
Status in Ubuntu GNOME:
Confirmed
Status in unity8-desktop-session:
New
Status in gnome-session package in Ubuntu:
Confirmed
Status in lightdm package in Ubuntu:
Confirmed
Status in unity8-desktop-session package in Ubuntu:
Confirmed
Bug description:
When picking GNOME on Wayland as session and attempting to login from
LightDM then it fails, all you see is a black screen with a blinking
cursor.
However, manually running:
$ dbus-run-session gnome-shell --display-server --wayland
from the console/vt1 (Ctrl+Alt+F1) seems to work.
But from LightDM it does not work.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: gnome-session-wayland 3.20.2-1ubuntu7
ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0
Uname: Linux 4.8.0-22-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
Date: Wed Oct 12 18:06:13 2016
InstallationDate: Installed on 2013-12-26 (1020 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64
(20131016.1)
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1632772/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp