reassign 927667 gdm3
tags 927667 +patch
thanks

On Fri, May 10, 2019 at 10:26:07AM +0100, Jonathan Dowland wrote:
Two ways of resolving this are: Either the default GNOME3 session in Debian
switched back to Xorg, or the default desktop session is switched away from
GNOME; but I would much prefer the former.

The attached debdiff (bringing back the similar change from 2016) seems
to work for me (tested in a VM) but I would appreciate any additional
testing that folks could spare.

The debdiff is an NMU but I currently have no plans to upload it as such.

Also available at:
   https://salsa.debian.org/gnome-team/gdm/merge_requests/8

--

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀
commit 049dc7f4142850ae34ea530b5447175dd8a3834e
Author: Jonathan Dowland <j...@debian.org>
Date:   Thu May 23 16:43:14 2019 +0100

    postpone switch to Wayland as default, again
    
    This is a repeat of 569d7f50fe3a06908886cefc5168126197fec570 from
    2016, postponing the switch to Wayland for the default Debian
    desktop. See #927667 for discussion.

diff --git a/debian/changelog b/debian/changelog
index fc06f058..d2e936f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+gdm3 (3.30.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Re-introduce debian/patches/09_default_session.patch, switching the
+    default session back to "default", postponing a move to Wayland by
+    default for Buster. Closes: #927667.
+
+ -- Jonathan Dowland <j...@debian.org>  Fri, 24 May 2019 10:52:17 +0100
+
 gdm3 (3.30.2-3) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/patches/09_default_session.patch b/debian/patches/09_default_session.patch
new file mode 100644
index 00000000..d41fc744
--- /dev/null
+++ b/debian/patches/09_default_session.patch
@@ -0,0 +1,19 @@
+Description: Prefer (Xorg-based) desktop session
+ Default to "default.desktop" session, postponing a switch to
+ Wayland for the default Debian desktop.
+
+Origin: commit:569d7f50fe3a06908886cefc5168126197fec570
+Bug-Debian: https://bugs.debian.org/927667
+
+index ca06608c..3276b902 100644
+--- a/daemon/gdm-session.c
++++ b/daemon/gdm-session.c
+@@ -560,7 +560,7 @@ get_fallback_session_name (GdmSession *self)
+                 }
+         }
+ 
+-        name = g_strdup ("gnome");
++        name = g_strdup ("default");
+         if (get_session_command_for_name (self, name, NULL)) {
+                 g_free (self->priv->fallback_session_name);
+                 self->priv->fallback_session_name = name;
diff --git a/debian/patches/series b/debian/patches/series
index 69745241..87fece76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,6 +2,7 @@ manager-don-t-kill-timed-login-session-immediately-after-.patch
 manager-session-Add-some-debugging-around-starting-reauth.patch
 session-Don-t-allow-greeter-operations-on-an-running-sess.patch
 GdmManager-Don-t-perform-timed-login-if-session-gets-star.patch
+09_default_session.patch
 16_xserver_path.patch
 90_config_comments.patch
 91_dconf_database_path.patch

Reply via email to