pass domain, program, and directory to sesman and use directory and program
This commit is contained in:
+4
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user