systemd refuses to start secondary Xorg logins [<email address hidden>: Skipped due to 'exec-condition'.]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm |
Fix Released
|
Unknown
|
|||
gdm3 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Kinetic |
Fix Released
|
Medium
|
Unassigned | ||
Lunar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[ Impact ]
Switching to a second user falls back to Wayland even when Xorg was explicitly selected.
[ Test Plan ]
On an NVIDIA DGX Station (known to reliably reproduce the issue):
1. Start with a default Ubuntu 22.04 Desktop install
2. apt install linux-modules-
3. reboot (so new modules load)
4. Login to a desktop session
5. Create a new user using 'adduser'
6. Attempt to "switch to" the new user from the existing login
[ Where problems could occur ]
Any part of the login procedure as that is what is being modified.
[ Original Description ]
I have three accounts and I need all three to run on xorg instead of wayland.
For some reason, when switching accounts, two of them consistently start wayland even when I select plain gnome from the gdm menu. To get xorg, I need to log out and log in a second time.
A solution that is supposed to work consists in customizing /etc/gdm3/
I have also experimented with the following options:
DefaultSession=
and
PreferredDispla
Neither appears to set xorg as the default...
I have found the following bug reported upstream against gdm:
https:/
It looks like this was fixed a year ago but my system is still affected.
Note that I am using the gnome-session package. I doubt whether it makes any difference but I am adding it for the sake of completeness.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gdm3 42.0-1ubuntu7
ProcVersionSign
Uname: Linux 6.0.0-1010-oem x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Sun Feb 5 19:44:53 2023
InstallationDate: Installed on 2022-03-27 (315 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220326)
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
description: | updated |
description: | updated |
Changed in gdm: | |
status: | Unknown → Fix Released |
description: | updated |
Changed in gdm3 (Ubuntu Jammy): | |
assignee: | dann frazier (dannf) → Daniel van Vugt (vanvugt) |
status: | Triaged → In Progress |
description: | updated |
Changed in gdm3 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
description: | updated |
In theory you should never see Wayland because you have:
WaylandEnable =false
Although I recall when 22.04 was released, some unpredictability was observed in the choice of session on Nvidia hybrid (dual GPU) systems.