From 7c928fcd9c0b0a61772bebf877306bdacbc779a8 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Sat, 21 Mar 2020 16:03:30 +0100 Subject: [PATCH] util: Unset GNOME_SETUP_DISPLAY at login time This variable was introduced to allow Xwayland auto-startup. Unfortunately, it will prevent g-s-d process startup if it leaks from a wayland session to an Xorg session. As such, add it to the list of variables that are unset at login time. --- gnome-session/gsm-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gnome-session/gsm-util.c b/gnome-session/gsm-util.c index 02bc4a57..5a52de57 100644 --- a/gnome-session/gsm-util.c +++ b/gnome-session/gsm-util.c @@ -64,6 +64,7 @@ static const char * const variable_unsetlist[] = { "WAYLAND_DISPLAY", "WAYLAND_SOCKET", "GNOME_SHELL_SESSION_MODE", + "GNOME_SETUP_DISPLAY", NULL }; -- GitLab