- Add gdm-xvnc-start-session-failed.patch: None seat0 session runs without running launcher(bsc#1219205 glgo#GNOME/gdm#909). OBS-URL: https://build.opensuse.org/request/show/1153711 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=541
17 lines
674 B
Diff
17 lines
674 B
Diff
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
|