Diconnecting while the machine is locked will cleanly log you out. Problems
only arise in a pathological case where the Logoff function gets called
shortly after the user has been logged off. This then causes the machine to
reboot instead of logging off. Unfortunately it's a race condition that's
virtually impossible to avoid. It can only happen when you are connected
via VNC and you log out and the log out causes the VNC connection to close.
(e.g. if the display resolution has changed)
Cheers,
James "Wez" Weatherall
--
"The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK - Tel : 343000
----- Original Message -----
From: "Craft, Stephen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 9:43 PM
Subject: RE: Logging off NT
> So what happens if you lock the machine and then forcibly disconnect? I
> remember having some intermittent/inconsistent results when a workstation
is
> locked and then it gets a signal to logoff or reboot...
>
>
>
>
> -
> To understand recursion, you must first understand recursion.
> Steve Craft / Business Application Development
> SCP Communications, Inc.
> -
>
>
>
> -----Original Message-----
> From: Graham Downs [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 22, 2001 7:13 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Logging off NT
>
>
> Just tried this. It works BEAUTIFULLY! Thank you!
>
> For those who couldn't get it to work:
> HKLM\Software\ORL\WinVNC3\Default\LockSetting: 2 (REG_DWORD)
>
> (Oh, and remember to restart the service! <g>)
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Klett Matthew
> Sent: Wednesday, 21 February 2001 22:31
> To: '[EMAIL PROTECTED]'
> Subject: RE: Logging off NT
>
>
> >From the WinVNC documentation (I haven't tried this, but haven't seen any
> contrary information):
>
> LockSetting
> WinVNC can be made to take actions when a viewer disconnectsby setting
this
> value as follows:
> 0 - none
> 1 - lock workstation on disconnect (not currently implemented)
> 2 - logoff on disconnect
> Local or Global per-user setting
>
>
> -----Original Message-----
> From: Graham Downs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 2:09 PM
> To: Vnc-List@Uk. Research. Att. Com
> Subject: Logging off NT
>
>
> Hi, all
>
> I have a question for the developers. It's very iffy, but here goes...
> I have given my dad vnc viewer and the vnc session password, and taught
him
> how to log into our home NT 5 server. He needs to do this so that he can
> dial out to the internet when I am away/sleeping/whatever. However, try as
I
> might, I can not get him to understand this concept of vnc being only a
> window into the box, and that he needs to log off the machine himself when
> he is finished. There is not a day goes by that I don't have a whine at
him
> for leaving the server logged on, and he says something like "But I shut
> down my machine!", "But I closed the vnc viewer window!" and the like.
> Do you think it would be practical to write into the Win32 version of the
> server that (optionally, administrator-configurable) when the viewer
session
> is terminated, it logs off the machine? And if so, would anybody be able
to
> implement this?
>
> Cheers
> Graham
> ... Eww, that's so icky and slashdotty and... linuxy.
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------