Closed leigh123linux closed 7 months ago
Variables like GNOME_SHELL_SESSION_MODE may not always be set at login, causing them to survive between session. Add a list of variables that need to be unset, and explicitly unset them on the systemd side.
The list is taken from GDMs list of variables.
Based on https://github.com/GNOME/gnome-session/commit/b7b24627485c520f873db4e918e217a76ededd8c
Variables like GNOME_SHELL_SESSION_MODE may not always be set at login, causing them to survive between session. Add a list of variables that need to be unset, and explicitly unset them on the systemd side.
The list is taken from GDMs list of variables.
Based on https://github.com/GNOME/gnome-session/commit/b7b24627485c520f873db4e918e217a76ededd8c