How does one keep vnc server running as a service all the
tfseak "at" futurmaster.com
Mon May 17 12:41:01 2004
First of all, which version are you using? The stable and latest one, ie 3.3.7?
I don't get it ... you only mentioned that display 4 is not accepting connection, that means display 0 to 3 are working. So, what's the problem???
In my opinion, since "Current User Properties" is shown up, that probably means the current user has also launched VNC as an application, but using some different display. Look at his "Startup" folder to see if he's running it.
The simplest way is: uninstall VNC, reboot, remove VNC related registry keys, reinstall VNC and enable running it as a service and reboot.
I feel that you haven't read or understood thoroughly what a service is. Please read again:
> -----Message d'origine-----
> De : George Cordahi [mailto:george "at" cordahi.org]
> Envoyi : dimanche 16 mai 2004 01:18
> @ : Seak, Teng-Fong; vnc-list "at" realvnc.com
> Objet : Re: How does one keep vnc server running as a service all the time?
> In response to your questions:
> When www.gotomyvnc.com does not detect a connection, it says:
> is not responding on Display 4.
> When it works (after the service is manually stopped and restarted), I get
> xx.xx.xxx.xxx is accepting connections on Display 4 (TCP port 5904).
> In all cases, (ie whether functional or not), the VNC service is started by
> "Local system", not by a user.
> Yes, the vnc icon in the system tray seem to be an indicator of an
> active vnc connection. Clicking on it gives the "WinVNC: Current User
> Properties". It seems to be loaded by WinVNC key in the registry at
> "HKLM\Software\Microsoft\Windows\CurrentVersion\Run". It loads
> the -servicehelper.
> I don't know why the Current User Properties" shows up when VNC is running
> as a service and not as an application. Also, I note a subtle difference
> between the choices selected in "WinVNC: Default Local System Properties"
> and "WinVNC: Current User Properties". In "WinVNC: Default Local System
> Properties", "Poll Window under Cursor" is checked. In "WinVNC: Current User
> Properties", it is not checked.
> Finally, an additional detail:
> - After the vnc service is active and user1 is logged in:
> 1. If I switch to user2, (without logging off user1), vnc is NOT active
> for user 2. Clicking on "Show Default Properties" gives the error message
> "No instance of WinVNC could be contacted".
> 2. Logging off user2, and reopening the user1 connection, the vnc connection
> comes back to life.
> 3. Logging off user1, and logging on as user2, the vnc service becomes
> available under user2.
> ----- Original Message -----
> From: "Seak, Teng-Fong" <tfseak "at" futurmaster.com>
> To: <vnc-list "at" realvnc.com>
> Sent: Saturday, May 15, 2004 2:19 PM
> Subject: RE: How does one keep vnc server running as a service all the time?
> > You didn't say what www.gotomyvnc.com gives. And you mean the VNC icon is
> present is system tray?
> > Check by whom the VNC service is started. By local system account or a
> > -----Original Message-----
> > From: George Cordahi [mailto:george "at" cordahi.org]
> > Sent: samedi 15 mai 2004 16:43
> > To: vnc-list "at" realvnc.com
> > Subject: How does one keep vnc server running as a service all the time?
> > Hi VNC experts:
> > I'm stumped again.
> > I am trying to run VNC server as a service on my XP Home machine. I have 3
> > users defined on the machine. All users have administrative rights.
> > I want the VNC server to run all the time, everytime. I want it available
> > whether any user is logged in, or not. [That is the point of running it as
> > service. Isn't it? ]
> > So I installed it as a service according to the instructions at
> > http://www.realvnc.com/winvnc.html#2
> > The problem is that it runs at first, but then when I turn off the
> > and restart it, the service does not work, even though it is still listed
> > under Control Panel Services applet as 'started' and 'automatic'.
> > Now, if I stop the service, and restart it, it works again after I logoff
> > and re-logon, and it stays running until the machine is turned off.
> > For quick tests of whether the service is running properly, I use
> > www.gotomyvnc.com . The presense of the vnc icon in the tray is also an
> > indicator (but not a full proof one) that the service is running as it
> > should.
> > The QUESTION:
> > How do I get the vnc service to start up running from the getgo, reliably,
> > and avoid the stop-restart-logoff-logon process every time.
> > Help and handholding would be appreciated.
> > gc