Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

How to have 16' user inactivity timeout and reconnect ?

Post Reply
GreenElfT
Posts: 7
Joined: 2021-12-09 11:17

How to have 16' user inactivity timeout and reconnect ?

Post by GreenElfT »

Hello

I have a question in 2 parts about session termination, that I'm not totally sure about with the WEBHELP:

Currently I have this, and from WEBHELP, I understand why the session never ends, with no mouse/keyboard input... The "IdleInput" I expected it to be related to mouse/keyboard, but apparently not.
IdleTimeout=0
IdleInputTimeout=16
KeepAliveInterval=5

So the proper parameter to reach my goal is this, right?
IdleTimeout=16
IdleInputTimeout=0
KeepAliveInterval=0


Now, if with setting, I would like to have the client to auto-reconnect after 5 seconds, if I use fast user switching, so Reconnect=5 in the connection file... Is there a way to have both settings coexits = when really the 16' timeout, then no more reconnect. If other issue, yes, reconnect?
The server should have a way to tell the viewer = this is a clean end of session? To help client to react appropriately?

-----

WEBHELP
Timeouts
Idle Timeout socket:
If no data is recv send for X seconds, the socket is disabled. This cause viewer and server to disconnect. If autoreconnect is enabled, the viewer auto reconnect.

Keepalive Interval:
This keeps the socket open for a long time, even when no data is send/recv.

Idle Timeoutinput:<60 : Viewer go in slow mode after x seconds of inactivity
>=60 viewer close after x time of inactivity even with autoconnect enabled
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: How to have 16' user inactivity timeout and reconnect ?

Post by Rudi De Vos »

You need to use IdleInputTimeout = 960 ( 16 minutes) for a fast test use 61, need to be > 60 s

This parameter is actual send to the viewer, and it's the viewer that disconnect if no input is send to the server for x seconds.
On IdleInputTimeout, the viewer close, it's not the server that breaks the connection, but the viewer that close.

AutoReconnect can be used together with IdleInputTimeout .
AutoReconnect is a reaction on a server disconnect, IdleInputTimeout close the viewer.
Post Reply