Accepting request 1153829 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1153829 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdm?expand=0&rev=264
This commit is contained in:
commit
5d7f29b54f
16
gdm-xvnc-start-session-failed.patch
Normal file
16
gdm-xvnc-start-session-failed.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
|
||||
index d6c39c2..52d9718 100644
|
||||
--- a/daemon/gdm-session.c
|
||||
+++ b/daemon/gdm-session.c
|
||||
@@ -3431,8 +3431,9 @@ 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) {
|
||||
+ return GDM_SESSION_DISPLAY_MODE_REUSE_VT;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_USER_DISPLAY_SERVER
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 01:17:18 UTC 2024 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||
|
||||
- Add gdm-xvnc-start-session-failed.patch: None seat0 session runs
|
||||
without running launcher(bsc#1219205 glgo#GNOME/gdm#909).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 10:51:12 UTC 2024 - Alynx Zhou <alynx.zhou@suse.com>
|
||||
|
||||
|
3
gdm.spec
3
gdm.spec
@ -72,6 +72,8 @@ Patch4: gdm-xauthlocalhostname.patch
|
||||
Patch5: gdm-switch-to-tty1.patch
|
||||
# PATCH-FIX-OPENSUSE gdm-initial-setup-hardening.patch boo#1140851, glgo#GNOME/gnome-initial-setup#76 fezhang@suse.com -- Prevent gnome-initial-setup running if any regular user has perviously logged into the system
|
||||
Patch6: gdm-initial-setup-hardening.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-xvnc-start-session-failed.patch bsc#1219205 glgo#GNOME/gdm#909 xwang@suse.com -- None seat0 session runs without running launcher
|
||||
Patch7: gdm-xvnc-start-session-failed.patch
|
||||
|
||||
### NOTE: Keep please SLE-only patches at bottom (starting on 1000).
|
||||
# PATCH-FIX-SLE gdm-disable-gnome-initial-setup.patch bnc#1067976 qzhao@suse.com -- Disable gnome-initial-setup runs before gdm, g-i-s will only serve for CJK people to choose the input-method after login.
|
||||
@ -251,6 +253,7 @@ running display manager.
|
||||
%patch -P 4 -p1
|
||||
%patch -P 5 -p1
|
||||
%patch -P 6 -p1
|
||||
%patch -P 7 -p1
|
||||
%endif
|
||||
|
||||
%ifarch s390 s390x
|
||||
|
Loading…
x
Reference in New Issue
Block a user