If I install ChunkVNC as a service and it loses its connection to the repeater, (in my case because I killed the Perl repeater script and restarted it), will the ChunkVNC service attempt to reconnect to the Repeater?
As far as I can tell it doesn't, which is a problem when I have a couple of dozen of my customer's machines running the ChunkVNC service.
I've scrutinised the "ultravnc.ini" configuration file for a setting that might be used, but all I could find is "KeepAliveInterval" which I've already set to 5 without any effect.
Anyone know how to make UltraVNC reconnect to the repeater if the connection is dropped?
The UltraVNC manual says:
This seems to indicate that the service won't attempt to reconnect if the repeater is down for more than a few seconds. What we need is a more robust form of auto-reconnection which will keep trying for longer, even if the viewer is closed.-autoreconnect
Is used in conjunction with the -connect switch when having a server "back-connect" to a listening viewer. You can use it in a batch file for your clients that are behind a firewall that is not under your control. The batch file looks something like this:
"c:\program files\ultravnc\winvnc" -autoreconnect -connect 12.34.56.78
On the local computer run the viewer in "listening" mode, and have someone on the server end run the batch file. The -autoreconnect will make the server end attempt to reconnect to the listening viewer if the connection drops or is closed. It will immediately reconnect to the listening viewer if the session is closed. Close the listening viewer altogether in order to stop the server end from "autoreconnecting" to your computer. The server attempts to "autoreconnect" for only a few seconds.
Note that this "autoreconnect" param must be before the "connect" one on the command line!
In my testing closing the viewer for a minute or two and then reconnecting always works, but killing and restarting the Repeater always permanently breaks the connection. If I then stop and restart the server the viewer can reconnect.