danielguerra69 / ubuntu-xrdp

Docker fully implemented Multi User xrdp with xorgxrdp and pulseaudio on Ubuntu 16.04/18.04
MIT License
251 stars 141 forks source link

add script to kill idle sessions #9

Closed fbartels closed 5 years ago

fbartels commented 5 years ago

this script would need to be executed through an (external) cron sheduler.

fbartels commented 5 years ago

Yes, that is a good point. What do you think about adding a parameter to the script? so if you just call ´/usr/bin/kill-idle-session.sh´ it will have the 30 minute timeout, but if you call ´/usr/bin/kill-idle-session.sh 180´ it will have a 180 minute timeout.

The default timeout could also be increased to e.g. one hour.