From 5575197eaa9afe4801a837a3bfa6f0e0701e525e Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 7 Feb 2016 22:40:35 -0800 Subject: [PATCH] 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 --- sesman/env.c | 1 - 1 file changed, 1 deletion(-) 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))