Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdm for openSUSE:Factory checked in at 2024-03-05 18:47:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdm (Old) and /work/SRC/openSUSE:Factory/.gdm.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdm" Tue Mar 5 18:47:02 2024 rev:265 rq:1154603 version:45.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gdm/gdm.changes 2024-03-03 20:18:51.096810898 +0100 +++ /work/SRC/openSUSE:Factory/.gdm.new.1770/gdm.changes 2024-03-05 18:47:06.277293352 +0100 @@ -1,0 +2,6 @@ +Mon Mar 4 01:24:06 UTC 2024 - Xiaoguang Wang <[email protected]> + +- Update gdm-xvnc-start-session-failed.patch: Following the upstream + final solution(bsc#1219205 glgo#GNOME/gdm#909). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdm-xvnc-start-session-failed.patch ++++++ --- /var/tmp/diff_new_pack.zQNTP6/_old 2024-03-05 18:47:07.197326757 +0100 +++ /var/tmp/diff_new_pack.zQNTP6/_new 2024-03-05 18:47:07.201326902 +0100 @@ -1,17 +1,34 @@ +From f984069418485191fb8fee16c9f202ac2b717e41 Mon Sep 17 00:00:00 2001 +From: Joan Torres <[email protected]> +Date: Fri, 1 Mar 2024 12:07:38 +0100 +Subject: [PATCH] session: Reuse the VT when on XDMCP + +XDMCP is running when session_type is not wayland and is not on any +seat_id. + +Consider this to keep using DISPLAY_MODE_REUSE_VT on XDMCP (keep using the +same Xorg/Xvnc server), otherwise, the vncserver would be closed. +--- + daemon/gdm-session.c | 5 +++++ + 1 file changed, 5 insertions(+) + diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c -index d6c39c2..52d9718 100644 +index 09b6ce52e..a4c4b2dcf 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c -@@ -3431,8 +3431,9 @@ gdm_session_get_display_mode (GdmSession *self) +@@ -3648,6 +3648,11 @@ gdm_session_get_display_mode (GdmSession *self) self->is_program_session? "yes" : "no", self->display_seat_id); -- if (g_strcmp0 (self->display_seat_id, "seat0") != 0) { -- return GDM_SESSION_DISPLAY_MODE_LOGIND_MANAGED; -+ if (g_strcmp0 (self->display_seat_id?: "", "") == 0 -+ && g_strcmp0 (self->session_type?: "", "") == 0) { ++ if (self->display_seat_id == NULL && ++ g_strcmp0 (self->session_type, "wayland") != 0) { + return GDM_SESSION_DISPLAY_MODE_REUSE_VT; ++ } ++ + if (g_strcmp0 (self->display_seat_id, "seat0") != 0) { + return GDM_SESSION_DISPLAY_MODE_LOGIND_MANAGED; } - - #ifdef ENABLE_USER_DISPLAY_SERVER +-- +GitLab +
