summaryrefslogtreecommitdiffstats
path: root/sesman/env.c
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-03-02 20:31:22 -0600
committerTimothy Pearson <tpearson@raptorengineering.com>2019-03-02 20:31:22 -0600
commit2570846cbedb2f82988fb1768423c852b794f9f0 (patch)
tree0d56c58af00a11cdda63df38c498436ccec15858 /sesman/env.c
parent6f37be1294632c25cf37a03fae6be6772ba95351 (diff)
downloadxrdp-proprietary-2570846cbedb2f82988fb1768423c852b794f9f0.tar.gz
xrdp-proprietary-2570846cbedb2f82988fb1768423c852b794f9f0.zip
Fix non-root-user display server startup failure
Diffstat (limited to 'sesman/env.c')
-rw-r--r--sesman/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/env.c b/sesman/env.c
index b097f38c..8a11f818 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -123,7 +123,7 @@ env_set_user(const char *username, char **passwd_file, int display,
if (error == 0)
{
uid = pw_uid;
- error = g_setuid(uid);
+// error = g_setuid(uid);
}
g_mk_socket_path(0);