Wayland in Ubuntu 20.04 (IntelGPU)
I sadly do not have the choice of starting a Gnome with Wayland session when logging in (no gear icon showing).
Using a Thinkpad with integrated Intel GPU, WaylandEnable option in /etc/gdm3/custom.conf is commented.
No idea what to do, maybe someone can help?
TY
82 Answers
After doing much searching of the internet I have come up with this solution. This solution will enable Wayland even if you have proprietary NVIDIA drivers on Ubuntu 20.04.
- Execute
sudo apt install gnome-session-wayland. - Open
/etc/gdm3/custom.confand ensureWaylandEnable=falseis commented. - Open
/usr/lib/udev/rules.d/61-gdm.rulesand comment all lines. - Execute
sudo systemctl restart gdm3. - Click on the cogwheel and select GNOME or Ubuntu on Wayland.
- Execute
echo $XDG_SESSION_TYPEin order to confirm you are running Wayland (output should be "wayland").
This solution can be a bit buggy, for example the Ubuntu environment took a long time to fully load in my case. In my case I am running a GTX 1050 Ti on proprietary drivers.
EDIT: Performance in games is terrible if running this solution. Would not recommend for gaming.
7In my case:
I'm running Ubuntu 20.04.1 with NVIDIA driver metapackage from nvidia-driver-455 (open source).
I did not have to install the
gnome-session-waylandpackage.I commented out all lines in the
/lib/udev/rules.d/61-gdm.rulesfile (file/usr/lib/udev/rules.d/61-gdm.rulesdidn't exist).Rebooted the system just in case.
That fixed the problem for me.
3More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"