summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
Diffstat (limited to 'sesman')
-rw-r--r--sesman/sesman.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c
index 7a25482a..29037f0c 100644
--- a/sesman/sesman.c
+++ b/sesman/sesman.c
@@ -417,6 +417,9 @@ main(int argc, char **argv)
log_message(LOG_LEVEL_INFO,
"starting xrdp-sesman with pid %d", g_pid);
+ /* make sure the socket directory exists */
+ g_mk_temp_dir("xrdp-sesman");
+
/* make sure the /tmp/.X11-unix directory exist */
if (!g_directory_exist("/tmp/.X11-unix"))
{