summaryrefslogtreecommitdiffstats
path: root/sesman/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/env.c')
-rw-r--r--sesman/env.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sesman/env.c b/sesman/env.c
index 72a67642..b650d0b3 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -105,6 +105,7 @@ env_set_user(char *username, char *passwd_file, int display)
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 (passwd_file != 0)
{