r54063 - in /desktop/stretch/gdm3/debian: changelog patches/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch patches/series
bigon at users.alioth.debian.org
bigon at users.alioth.debian.org
Wed Sep 20 22:55:11 UTC 2017
Author: bigon
Date: Wed Sep 20 22:55:11 2017
New Revision: 54063
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=54063
Log:
d/p/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch: Fix XDMCP
support when using dbus user's session. (Closes: #873199)
Added:
desktop/stretch/gdm3/debian/patches/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch
Modified:
desktop/stretch/gdm3/debian/changelog
desktop/stretch/gdm3/debian/patches/series
Modified: desktop/stretch/gdm3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/stretch/gdm3/debian/changelog?rev=54063&op=diff
==============================================================================
--- desktop/stretch/gdm3/debian/changelog [utf-8] (original)
+++ desktop/stretch/gdm3/debian/changelog [utf-8] Wed Sep 20 22:55:11 2017
@@ -1,3 +1,10 @@
+gdm3 (3.22.3-3+deb9u1) UNRELEASED; urgency=medium
+
+ * d/p/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch: Fix XDMCP
+ support when using dbus user's session. (Closes: #873199)
+
+ -- Laurent Bigonville <bigon at debian.org> Thu, 21 Sep 2017 00:52:08 +0200
+
gdm3 (3.22.3-3) unstable; urgency=medium
* libgdm1: add breaks/replaces on good old gdm. Who knows how many users
Added: desktop/stretch/gdm3/debian/patches/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/stretch/gdm3/debian/patches/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch?rev=54063&op=file
==============================================================================
--- desktop/stretch/gdm3/debian/patches/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch (added)
+++ desktop/stretch/gdm3/debian/patches/gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch [utf-8] Wed Sep 20 22:55:11 2017
@@ -0,0 +1,43 @@
+From 8b0186a6da9727cbc35897632aca2e8ebf0670a3 Mon Sep 17 00:00:00 2001
+From: Ray Strode <rstrode at redhat.com>
+Date: Wed, 20 Sep 2017 09:47:53 -0400
+Subject: [PATCH] gdm-sessions: force a session bus for non-seat0 session
+
+Eventually, our software should become "multi-seat aware",
+where it takes into account multiple seats at a time
+for the user (even if it's just putting up a dialog saying
+"user is busy" on all but one seat).
+
+We're not there yet. And user bus currently breaks XDMCP
+(which should really spawn session with its own separate user,
+ but again, we're not there yet).
+
+This commit changes GDM to start a session bus for all non-seat0
+displays, as a near-term workaround.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=787943
+---
+ daemon/gdm-session.c | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
+index e69291fb..d2dabd9e 100644
+--- a/daemon/gdm-session.c
++++ b/daemon/gdm-session.c
+@@ -2790,7 +2790,12 @@ gdm_session_start_session (GdmSession *self,
+ self->priv->selected_program);
+ }
+ } else {
+- program = g_strdup (self->priv->selected_program);
++ if (g_strcmp0 (self->priv->display_seat_id, "seat0") != 0) {
++ program = g_strdup_printf ("dbus-run-session -- %s",
++ self->priv->selected_program);
++ } else {
++ program = g_strdup (self->priv->selected_program);
++ }
+ }
+ }
+
+--
+2.14.1
+
Modified: desktop/stretch/gdm3/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/stretch/gdm3/debian/patches/series?rev=54063&op=diff
==============================================================================
--- desktop/stretch/gdm3/debian/patches/series [utf-8] (original)
+++ desktop/stretch/gdm3/debian/patches/series [utf-8] Wed Sep 20 22:55:11 2017
@@ -7,3 +7,4 @@
Hack-D-Bus-messages-from-Debian-8-libgdm-to-work-wit.patch
pam_gdm-allow-setting-pam-module-dir-at-configure-ti.patch
stop-greeter-explicitly-when-finishing-display.patch
+gdm-sessions-force-a-session-bus-for-non-seat0-sessi.patch
More information about the pkg-gnome-commits
mailing list