Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 06-29-2020, 04:22 PM   #1
LQ Newbie
Registered: Jun 2020
Posts: 3

Rep: Reputation: Disabled
How to restore disappeared Wayland session options under gdm3 on Ubuntu 20.04

Wayland sessions have disappeared from my gdm3 login screen. I typically use Wayland, but had switched temporarily to Xorg for a few days for a specific purpose. Now the Wayland options are gone.

Some possibly relevant observations:
  • I know Wayland works still on my system: I can get a working Wayland session using LightDM or by starting a gnome session from a virtual console with XDG_SESSION_TYPE set to wayland
  • WaylandEnable=false is commented out in /etc/gdm3/custom.conf (as it always was)
  • I do have an Nvidia GPU, but it's disabled with prime-select intel (ie. the config is exactly as it has been for running Wayland).
  • the relevant *.desktop files are still present in /usr/share/wayland-sessions/
  • I haven't installed anything significant since the Wayland sessions were present a few days ago - just a couple of end-user apps.
  • I have tried un- and re-installing the gdm3 package, and doing a `dpkg-reconfigure gdm3`, both to no effect

What might cause the session options to disappear and how can I reinstate them?
Old 06-30-2020, 03:38 AM   #2
Senior Member
Registered: Mar 2020
Posts: 1,029

Rep: Reputation: Disabled
Rather than reconfiguring gdm3, I'd dpkg-reconfigure gnome-session-bin, or, looking at its source code, maybe just
update-alternatives --config x-session-manager

Last edited by shruggy; 06-30-2020 at 03:43 AM.
Old 06-30-2020, 04:33 AM   #3
LQ Newbie
Registered: Jun 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
OK just tried that; unfortunately no difference. But I appreciate the suggestion.

Do you (or anywhere else) know where I can find what decides whether or not gdm offers the wayland sessions? I'd like to systematically go through the determining factors, but have no idea what they might be.
Old 06-30-2020, 06:12 AM   #4
LQ Newbie
Registered: Jun 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
OK, a correction. After a reboot, the wayland entries were back. Clearly just logging out and restarting gdm from a virtual console (which is what I had been doing after each attempted change) wasn't enough.

The only trouble is, I've made a few changes since the last reboot, so I'm not sure which one did the trick.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
How to tell whether a session is an X session or Wayland? linuxuser7 SUSE / openSUSE 4 05-27-2018 09:04 AM
Does gnome-flashback session use wayland? Do all gtk3 apps use wayland? rubankumars Linux - Desktop 1 08-08-2017 04:13 AM
username disappeared from cursor + gdm3 hosed stevedownes Linux - Server 5 08-15-2011 06:54 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration