[Bug 2006059] Re: systemd refuses to start secondary Xorg logins [org.gnome.Shell at x11.service: Skipped due to 'exec-condition'.]

Daniel van Vugt 2006059 at bugs.launchpad.net
Tue Apr 18 06:18:49 UTC 2023


Wow, great work Dann! Would you like to distro patch it or shall I?

** No longer affects: gnome-session (Ubuntu)

** No longer affects: systemd (Ubuntu)

** Tags added: fixed-in-gdm3-43.0 fixed-upstream

** Also affects: gdm3 (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: gdm3 (Ubuntu Lunar)
   Importance: Undecided
       Status: Confirmed

** Also affects: gdm3 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: gdm3 (Ubuntu Jammy)
       Status: New => Confirmed

** Changed in: gdm3 (Ubuntu Kinetic)
       Status: New => Fix Released

** Changed in: gdm3 (Ubuntu Lunar)
       Status: Confirmed => Fix Released

** Changed in: gdm3 (Ubuntu Jammy)
   Importance: Undecided => Medium

** Changed in: gdm3 (Ubuntu Kinetic)
   Importance: Undecided => Medium

** Changed in: gdm3 (Ubuntu Lunar)
   Importance: Undecided => Medium

** Changed in: gdm3 (Ubuntu Jammy)
     Assignee: (unassigned) => dann frazier (dannf)

** Changed in: gdm3 (Ubuntu Jammy)
       Status: Confirmed => Triaged

** Description changed:

+ [ Impact ]
+ 
+ Switching to a second user falls back to Wayland even when Xorg was
+ explicitly selected.
+ 
+ [ Test Plan ]
+ 
+ 1. Create multiple accounts.
+ 
+ 2. Log in to user1 using a Xorg session. Don't log out.
+ 
+ 3. Log in to user2 using a Xorg session.
+ 
+ Verify you are in a Xorg session and not Wayland.
+ 
+ [ 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/custom.conf (see  https://docs.fedoraproject.org/en-US/quick-
  docs/configuring-xorg-as-default-gnome-session/). This solution does not
  work.
  
  I have also experimented with the following options:
  DefaultSession=gnome-xorg.desktop
  and
  PreferredDisplayServer=xorg
  Neither appears to set xorg as the default...
  
  I have found the following bug reported upstream against gdm:
  https://gitlab.gnome.org/GNOME/gdm/-/issues/733.
  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
  ProcVersionSignature: Ubuntu 6.0.0-1010.10-oem 6.0.9
  Uname: Linux 6.0.0-1010-oem x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  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..etc.gdm3.custom.conf: 2023-01-30T07:57:48.574915

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2006059

Title:
  systemd refuses to start secondary Xorg logins
  [org.gnome.Shell at x11.service: Skipped due to 'exec-condition'.]

Status in gdm:
  Fix Released
Status in gdm3 package in Ubuntu:
  Fix Released
Status in gdm3 source package in Jammy:
  Triaged
Status in gdm3 source package in Kinetic:
  Fix Released
Status in gdm3 source package in Lunar:
  Fix Released

Bug description:
  [ Impact ]

  Switching to a second user falls back to Wayland even when Xorg was
  explicitly selected.

  [ Test Plan ]

  1. Create multiple accounts.

  2. Log in to user1 using a Xorg session. Don't log out.

  3. Log in to user2 using a Xorg session.

  Verify you are in a Xorg session and not Wayland.

  [ 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/custom.conf (see  https://docs.fedoraproject.org/en-
  US/quick-docs/configuring-xorg-as-default-gnome-session/). This
  solution does not work.

  I have also experimented with the following options:
  DefaultSession=gnome-xorg.desktop
  and
  PreferredDisplayServer=xorg
  Neither appears to set xorg as the default...

  I have found the following bug reported upstream against gdm:
  https://gitlab.gnome.org/GNOME/gdm/-/issues/733.
  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
  ProcVersionSignature: Ubuntu 6.0.0-1010.10-oem 6.0.9
  Uname: Linux 6.0.0-1010-oem x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  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..etc.gdm3.custom.conf: 2023-01-30T07:57:48.574915

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/2006059/+subscriptions




More information about the foundations-bugs mailing list