From cc882a0eff61865a0d4ae2214ecc3c2cfabbe0e0 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 28 Jul 2012 19:50:58 -0700 Subject: chansrv: init xcommon --- sesman/chansrv/chansrv.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 2877a376..32316dc3 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -704,6 +704,11 @@ 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); -- cgit v1.2.1