LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-29-2020, 04:22 PM   #1
crispinb
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
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
Rather than reconfiguring gdm3, I'd dpkg-reconfigure gnome-session-bin, or, looking at its source code, maybe just
Code:
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
crispinb
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
crispinb
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:26 PM.

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