Thanks Alex for the detailed answer.  I really appreciate the time you have
given to my problem.

I have changed the IdleTimeout settings accordingly in your note and set it
for 60 seconds as a trial.  It did not worked when I set it for my userid.
I created a key in both LOCAL_MACHINE and CURRENT_USER for my account.

It stayed on indefinitely. There must be something else that is keeping it
from closing the connection. It might be detecting some activity in the
background that prevents it.

Do you have an idea what it could be?

Euxaristw para polu.  (Thank you very much)   First lesson :)

Rena


  ----- Original Message -----
  From: Alex K. Angelopoulos
  To: [EMAIL PROTECTED]
  Sent: Wednesday, April 17, 2002 2:48 PM
  Subject: Re: Setting IdleTime


  Ti kanes, Irene -  I thought you'd pick up on the name ...

  Unfortunately I'm third generation and we have almost exhausted my Hellenic
  vocabulary.
  So I'll be sticking to Midwestern English throughout. ;)

  The way those keys get executed can get a little complicated to understand
-
  it's precise, but not simple, and I'm not certain I know all the ins and
outs
  yet.  Below are (1) a couple of suggestions on what to try; (2) a note on
the
  Dec/Hex issue;(3) a note on the way the keys are read.


  (1) What To Try
  It is _possible_ that we are seeing an issue unrelated to the registry key -
may
  be VNC thinks there is some activity for some reason. Still, that's not my
first
  bet.  Let's try a couple of other things.

  First, you may want to switch that IdleTimeout value to about 60 or 90 to
allow
  for rapid testing.

  (a) Create a Local per-user setting.  You make a key under
  HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\
  with your logon user name - if it's "rena", it would be
  HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\rena

  under that key, add the IdleTimeout value name and value.

  (b) If that doesn't work, Create a Global Per-User setting - when logged on
as
  yourself, go to
  HKEY_CURRENT_USER\Software\ORL\WinVNC3
  and put the setting directly under there.

  One of those 2 should work.

  ==============================
  (2) Dec/ Hex display of registry key - doesn't matter
   Whether you enter in decimal or hex is up to you - when you switch between
the
  2, it only changes how the number is displayed and how it interprets what
you
  enter.  So if you flip to hex, you will see the displayed value show 12C,
the
  hex version of 300 decimal. Bottom line is, it doesn't matter and it's
easier to
  enter in decimal for this.

  (3)The key priorities
   I'm going to digress a bit and tell you how those keys work before getting
into
  the "service helper" thing.  It looks like you understand this part fairly
well
  since you actually dug through the documentation and found the values, so I
  suspect I will be reiterating what you already know.

  You have 4 places something might go; let's say you're logging on as user
  "rena".  The locations where VNC will look for settings are:

  (a) HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\
  [local machine-specific settings, what I call LMSS]

  (b) HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\Default
  [local default user settings, what I call LDU]

  (c) HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\rena
  [local per-user settings, what I call LPU]

  (d) for the logged on user,
  HKEY_CURRENT_USER\Software\ORL\WinVNC3
  [global per-user settings, what I call GPU]

  Now, GPU will be read if you *do not* have an LPU key with a setting
  AllowProperties which is set to 0.  Also, the "service helper" has to be run
I
  believe before any of this is ever noticed.  The service helper is
available
  from the VNC program group and just runs the service with an additional
switch,
  like this:

   "C:\Program Files\ORL\VNC\WinVNC.exe"  -servicehelper

  I'm not certain how to make sure of whether those setting have been applied;
one
  way to tell is to see if there are LPU keys.  It sounds like you don't have
any,
  so we may not need to worry about that.



  ----- Original Message -----
  From: "Irene Giouvanos" <[EMAIL PROTECTED]>
  To: <[EMAIL PROTECTED]>
  Sent: Wednesday, 2002-04-17 13:08
  Subject: Re: Setting IdleTime


  > Euxaristw Alex.
  >
  > I have the HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\Default     set to 300
  > Decimal
  >
  > Should that be decimal or hex?
  >
  > How can I detect if the "service helper" is running?  I have VNC running
as a
  > service.
  >
  > I donot have a setting for
HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\<username>
  > Should I create one in there also?
  >
  > Na sai kala.
  >
  > Irene
  >
  >   ----- Original Message -----
  >   From: Alex K. Angelopoulos
  >   To: [EMAIL PROTECTED]
  >   Sent: Wednesday, April 17, 2002 11:34 AM
  >   Subject: Re: Setting IdleTime
  >
  >
  >   That should be it.  I assume you mean you set the value "IdleTimeout".
  >
  >   That's a local or global per-user setting, so it should be in one of
these
  >   locations:
  >
  >
  >   HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\<username> <--- will take
  > precedence
  >   over the next key if not over-ridden
  >
  >   HKEY_CURRENT_USER\Software\ORL\WinVNC3
  >
  >   HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\Default <--- this is the
location if
  > you
  >   don't have the "service helper" running
  >
  >   ----- Original Message -----
  >   From: "Irene Giouvanos" <[EMAIL PROTECTED]>
  >   To: <[EMAIL PROTECTED]>
  >   Sent: Wednesday, 2002-04-17 10:15
  >   Subject: Setting IdleTime
  >
  >
  >   > Hi,
  >   >
  >   > I am new to VNC and I am trying to set the IdleTime on a Win2000 VNC
  > server.
  >   > I wanted to set the Idle time to 5 minutes.  I set the value to 300
  > assuming
  >   > that the measure of time is in seconds.
  >   >
  >   > After rebooting the machine I noticed that leaving the VNC viewer
system
  > idle
  >   > for over 20 minutes did not disconnect me.
  >   >
  >   > Can someone tell me what I am doing wrong?
  >   >
  >   > Any help is appreciated ad welcomed.
  >   >
  >   > Thanks.
  >   >
  >   > Irene
  > ---------------------------------------------------------------------
  > To unsubscribe, mail [EMAIL PROTECTED] with the line:
  > 'unsubscribe vnc-list' in the message BODY
  > See also: http://www.uk.research.att.com/vnc/intouch.html
  > ---------------------------------------------------------------------
  ---------------------------------------------------------------------
  To unsubscribe, mail [EMAIL PROTECTED] with the line:
  'unsubscribe vnc-list' in the message BODY
  See also: http://www.uk.research.att.com/vnc/intouch.html
  ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to