VNC 4 and screensaver
Feico de Boer (ML)
fdboer-ml "at" gmx.net
Mon May 17 11:16:01 2004
Seak, Teng-Fong wrote:
>>As it appears now it seems that the logon option causes a desktop switch
>>(not the screensaver). For some reason winvnc4 seems to be unable to
>>switch to this new desktop.
OpenInputDesktop() is the function that fails. According to the platform
documentation: "The OpenInputDesktop function retrieves a handle to the
desktop that receives user input. The input desktop is a desktop on the
window station associated with the logged-on user."
That text is why I use the term desktop and assumed that the password
protection creates another desktop.
> Normally, even VNC3 is unable to switch to other screen. A VNC is "attached" to a display, whether it is in console or in TS session. But when you talked about "new desktop", I wonder if you're using "Remote desktop" functionality in WinXP. This is somehow incompatible to VNC because this technology uses "virtual" displays that VNC can't capture.
> So, your problem is solved? Glad to hear so.
That depends on your definition of 'solved'. IMHO disabling the 'On
resume, password protect' is more like a work-around.
I need to do some testing to be sure, but in my memories the old servers
(3.3.7) and derivates like Tight and Ultr@ are handling this correctly
while 4.0b4 does not.
As I said, I'll try to figure out what is going on and make a case out