pass domain, program, and directory to sesman and use directory and program

This commit is contained in:
jsorg71
2009-08-19 07:27:35 +00:00
parent 3fd42d808a
commit df8527b251
10 changed files with 197 additions and 18 deletions
+4 -2
View File
@@ -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);