diff options
-rw-r--r-- | sesman/session.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sesman/session.c b/sesman/session.c index fb7193a1..856c969e 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -231,6 +231,36 @@ x_server_running_check_ports(int display) } } + if (!x_running) + { + g_sprintf(text, XRDP_CHANSRV_STR, display); + x_running = g_file_exist(text); + } + + if (!x_running) + { + g_sprintf(text, CHANSRV_PORT_OUT_STR, display); + x_running = g_file_exist(text); + } + + if (!x_running) + { + g_sprintf(text, CHANSRV_PORT_IN_STR, display); + x_running = g_file_exist(text); + } + + if (!x_running) + { + g_sprintf(text, CHANSRV_API_STR, display); + x_running = g_file_exist(text); + } + + if (!x_running) + { + g_sprintf(text, XRDP_X11RDP_STR, display); + x_running = g_file_exist(text); + } + return x_running; } |