This is an xRDP, in either sesmen.ini or xrdp.ini set connections to 1 then
there are timeouts that reset the connections.Or you can just right a bash
script using awk sed detect a closed port port 3389 it resets the connection
after nth time. Hope his helpsSeanSent by Android Ai hijacked INS
communications 6G
-------- Original message --------From: Kevin Cameron <[email protected]>
Date: 11/7/22 8:22 AM (GMT-08:00) To: [email protected] Subject:
Configuration to recycle user sessions on Centos Hi all, I am using Guacamole
for multiple users to connect to specific machines depending on their AD
membership.The machines are all Centos 7 VMs using xrdp and Gnome.I have
Guacamole connections setup with the user and pw variable so they pass through
the values the user enters and that is used to authenticate the user. The user
is passed right to the desktop.This is all working: The problem I have is I
have random users that have multiple sessions open when I run loginctl. Some
of these sessions are weeks old and are orphans. By default XRDP has -1 set for
the port so it always looks for a fresh port to connect the user on.Various
solutions online suggest setting XRDP to ask on connection for a port or to set
a fixed port but then all users would end up on the same session which would be
bad!Has anyone come across this and how did they resolve this?Thanks,Kevin