Skip to main content
Version: v44

RDP Native Client Times Out Due to Inactivity

PrivX may unexpectedly terminate idle native RDP client sessions after a period of inactivity. The following message appears in the PrivX logs:

Dec 15 17:08:52 privx-test rdpproxy: [rdpproxy] psid="160804401718288" user="ffa3c932-9080-4b40-5c9e-477fcf9ea867" type="TARGET_DISCONNECTION" reason="Connection closed on inactivity"

This is likely intended behavior, but it can be adjusted to meet specific needs.

Potential Solution​

To extend the inactivity timeout and prevent unexpected session disconnections, update (or create) the RDP proxy session_timeout configuration variable.

Modify the /opt/privx/etc/rdpmitm/rdpproxy.ini file as follows:

[globals]
# target session inactivity timeout (seconds)
inactivity_timeout=300