Hi,
We are using the 1.2.1.1 version and I am trying to get the IdleTimeOut Working on single click. We were originaly using the older version and the timeout was working. However in the newer version I am unable to get the timeout working. Once we connect to a system, if the user is idle we need the VNC session to be disconnected.
In code I did see that there is a variable named - UINT m_pref_IdleTimeout in vncpoperties.h file. I have set this to an UINT value like 60, but after leaving the screen idle for 60 seconds I see no disconnection. Reducing the value to like even 4, did nothing. What am I missing here?
I read the UINT timeout value from a configuration file by saying
m_pref_IdleTimeout =m_server->readconfig();
virtual UINT readconfig() is declared in Server.h
The other place where the m_pref_IdleTimeout is used is here
m_server->SetAutoIdleDisconnectTimeout(m_pref_IdleTimeout);
And the code in VNC Server.h is
virtual void SetAutoIdleDisconnectTimeout(const UINT timeout) {m_idle_timeout = timeout;};
What else can I check or is there any other way I can do the timeout?
Thanks,
Vincent