Session preference not respected; Wayland session started despite Xorg being selected

Bug #1944581 reported by Removed by request
8
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Session preference, in this case, is ignored in two scenarios:

* Cold boot, first log in: Even when Xorg session is picked through the cog menu in the bottom right, Wayland session is started. Only when explicitly re-selecting Xorg from this session picker, despite being selected and displaying as selected already, the Xorg session is registered as the preferred one.
* Gnome session crash ("Oh no! Something has gone wrong" error). After restoring session, Wayland starts by default, despite initially choosing Xorg session.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gdm3 41~rc-0ubuntu1
ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
Uname: Linux 5.13.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 22 17:03:27 2021
InstallationDate: Installed on 2020-06-25 (453 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: gdm3
UpgradeStatus: Upgraded to impish on 2021-09-17 (4 days ago)
modified.conffile..etc.gdm3.custom.conf: [modified]
mtime.conffile..etc.gdm3.custom.conf: 2020-12-10T18:16:25.985567

Revision history for this message
Removed by request (removed1016696) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report. After reproducing the bug again please run:

  journalctl -b0 > journal.txt

and then attach the above text file as well as /etc/gdm3/custom.conf

Please also follow these instructions to check for crashes: https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment

Changed in gdm3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Removed by request (removed1016696) wrote :

Hello,

Thank you for your comments. The system log is included.

The user is logged in. I have verified that Xorg was already selected on the login prompt, though I did not perform the explicit re-selecting that is required to actually register the preference.

As a result, the Wayland session was started, despite Xorg showing as the preferred session.

Revision history for this message
Removed by request (removed1016696) wrote :

/etc/gdm3/custom.conf is enclosed

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It appears Ubuntu on X11 is trying to start (3 times) and failing, which is why it chooses Wayland instead.

You appear to be using the 'oibaf' PPA which is not supported and is known to cause bugs like this. Please uninstall it using 'ppa-purge', reboot, and then open new bugs about any new issues you find.

Changed in gdm3 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Removed by request (removed1016696) wrote :

Would it as such be preferred to open a new bug on this issue? The PPA was removed from the system yet the issue persists. Another system log from the system by default is attached.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes please open a new bug so we can be sure it's 100% Ubuntu that you're running before we investigate further.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.