diff options
author | Björn Esser <[email protected]> | 2017-05-07 12:43:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-05-25 19:33:52 +0200 |
commit | 0495fb8fa8f584a4f294254e39cbdc5615defc87 (patch) | |
tree | 86fddf181e5b557c8075afb7f86eaae627645fc1 /mate-session/main.c | |
parent | da4fc8a9904b518e75b460adc50b8c5a1e45eca2 (diff) | |
download | mate-session-manager-0495fb8fa8f584a4f294254e39cbdc5615defc87.tar.bz2 mate-session-manager-0495fb8fa8f584a4f294254e39cbdc5615defc87.tar.xz |
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
Diffstat (limited to 'mate-session/main.c')
-rw-r--r-- | mate-session/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } + |