[gnome-session/benzea/fix-setup-display-env-leak: 10/10] util: Unset GNOME_SETUP_DISPLAY at login time



commit 7c928fcd9c0b0a61772bebf877306bdacbc779a8
Author: Benjamin Berg <bberg redhat com>
Date:   Sat Mar 21 16:03:30 2020 +0100

    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
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]