summaryrefslogtreecommitdiffstats
path: root/sesman/scp_v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/scp_v1.c')
-rw-r--r--sesman/scp_v1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sesman/scp_v1.c b/sesman/scp_v1.c
index 49a23af8..fd7eb275 100644
--- a/sesman/scp_v1.c
+++ b/sesman/scp_v1.c
@@ -112,13 +112,15 @@ scp_v1_process(struct SCP_CONNECTION* c, struct SCP_SESSION* s)
{
log_message(&(g_cfg->log), LOG_LEVEL_INFO, "starting Xvnc session...");
display = session_start(s->width, s->height, s->bpp, s->username,
- s->password, data, SESMAN_SESSION_TYPE_XVNC);
+ s->password, data, SESMAN_SESSION_TYPE_XVNC,
+ s->domain, s->program, s->directory);
}
else
{
log_message(&(g_cfg->log), LOG_LEVEL_INFO, "starting X11rdp session...");
display = session_start(s->width, s->height, s->bpp, s->username,
- s->password, data, SESMAN_SESSION_TYPE_XRDP);
+ s->password, data, SESMAN_SESSION_TYPE_XRDP,
+ s->domain, s->program, s->directory);
}
e = scp_v1s_connect_new_session(c, display);