diff options
Diffstat (limited to 'sesman/scp_v0.c')
-rw-r--r-- | sesman/scp_v0.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c index 918badc9..ddd5f30f 100644 --- a/sesman/scp_v0.c +++ b/sesman/scp_v0.c @@ -57,14 +57,16 @@ scp_v0_process(struct SCP_CONNECTION* c, struct SCP_SESSION* s) if (SCP_SESSION_TYPE_XVNC == s->type) { 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); + display = session_start(s->width, s->height, s->bpp, s->username, + 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); + display = session_start(s->width, s->height, s->bpp, s->username, + s->password, data, SESMAN_SESSION_TYPE_XRDP, + s->domain, s->program, s->directory); } } else |