Log off Windows user without closing VNC connection?

View: New views
6 Messages — Rating Filter:   Alert me  

Log off Windows user without closing VNC connection?

by Martin Valley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I have installed TightVNC (ver 1.3.9) on several computers with VNCServer having been installed as a service.
 
There are occasions when I want to log-off as the Windows user (so that no user is logged-in).
 
However, on some of the computers, when I log-off, any connections from VNC clients are closed and the clients can no longer connect to the server until the Windows user logs in again. But on other computers, the client are NOT disconnected. In fact, a client user can log-off and log back on on the server machine (which is the behaviour I want).
 
It appears to me that both VNCServer installations are the same. What is causing this different behavior? What do I have to do/setup/specify to enable this on all installations?
 
Thanks.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list

Re: Log off Windows user without closing VNC connection?

by Claudio Coletta-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Martin,

> I have installed TightVNC (ver 1.3.9) on several computers with VNCServer having been
> installed as a service.
>
> There are occasions when I want to log-off as the Windows user (so that no user is logged-in).
>
> However, on some of the computers, when I log-off, any connections from VNC clients are
> closed and the clients can no longer connect to the server until the Windows user logs in again.
> But on other computers, the client are NOT disconnected. In fact, a client user can log-off and
> log back on on the server machine (which is the behaviour I want).
>
> It appears to me that both VNCServer installations are the same. What is causing this different
> behavior? What do I have to do/setup/specify to enable this on all installations?
>
        it seems that on the working PCs the VNC is installed as a "service program" and on
the others not working PCs the VNC is working like a standard program.


> Thanks.
>
Bye,
Claudio.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list

RE: Log off Windows user without closing VNC connection?

by Patrick Doyle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the same issue, and the machines in question Tight VNC is installed
as a service. I lose connection switching from the administrator account to
a user account. I run the kids account as a user in XP.

Patrick

-----Original Message-----
From: Claudio Coletta [mailto:c.coletta@...]
Sent: Wednesday, September 09, 2009 10:00 PM
To: Martin Valley
Cc: vnc-tight-list@...
Subject: Re: Log off Windows user without closing VNC connection?

Hello Martin,

> I have installed TightVNC (ver 1.3.9) on several computers with VNCServer
having been
> installed as a service.
>
> There are occasions when I want to log-off as the Windows user (so that no
user is logged-in).
>
> However, on some of the computers, when I log-off, any connections from
VNC clients are
> closed and the clients can no longer connect to the server until the
Windows user logs in again.
> But on other computers, the client are NOT disconnected. In fact, a client
user can log-off and
> log back on on the server machine (which is the behaviour I want).
>
> It appears to me that both VNCServer installations are the same. What is
causing this different
> behavior? What do I have to do/setup/specify to enable this on all
installations?
>
    it seems that on the working PCs the VNC is installed as a "service
program" and on
the others not working PCs the VNC is working like a standard program.


> Thanks.
>
Bye,
Claudio.

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list

Re: Log off Windows user without closing VNC connection?

by Marco Gaiarin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mandi! Patrick Doyle
  In chel di` si favelave...

> I have the same issue, and the machines in question Tight VNC is installed
> as a service. I lose connection switching from the administrator account to
> a user account. I run the kids account as a user in XP.

It is normal if user set the 'session password', eg you connect as a
system password, then switch to a particular user that have set their
password and VNC (correctly) disconnects you and force to relogin with
correct (user) credential.

I've added to my logon script:

        REG delete HKEY_CURRENT_USER\Software\ORL\WinVNC3 /va /f

to cleanup user data at every login, clearly would be better to add a
master switch 'prevent users to set a user password' or something like
this...

--
dott. Marco Gaiarin    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
           http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list

Re: Log off Windows user without closing VNC connection?

by Martin Valley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the responses.

I got it working "properly" again by:
 1. un-installing VNC completely.
 2. going into the register and deleting each & every entry with "VNC" in
it.
 3. re-booting the computer.
 4. installing VNC again (as a service, of course)

After this, everything works as it should.

I agree, it would be better to have some kind of a switch on the properties
page to control this feature.



----- Original Message -----
From: "Marco Gaiarin" <gaio@...>
To: <vnc-tight-list@...>
Sent: Thursday, September 10, 2009 12:19 AM
Subject: Re: Log off Windows user without closing VNC connection?


Mandi! Patrick Doyle
  In chel di` si favelave...

> I have the same issue, and the machines in question Tight VNC is installed
> as a service. I lose connection switching from the administrator account
> to
> a user account. I run the kids account as a user in XP.

It is normal if user set the 'session password', eg you connect as a
system password, then switch to a particular user that have set their
password and VNC (correctly) disconnects you and force to relogin with
correct (user) credential.

I've added to my logon script:

REG delete HKEY_CURRENT_USER\Software\ORL\WinVNC3 /va /f

to cleanup user data at every login, clearly would be better to add a
master switch 'prevent users to set a user password' or something like
this...

--
dott. Marco Gaiarin     GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it   tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list

Re: Log off Windows user without closing VNC connection?

by Constantin Kaplinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Martin,

>>>>> Martin Valley wrote:

> I have installed TightVNC (ver 1.3.9) on several computers with
> VNCServer having been installed as a service.
>
> There are occasions when I want to log-off as the Windows user (so
> that no user is logged-in).
>
> However, on some of the computers, when I log-off, any connections
> from VNC clients are closed and the clients can no longer connect to
> the server until the Windows user logs in again. But on other
> computers, the client are NOT disconnected. In fact, a client user
> can log-off and log back on on the server machine (which is the
> behaviour I want).
>
> It appears to me that both VNCServer installations are the same. What
> is causing this different behavior? What do I have to
> do/setup/specify to enable this on all installations?

Most likely, this is due to differences between default settings and
user settings on that machine. When no user is logged in, TightVNC
server uses default settings. When some user logs in, the settings of
that user will be used instead. If you cannot connect to the machine
when nobody is logged in, that probably means that the default settings
do not allow that (e.g. passwords not set or different TCP port is
specified etc.).

--
With Best Wishes,
Constantin


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___________________________________________________________
TightVNC mailing list, VNC-Tight-list@...
To change your subscription or to UNSUBSCRIBE, please visit
https://lists.sourceforge.net/lists/listinfo/vnc-tight-list