You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When QueryConnect is enabled, if a connection is waiting for a user reply and a new connection enters, the program rejects it. As the authClientCount() is still 0 at this time, stopDesktop() will be executed, resulting in the first connection not responding. It is recommended to add an additional check to determine if there is a connection waiting.
It can be determined by adding an additional function.
Tigervnc/common/rfb/VNCServerST.cxx
The variable name on line 193 of the file is incorrect.
if (authClientCount() == 0) stopDesktop();
Should be changed to if (authClientCount() == 0 && !desktop->isQueryConnect()) stopDesktop();
The text was updated successfully, but these errors were encountered:
When QueryConnect is enabled, if a connection is waiting for a user reply and a new connection enters, the program rejects it. As the authClientCount() is still 0 at this time, stopDesktop() will be executed, resulting in the first connection not responding. It is recommended to add an additional check to determine if there is a connection waiting.
It can be determined by adding an additional function.
Tigervnc/common/rfb/VNCServerST.cxx
The variable name on line 193 of the file is incorrect.
if (authClientCount() == 0) stopDesktop();
Should be changed to
if (authClientCount() == 0 && !desktop->isQueryConnect()) stopDesktop();
The text was updated successfully, but these errors were encountered: