Overview

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.

Instructions

Set an idle timeout

You can set an idle timeout using the following command:

[[code style="text-align: left; font-family: Consolas; font-size: 0.85em;"]]czoxMzg6XCJzdWRvIC91c3IvbG9jYWwvYmluL2N0eHJlZyB1cGRhdGUgLWsgXFwgXCJIS0xNL1N5c3RlbS9DdXJyZW50Q29udHJvbFNldHtbJiomXX0vQ29udHJvbC9DaXRyaXgvV2luU3RhdGlvbnMvdGNwXCJcXCAtdiBcIk1heElkbGVUaW1lXCIgLWQgJmx0O3RpbWVvdXQmZ3Q7XCI7e1smKiZdfQ==[[/code]]

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.

Set a disconnect timeout

You can set a disconnect timeout using the following command:

[[code style="text-align: left; font-family: Consolas; font-size: 0.85em;"]]czoxNDg6XCJzdWRvIC91c3IvbG9jYWwvYmluL2N0eHJlZyB1cGRhdGUgLWsgXFwgXCJIS0xNL1N5c3RlbS9DdXJyZW50Q29udHJvbFNldHtbJiomXX0vQ29udHJvbC9DaXRyaXgvV2luU3RhdGlvbnMvdGNwXCIgXFwgLXYgXCJNYXhEaXNjb25uZWN0aW9uVGltZVwiIC1kICZsdDt0aW1lb3V0JntbJiomXX1ndDtcIjt7WyYqJl19[[/code]]

The timeout value, specified in minutes, indicates how long the session can remain disconnected before being terminated.

NOTE: This change will not affect any existing sessions, only those created afterwards.

Disable idle and disconnect timers

To disable either of these timers, set their timeout values to 0.

[[code style="text-align: left; font-family: Consolas; font-size: 0.85em;"]]czoyNTk6XCJzdWRvIC91c3IvbG9jYWwvYmluL2N0eHJlZyB1cGRhdGUgLWsgXFwgXCJIS0xNL1N5c3RlbS9DdXJyZW50Q29udHJvbFNldHtbJiomXX0vQ29udHJvbC9DaXRyaXgvV2luU3RhdGlvbnMvdGNwXCIgXFwgLXYgXCJNYXhJZGxlVGltZVwiIC1kIDAgc3VkbyAvdXNyL2xvY2FsL2JpbntbJiomXX0vY3R4cmVnIHVwZGF0ZSAtayBcXCBcIkhLTE0vU3lzdGVtL0N1cnJlbnRDb250cm9sU2V0L0NvbnRyb2wvQ2l0cml4L1dpblN0YXRpb257WyYqJl19cy90Y3BcIlxcIC12IFwiTWF4RGlzY29ubmVjdGlvblRpbWVcIiAtZCAwXCI7e1smKiZdfQ==[[/code]]