From 8f84934b86f04eebb9d7aebf32321925e1764958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sun, 7 May 2017 12:48:32 +0200 Subject: systemd user-session needs to be updated to get all user-defined enviroment when the session starts. If we get passed an environment variable, send it along to the systemd --user session so things running in that context can pick it up. See: https://bugzilla.gnome.org/show_bug.cgi?id=736660 --- mate-session/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mate-session/main.c') diff --git a/mate-session/main.c b/mate-session/main.c index da931af..161772d 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -622,6 +622,10 @@ int main(int argc, char** argv) gsm_util_export_activation_environment (NULL); +#ifdef HAVE_SYSTEMD + gsm_util_export_user_environment (NULL); +#endif + mdm_log_init(); /* Allows to enable/disable debug from GSettings only if it is not set from argument */ -- cgit v1.2.1