Commit 607855dc authored by Giovanni Campagna's avatar Giovanni Campagna

daemon: reduce the amount of environment to send to the master process

Let's keep the environment vars that the daemon can depend upon
to a minimum, so that we reduce the dependency to the initialization
order and we avoid inverse dependencies with gnome-shell/XWayland.
The daemon was already ignoring most of these.

https://bugzilla.gnome.org/show_bug.cgi?id=756324
parent 7a475c66
......@@ -53,15 +53,10 @@ const gchar *GKD_UTIL_OUT_ENVIRONMENT[] = {
* early before these environment variables were set.
*/
const gchar *GKD_UTIL_IN_ENVIRONMENT[] = {
"DISPLAY",
"DBUS_SESSION_BUS_ADDRESS",
"DESKTOP_AUTOSTART_ID",
"ICEAUTHORITY",
"LANG",
"XAUTHORITY",
"XAUTHLOCALHOSTNAME",
"XDG_RUNTIME_DIR",
"XDG_SESSION_COOKIE",
"LOGNAME",
"USERNAME",
NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment