From 7b1d2e7109caa4ae42a197fdc0450d5796bf3f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sun, 7 May 2017 12:43:48 +0200 Subject: dbus needs to be updated to get all user-defined environment when the session starts. dbus-update-activation-environment excepts certain environment variables, that systemd won't. We're going to want to eventually send the environment to systemd, too, so we should make sure the same set of variables get sent to both. See: https://bugzilla.gnome.org/show_bug.cgi?id=736660 --- mate-session/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mate-session/main.c') diff --git a/mate-session/main.c b/mate-session/main.c index db55ebd..da931af 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -620,6 +620,8 @@ int main(int argc, char** argv) exit(1); } + gsm_util_export_activation_environment (NULL); + mdm_log_init(); /* Allows to enable/disable debug from GSettings only if it is not set from argument */ @@ -727,3 +729,4 @@ int main(int argc, char** argv) return 0; } + -- cgit v1.2.1