summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/chansrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/chansrv/chansrv.c')
-rw-r--r--sesman/chansrv/chansrv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
index 32316dc3..2877a376 100644
--- a/sesman/chansrv/chansrv.c
+++ b/sesman/chansrv/chansrv.c
@@ -704,11 +704,6 @@ main(int argc, char** argv)
LOGM((LOG_LEVEL_ERROR, "main: error, display is zero"));
return 1;
}
- if (xcommon_init() != 0)
- {
- LOGM((LOG_LEVEL_ERROR, "main: error, xcommon_init failed"));
- return 1;
- }
LOGM((LOG_LEVEL_INFO, "main: using DISPLAY %d", g_display_num));
g_snprintf(text, 255, "xrdp_chansrv_%8.8x_main_term", pid);
g_term_event = g_create_wait_obj(text);