An Idea: Logout from server.
James [Wez] Weatherall
jnw "at" orl.co.uk
Tue, 22 Sep 1998 09:58:09 +0000
On Tue, 22 Sep 1998, Lorenzo Capanna (SysAdmin) wrote:
> We are trying to use VNC in this manner:
>
> The user in a client machine connect a NT server (or workstation) at the
> logon banner, then login into the server with username and password.
> The user finally logout and then disconnect from VNC.
>
> This seem to work except for one case:
> if the user disconnect from VNC before logout from the
> server the next user connect the VNC server with in the
> last logged in desktop.
>
> It would be useful that the VNC server force the logout of
> the current user when a vnc client disconnect from it.
Oddly enough, this feature is already present in WinVNC (3.3.2 R2). It
isn't documented, because after some testing it didn't seem very useful.
If you edit the HKEY_LOCAL_MACHINE/Software/ORL/VNC/LockSetting value in
the registry (it needs to be a DWORD) and set it to 2, then you will get
the desired effect. The settings are supposed to be:
0 - normal behaviour
1 - LockWorkstation on disconnect
2 - LogOff on disconnect
Sadly, the LockWorkstation function isn't yet present in NT, so only
settings 0 and 2 exist.
Hope that helps,
James "Wez" Weatherall
--
Olivetti & Oracle Research Laboratory, Cambridge, UK.
Tel : Work - 343000
---------------------------------------------------------------------
The VNC mailing list - see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------