droidVNC-NG icon indicating copy to clipboard operation
droidVNC-NG copied to clipboard

Repeater reconnect not working w/ Guacamole relay

Open luyaotang opened this issue 7 months ago • 2 comments

~~1. Clicking "Start Service" does not interact with the already configured connection options under "Connect to Relay Server" below. I hope that if a configuration exists, clicking "Start" should apply it, rather than requiring you to click "Connect to Relay Server" again to trigger the relay service startup.~~ 2. Currently, when connecting through the repeater, if the viewer disconnects, the repeater will close both sides of the connection. To use the viewer again, you have to re-trigger the connection by clicking "Connect to Relay Server" in droid-ng VNC. I hope that when the service is already running, droid-ng VNC will maintain its connection with the repeater and handle reconnections automatically.

image From the diagram, it can be seen that when the view exits, both the droid-ng VNC and the viewer connections are closed, which means that the next time the viewer connects, there is no available VNC server. It is needed for droid-ng VNC to maintain a thread that keeps the connection with the repeater active while it is in the "running" state and configured with the relay server.

Your environment (please complete the following information):

  • droidVNC-NG version: 2.5.0
  • Android version: Android 14
  • Client-side OS and version: guacamole
  • VNC client and version:

luyaotang avatar Jul 24 '24 06:07 luyaotang