Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Difference between IdleTimeout and IdleInputTimeout?

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
Geeorgee
Posts: 1
Joined: 2023-03-15 00:03

Difference between IdleTimeout and IdleInputTimeout?

Post by Geeorgee »

Hi there...

Thank you so much for your work on UltraVNC. It is a VERY valuable tool.

I'd like to use one of the timeout settings in the ini to disconnect a connection after a period of inactivity, say 5 minutes, so the connection does not stay open.

What is the difference between IdleTimeout or IdleInputTimeout? Which would be better to use for my purpose?

I have experimented with IdleTimeout=300 with good results so far.

I have had a situation where I have not been able to reconnect to UltraVNC Server 1.3.4.2 on a Windows 10 Pro machine. I would connect once successfully but then something, Windows turning off the screen after 10 minutes I think, would cause a disconnection. Then I would not be able to reconnect until restarting UltraVNC Server. This happens much less, once only, on UltraVNC 1.3.8.1.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: Difference between IdleTimeout and IdleInputTimeout?

Post by Rudi De Vos »

IdleInputTimeout : keyboard/mouse idle time
IdleTimeout: socket timeout

IdleInputTimeout is send to the viewer and tell the viewer to disconnect when no input is registered for x time
Geeorgee
Posts: 1
Joined: 2023-03-15 00:03

Re: Difference between IdleTimeout and IdleInputTimeout?

Post by Geeorgee »

Okay, thank you for clarifying.

Would you recommend using IdleInputTimeout instead of IdleTimeout to prevent things like hanging if the Windows sleeps or locks, etc.?

I tried IdleTimeout with good results, although the first computer I tried this setting on is not reachable but that could be something else.

Thanks.
Last edited by Geeorgee on 2023-03-17 22:20, edited 2 times in total.
VNCHELP890
40
40
Posts: 69
Joined: 2022-01-18 16:46

Re: Difference between IdleTimeout and IdleInputTimeout?

Post by VNCHELP890 »

Where can one set these? I am hoping you will reply that they can be set when installing. Thank you.
Post Reply