WinVNC 4.1.1 logging
James Weatherall
jnw "at" realvnc.com
Tue May 24 17:16:50 2005
Scott,
As described in the usage information for winvnc4.exe, the syntax of the
-register option is:
winvnc4 -register <parameters>
Is there some reason you want to do things via the command-line, rather than
just setting the equivalent option in the registry?
Regards,
Wez @ RealVNC Ltd.
> -----Original Message-----
> From: Scott C. Best [mailto:sbest "at" best.com]
> Sent: 24 May 2005 17:03
> To: James Weatherall
> Cc: vnc-list "at" realvnc.com
> Subject: RE: WinVNC 4.1.1 logging
>
> Wez:
>
> Sorry, that didn't seem to help. I'm now trying:
>
> C:\Program Files\RealVNC\VNC4> winvnc4 -unregister
> C:\Program Files\RealVNC\VNC4> winvnc4 Log=main:file:10 -register
> C:\Program Files\RealVNC\VNC4> winvnc4 -start
>
> ...and though the service starts, no WinVNC.log file is
> generated. I also try:
>
> C:\Program Files\RealVNC\VNC4> winvnc4 -unregister
> C:\Program Files\RealVNC\VNC4> winvnc4
> Log=Connections:stdout:10 -register
> C:\Program Files\RealVNC\VNC4> winvnc4
> Log=Connections:stdout:10 -start
>
> ...and there's no STDOUT window opened when the
> service is started (like it used to in earlier versions).
>
> Any suggestions? Can you provide the exact command-line
> sequence that you use to generate log files?
>
> thanks,
> Scott
>
> > Scott,
> >
> > Command-line parameters to VNC Server are specified when
> you -register it,
> > not when you -start it.
> >
> > Regards,
> >
> > Wez @ RealVNC Ltd.
> >
> >
> >> -----Original Message-----
> >> From: vnc-list-admin "at" realvnc.com
> >> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Scott C. Best
> >> Sent: 22 May 2005 23:07
> >> To: James Weatherall
> >> Cc: vnc-list "at" realvnc.com
> >> Subject: WinVNC 4.1.1 logging
> >>
> >> Wez:
> >>
> >> Heya. So exactly how do I startup WinVNC 4.1.1 as a
> >> service, with verbose logging enabled? Via a command-line,
> >> I'm starting the service is various ways, but none of them
> >> seem to create useful log entries:
> >>
> >> C:\Program Files\RealVNC\VNC4> winvnc4 Log=main:file:10 -start
> >> C:\Program Files\RealVNC\VNC4> winvnc4 Log=*:stdout:10 -start
> >> C:\Program Files\RealVNC\VNC4> winvnc4
> >> Log=Connections:EventLog:100 -start
> >>
> >> All of those start the registered service correctly,
> >> but none seem to enable logging. I even tried settying the HKLM
> >> DebugMode and DebugLevel settings, a-la VNC3, just in case those
> >> are still supported, but they'e not.
> >>
> >> Ideally, I'd like to create a WinVNC.log file somewhere
> >> (server is Win2k) with maximum verbosity about any arriving VNC
> >> connections. Any help appreciated.