summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-02-07 22:40:35 -0800
committerPavel Roskin <plroskin@gmail.com>2016-02-07 22:50:14 -0800
commit5575197eaa9afe4801a837a3bfa6f0e0701e525e (patch)
treee4c63966c574ca8846bd7d657f7d9c8a0621ef58 /sesman
parenta25e5e99dd2f6d8d553ee602024713707463fd4e (diff)
downloadxrdp-proprietary-5575197eaa9afe4801a837a3bfa6f0e0701e525e.tar.gz
xrdp-proprietary-5575197eaa9afe4801a837a3bfa6f0e0701e525e.zip
sesman: don't set LANG, let initialization scripts take care of it
Setting LANG to en_US.UTF-8 suppresses language settings from /etc/locale.conf See https://bugzilla.redhat.com/show_bug.cgi?id=1290820
Diffstat (limited to 'sesman')
-rw-r--r--sesman/env.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sesman/env.c b/sesman/env.c
index 516b0ac3..b2f06160 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -130,7 +130,6 @@ env_set_user(char *username, char *passwd_file, int display,
g_set_current_dir(pw_dir);
g_sprintf(text, ":%d.0", display);
g_setenv("DISPLAY", text, 1);
- g_setenv("LANG", "en_US.UTF-8", 1);
g_setenv("XRDP_SESSION", "1", 1);
if ((env_names != 0) && (env_values != 0) &&
(env_names->count == env_values->count))