public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lightdm] f44: Fix logind multiseat issue
@ 2026-08-11 10:44 Leigh Scott
  0 siblings, 0 replies; only message in thread
From: Leigh Scott @ 2026-08-11 10:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/lightdm
Branch : f44
Commit : 9aadb7479b17c5488637dfe072f33a3f1c437063
Author : Leigh Scott <leigh123linux@gmail.com>
Date   : 2026-08-11T11:37:15+01:00
Stats  : +26/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/lightdm/c/9aadb7479b17c5488637dfe072f33a3f1c437063?branch=f44

Log:
Fix logind multiseat issue

---
diff --git a/lightdm.spec b/lightdm.spec
index bf54988..6631623 100644
--- a/lightdm.spec
+++ b/lightdm.spec
@@ -2,7 +2,7 @@
 %bcond_with tests
 
 %global glib2_version	%(pkg-config --modversion glib-2.0 2>/dev/null || echo "2.44")
-%global giturl		https://github.com/CanonicalLtd/lightdm
+%global giturl		https://github.com/ubuntu/lightdm
 
 Name:		lightdm
 Summary:	A cross-desktop Display Manager
@@ -39,6 +39,7 @@ Patch1:		remove_bin_path.patch
 Patch2:		%{giturl}/pull/5.patch#/lightdm-1.25.1-disable_dmrc.patch
 
 # Pending
+Patch3:     %{giturl}/pull/454.patch#/logind_multiseat_fix.patch
 
 # Upstream commits
 

diff --git a/logind_multiseat_fix.patch b/logind_multiseat_fix.patch
new file mode 100644
index 0000000..b7e9be6
--- /dev/null
+++ b/logind_multiseat_fix.patch
@@ -0,0 +1,24 @@
+From 884f2c0989a0c0a6393421456d83444e0ced7a23 Mon Sep 17 00:00:00 2001
+From: nerdopolis <bluescreenavenger@gmail.com>
+Date: Wed, 5 Aug 2026 23:32:45 -0400
+Subject: [PATCH] Assume that the seat CanMultiSession by default
+
+logind having dropped listing the CanMultiSession property in 2024 now makes
+lightdm assume it is always false. This is incorrect as the reason why logind
+now hides this property, is because it is actually unconditionally true.
+---
+ src/login1.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/login1.c b/src/login1.c
+index 7fe84119..107ab6da 100644
+--- a/src/login1.c
++++ b/src/login1.c
+@@ -196,6 +196,7 @@ add_seat (Login1Service *service, const gchar *id, const gchar *path)
+ 
+         const gchar *name;
+         GVariant *value;
++        s_priv->can_multi_session = TRUE;
+         while (g_variant_iter_loop (properties, "{&sv}", &name, &value))
+         {
+             if (strcmp (name, "CanGraphical") == 0 && g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN))

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:44 [rpms/lightdm] f44: Fix logind multiseat issue Leigh Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox