1 Dec 2007 03:54
winvnc4 commandline sequence/syntax
Dave Stoft <stoft <at> sbcglobal.net>
2007-12-01 02:54:17 GMT
2007-12-01 02:54:17 GMT
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(Continue reading)
RSS Feed