8406
|
|
gdm-{wayland,x}-session: omit GNOME_SHELL_SESSION_MODE from environment
After a user logs out, the systemd --user session may still be running (if, say, the user session was left around in the closing state, because of pulseaudio).
If that happens, new user sessions will inherit the environment of previous sessions. Some of these environment variables are already intentionally pruned, DISPLAY, XAUTHORITY, WAYLAND_SOCKET, etc. One environment variable that isn't pruned, but should be, is GNOME_SHELL_SESSION_MODE.
If it lingers, users could end up in classic mode even though they picked the non-classic mode from the gear menu.
This commit adds GNOME_SHELL_SESSION_MODE to the list of environment variables to prune.
(minor changes to original patch and commit message from Ray Strode)
https://bugzilla.gnome.org/show_bug.cgi?id=785918
|
Xiaoguang Wang |
6 years ago
|
|
|
8405
|
|
|
Ray Strode |
6 years ago
|
|
|
8404
|
|
|
Alain Lojewski |
6 years ago
|
|
|
8403
|
|
|
hanniedu |
6 years ago
|
|
|
8402
|
|
|
Sam Spilsbury |
6 years ago
|
|
|
8401
|
|
|
Sam Spilsbury |
6 years ago
|
|
|
8400
|
|
|
Trần Ngọc Quân |
6 years ago
|
|
|
8399
|
|
|
Alexander Shopov |
6 years ago
|
|
|
8398
|
|
|
Changwoo Ryu |
6 years ago
|
|
|
8397
|
|
|
Rafael Fontenelle |
6 years ago
|
|
|
8396
|
|
|
Jiri Grönroos |
6 years ago
|
|
|
8395
|
|
|
Rūdolfs Mazurs |
6 years ago
|
|
|
8394
|
|
|
Cheng-Chia Tseng |
6 years ago
|
|
|
8393
|
|
|
Ask Hjorth Larsen |
6 years ago
|
|
|
8392
|
|
|
Milo Casagrande |
6 years ago
|
|
|
8391
|
|
|
Ray Strode |
6 years ago
|
|
|
8390
|
|
|
Sveinn í Felli |
6 years ago
|
|
|
8389
|
|
|
Anish Sheela |
6 years ago
|
|
|
8388
|
|
|
Ray Strode |
6 years ago
|
|
|
8387
|
|
|
Ray Strode |
6 years ago
|
|
|