diff options
author | metalefty <meta@vmeta.jp> | 2018-10-18 10:40:12 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 10:40:12 +0900 |
commit | a83400060b8ad6ded4cedb0b060f9c0137b628ae (patch) | |
tree | 586679efc0c2acc04cdd3e7d6809cc9eafd421d5 | |
parent | ae1514c1679e87edfdeba5ca3eb2b3659ef44b1a (diff) | |
parent | 5ea403430a5e531cf30af32c04f80a146e495dc3 (diff) | |
download | xrdp-proprietary-a83400060b8ad6ded4cedb0b060f9c0137b628ae.tar.gz xrdp-proprietary-a83400060b8ad6ded4cedb0b060f9c0137b628ae.zip |
Merge pull request #1227 from metalefty/idle-disc
Ressurect IdleTimeLimit
-rw-r--r-- | docs/man/sesman.ini.5.in | 7 | ||||
-rw-r--r-- | sesman/sesman.ini.in | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/man/sesman.ini.5.in b/docs/man/sesman.ini.5.in index 4fad8eb4..2074985c 100644 --- a/docs/man/sesman.ini.5.in +++ b/docs/man/sesman.ini.5.in @@ -140,6 +140,13 @@ Sets the time limit (in seconds) before a disconnected session is killed. If set to \fI0\fR, automatic killing is disabled. .TP +\fBIdleTimeLimit\fR=\fInumber\fR +Sets the time limit (in seconds) before an idle session is disconnected. +Idle means no keyboard inputs and no mouse moves/clicks here. +If set to \fI0\fR, idle sessions will never be disconnected by timeout. +This works only with xorgxrdp session. Moreover, xorgxrdp must be v0.2.9 or later. + +.TP \fBPolicy\fR=\fI[Default|UBD|UBI|UBC|UBDI|UBDC]\fR Session allocation policy. By default, a new session is created for the combination <User,BitPerPixel> when using Xrdp, and diff --git a/sesman/sesman.ini.in b/sesman/sesman.ini.in index 68ef7795..fb930f6b 100644 --- a/sesman/sesman.ini.in +++ b/sesman/sesman.ini.in @@ -44,6 +44,12 @@ KillDisconnected=false ; min 60 seconds DisconnectedTimeLimit=0 +;; IdleTimeLimit (specify in second) - wait before disconnect idle sessions +; Type: integer +; Default: 0 +; Set to 0 to disable idle disconnection. +IdleTimeLimit=0 + ;; Policy - session allocation policy ; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ] ; Default: Xrdp:<User,BitPerPixel> and Xvnc:<User,BitPerPixel,DisplaySize> |