How to Enable/Disable HDX Session Idle & Disconnect Timers on Linux VDA
The Linux VDA supports idle timers for controlling how long a HDX session can remain idle before being disconnected, and disconnect timers for controlling how long a session can remain disconnected before being terminated. When an idle timer expires for a session, due to no user interaction with that session, the user will receive a warning dialog informing them that they are going to be disconnected in five minutes.
These timers are not enabled by default, implying sessions can remain in the idle or disconnected state indefinitely.
Today, we’re going to talk about how to enable, configure and disable idle/disconnect timers on the Linux VDA.
Set an idle timeout
You can set an idle timeout using the following command:
sudo /usr/local/bin/ctxreg update -k \ "HKLM/System/CurrentControlSet/Control/Citrix/WinStations/tcp"\ -v "MaxIdleTime" -d <timeout>
The timeout value, specified in minutes, indicates how long a session can remain idle before the user will receive the warning message. The session will be disconnected five minutes after this. This five minute warning interval is not configurable.
NOTE: This change will not affect any existing sessions, only those created afterwards.