I could not reproduce with kinetic (see my steps in bug 2016193). I went
back to a clean jammy install, reproduced, then upgraded just the gdm3
packages to kinetic's versions, and the problem went away, so it seems
gdm3 in isolation is the relevant difference. I took a look at the
differences between the jammy and kinetic gdm3 source, and there really
isn't that much different. One piece that stood out is the following,
which appears to be a typo:

diff -urpN gdm3-42.0/daemon/gdm-local-display-factory.c 
gdm3-43.0/daemon/gdm-local-display-factory.c
--- gdm3-42.0/daemon/gdm-local-display-factory.c        2023-04-17 
15:07:42.000000000 -0600
+++ gdm3-43.0/daemon/gdm-local-display-factory.c        2022-09-20 
09:22:21.000000000 -0600
@@ -402,7 +402,7 @@ gdm_local_display_factory_create_transie
                 display = gdm_local_display_new ();
                 g_object_set (G_OBJECT (display),
                               "session-type", session_types[0],
-                              "supported-session-tyes", session_types,
+                              "supported-session-types", session_types,
                               NULL);
                 is_initial = TRUE;
         }

On a lark, I rebuilt the jammy version of gdm3 to use "supported-
session-types" here, and that seems to have fixed the problem for me. I
can reliable downgrade to the jammy version of gdm3 and reproduce, and
reliably *not* reproduce the bug after installing my patched version.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/2006059

Title:
  systemd refuses to start secondary Xorg logins
  [[email protected]: Skipped due to 'exec-condition'.]

Status in gdm3 package in Ubuntu:
  Confirmed
Status in gnome-session package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Confirmed

Bug 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/ubuntu/+source/gdm3/+bug/2006059/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to