I've been unable to find a clear reference for programatic start, config and 
stop
of a vnc4.3.2 server. My guess at the syntax and sequence does not control
the server settings that were created via the windows interface.

- On Win2k or XP
- The VNC4.3.2 package installed correctly
- The server/viewer work when run as a background server that always starts
on boot and where the config is setup via the windows interface
- Assume all files are in the same working directory.
- My objective is to start and config the vnc server via a script so
the settings are dynamic.

> winvnc4.exe -register -vncconfigfile configfilename.vnc
> winvnc4.exe -start

or...

> winvnc4.exe -register Hosts=<ip addr> PortName=5900 <etc.>
> winvnc4.exe -start

In either case, the server is registered as a service and the -start
gets it running (and a >winvnc4.exe -stat shows this) but the config
settings (as found by Tray : RtClk : Options... show no effect to the
config settings either listing them in the command line or in a command
file. VNC gives no error. Deliberately messing with the syntax will
produce an error so the command-line options and switches are
being recognized.

> winvnc4.exe -stop
> winvnc4.exe -unregister

Both of these work w/o error.

> vncconfig.exe
This only runs the windows interface. It appears to ignore all command line
parms and switches.

What did I miss in understanding the syntax or usage?
If I had to re-set the config after starting the server, that's ok, but I've not
found a way to do that.

According to the VNC docs (though they do not show command line
examples) is that a command-line interface for config is available.

Thanks.

Dave
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to