Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jsegitz:branches:systemdhardening:X11:RemoteDesktop
xrdp
xrdp-support-KillDisconnected-for-Xvnc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xrdp-support-KillDisconnected-for-Xvnc.patch of Package xrdp
Index: xrdp-0.9.23.1/sesman/session.c =================================================================== --- xrdp-0.9.23.1.orig/sesman/session.c 2023-11-30 21:35:45.365863285 +0100 +++ xrdp-0.9.23.1/sesman/session.c 2023-11-30 21:35:45.361863283 +0100 @@ -825,6 +825,16 @@ g_free(passwd_file); + /* translate sesman.ini options KillDisconnected and DisconnectedTimeLimit + * into TigerVNC Xvnc parameteres */ + if (g_cfg->sess.kill_disconnected != 0 || + g_cfg->sess.max_disc_time != 0) + { + list_add_item(xserver_params, (tintptr)g_strdup("-MaxDisconnectionTime")); + g_snprintf(text, 255, "%d", g_cfg->sess.max_disc_time < 60 ? 60 : g_cfg->sess.max_disc_time); + list_add_item(xserver_params, (tintptr)g_strdup(text)); + } + /* additional parameters from sesman.ini file */ //config_read_xserver_params(SESMAN_SESSION_TYPE_XVNC, // xserver_params);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor