2021-10-02 12:51:34 -04:00
|
|
|
Get wayland-session wrapper from environment.
|
|
|
|
|
|
|
|
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
|
2022-08-18 20:59:42 -04:00
|
|
|
index 3b83fcd3..e60e6a57 100644
|
2021-10-02 12:51:34 -04:00
|
|
|
--- a/daemon/gdm-session.c
|
|
|
|
+++ b/daemon/gdm-session.c
|
2022-08-18 20:59:42 -04:00
|
|
|
@@ -2933,8 +2933,9 @@ gdm_session_start_session (GdmSession *self,
|
2021-10-02 12:51:34 -04:00
|
|
|
allow_remote_connections? "--allow-remote-connections " : "",
|
|
|
|
command);
|
|
|
|
} else {
|
|
|
|
- program = g_strdup_printf (LIBEXECDIR "/gdm-wayland-session %s\"%s\"",
|
|
|
|
+ program = g_strdup_printf (LIBEXECDIR "/gdm-wayland-session %s\"%s %s\"",
|
|
|
|
register_session ? "--register-session " : "",
|
|
|
|
+ g_getenv ("GDM_WAYLAND_SESSION"),
|
|
|
|
command);
|
|
|
|
}
|
|
|
|
} else if (run_xsession_script) {
|
2022-08-18 20:59:42 -04:00
|
|
|
@@ -2965,8 +2966,9 @@ gdm_session_start_session (GdmSession *self,
|
2021-10-02 12:51:34 -04:00
|
|
|
register_session ? "--register-session " : "",
|
|
|
|
self->selected_program);
|
|
|
|
} else {
|
2021-10-03 13:55:39 -04:00
|
|
|
- program = g_strdup_printf (LIBEXECDIR "/gdm-wayland-session %s\"dbus-run-session -- %s\"",
|
|
|
|
+ program = g_strdup_printf (LIBEXECDIR "/gdm-wayland-session %s\"dbus-run-session -- %s %s\"",
|
2021-10-02 12:51:34 -04:00
|
|
|
register_session ? "--register-session " : "",
|
|
|
|
+ g_getenv ("GDM_WAYLAND_SESSION"),
|
|
|
|
self->selected_program);
|
|
|
|
}
|
|
|
|
} else {
|