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

SelectHDESK failed to close error

Post Reply
sbest
20
20
Posts: 49
Joined: 2005-06-12 01:51
Contact:

SelectHDESK failed to close error

Post by sbest »

Heyaz. Am trying to connect UltraVNC Viewer 1.02 to UltraVNC Server 1.02, where the server is running in application mode, but the screen saver has kicked in, and the screen is now locked.

The Viewer connects, passes passsword authentication, and is then immediately disconnected. The WinVNC log file running on the server records this:

vncservice.cpp : SelectHDESK to Default ( 28 ) from 28
--The operation completed successfully.

vncservice.cpp : SelectHDESK failed to close old desktop 28 (Err=170)
--The requested resource is in use.

vncserver.cpp : Desktop init failed, unlock in application mode ?
--The operation completed successfully.

Any suggestions?

thanks,
Scott
sbest
20
20
Posts: 49
Joined: 2005-06-12 01:51
Contact:

Re: SelectHDESK failed to close error

Post by sbest »

Just to emphasize: it works fine if the VNC Server is installed as a service, even when the PC is "locked". It just fails to accept sessions when it's running in standalone application mode, once the PC has locked.

Bug or feature? :)

thanks,
Scott
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: SelectHDESK failed to close error

Post by redge »

teamviewer 1.73 had solved this issue
TeamViewer wrote:- Disables screen saver with password protection
If TeamViewer is running as an application (not as a system service in host mode) Windows security regulations don't allow connections to the desktop if it is locked. This prevents access to the computer running TeamViewer.
For that reason TeamViewer will automatically disable the screen saver while it is running.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply