Ubuntu – How to start gnome wayland desktop from lightdm

display-managergdmgnomelightdmwayland

I installed Gnome 3.24 (gnome-shell and gnome-desktop-environment) on a previous Ubuntu 17.04 (Unity) installation.

I can start gnome Wayland session from display manager gdm3, but not from Lightdm. When trying to, I'm stuck on a non-interactive black screen with a blinking cursor.

I know that I could stick to gdm3, but there at least two reasons why I won't:

  1. Lightdm is somehow much faster on boot
  2. gdm3 is not showing properly on dual monitor, like lightdm does (connection window and panel follows cursor on external monitor.

How can I start a gnome 3.24 Wayland session with Lightdm as display manager ?

Best Answer

A bug report has been filed and is currently being worked on. There are a few workarounds but it isn't a perfect fix. I was able to login using Wayland with this fix but I was not able to use logout.

https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1632772

One solution is to remove Unity 8 desktop:

sudo apt remove unity8-desktop-session
sudo apt autoremove
Related Question