Accepting request 936402 from home:xiaoguang_wang:branches:GNOME:Factory
- Add gdm-restart-greeter-session-after-crash.patch: When active vt is gdm initial vt, restart greeter session. Avoiding the blank screen when greeter session crashed (bsc#1190230 glgo#GNOME/gdm#735). OBS-URL: https://build.opensuse.org/request/show/936402 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=489
This commit is contained in:
parent
4ddb74abc4
commit
f190431d84
17
gdm-restart-greeter-session-after-crash.patch
Normal file
17
gdm-restart-greeter-session-after-crash.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Index: gdm-3.34.1/daemon/gdm-local-display-factory.c
|
||||
===================================================================
|
||||
--- gdm-3.34.1.orig/daemon/gdm-local-display-factory.c
|
||||
+++ gdm-3.34.1/daemon/gdm-local-display-factory.c
|
||||
@@ -366,7 +366,11 @@ on_display_status_changed (GdmDisplay
|
||||
* ensures we get a new login screen when the user logs out,
|
||||
* if there isn't one.
|
||||
*/
|
||||
- if (is_local && g_strcmp0 (session_class, "greeter") != 0) {
|
||||
+ g_debug ("GdmLocalDisplayFactory: session_class = %s active_vt = %u", session_class, factory->active_vt);
|
||||
+ if (is_local &&
|
||||
+ (g_strcmp0 (session_class, "greeter") != 0 ||
|
||||
+ factory->active_vt == GDM_INITIAL_VT ||
|
||||
+ factory->active_vt == 0)) {
|
||||
/* reset num failures */
|
||||
factory->num_failures = 0;
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 03:36:08 UTC 2021 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||
|
||||
- Add gdm-restart-greeter-session-after-crash.patch: When active vt
|
||||
is gdm initial vt, restart greeter session. Avoiding the blank
|
||||
screen when greeter session crashed
|
||||
(bsc#1190230 glgo#GNOME/gdm#735).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 23 01:55:56 UTC 2021 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||
|
||||
|
3
gdm.spec
3
gdm.spec
@ -65,6 +65,8 @@ Patch14: gdm-switch-user-tty7.patch
|
||||
Patch15: gdm-disable-wayland-on-mgag200-chipsets.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-daemon-Infer-session-type-from-desktop-file.patch bsc#1191809 glgo#GNOME/gdm#159 rstrode@redhat.com -- daemon: Infer session type from desktop file if user has no saved session type
|
||||
Patch16: gdm-daemon-Infer-session-type-from-desktop-file.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-restart-greeter-session-after-crash.patch bsc#1190230 glgo#GNOME/gdm#735 xwang@suse.com -- Restart greeter session when crashed
|
||||
Patch17: gdm-restart-greeter-session-after-crash.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.
|
||||
Patch1000: gdm-disable-gnome-initial-setup.patch
|
||||
@ -223,6 +225,7 @@ running display manager.
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
%patch17 -p1
|
||||
|
||||
# SLE and Leap only patches start at 1000
|
||||
%if 0%{?sle_version}
|
||||
|
Loading…
x
Reference in New Issue
Block a user