In my current xRDP server (Ubuntu 20.04LTS) I've set up.
I have several users login through RDP via thinclients.
From time to time people leave their session active. aI'd like it for xrdp to close the session and log the user's account out after a certain amount of time, say 15mins. Now the users would have to log back in when they get back.
Is there a way I can do this? Disconnect and logoff xRDP session after a certain amount of time?
Here is my current .xsessionrc file for all users.
export GNOME_SHELL_SESSION_MODE=ubuntu export XDG_CURRENT_DESKTOP=ubuntu:GNOME export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg EOF
I had originally followed a guide to setup xRDP with the traditional GNOME environment vs the simplified version that rdp launches with.