Looking for a solution on a multimonitor setup where I can reset the inactivity timer on the client sessions to zero by simulating a mouse movement or keyboard press when any of the other sessions
running on the same computer with the identical hostname switches usernames.
When one client user switches their username, we are using a client message to switch the current user to the new user account that logged in.
The problem is that when the client message script is executed and the new user is logged into all sessions running on the host, the client inactivity script automatically logs out these inactive sessions because the respective inactivity timer has expired.
When all client sessions running on the multimonitor setup have exceeded the inactivity timer setpoint, this would be the trigger for switching all client sessions to the ‘default’ read only user.