I have been using the SingleClick edition of UltraVNC in combination with
the UltraVNC repeater. The UltraVNC repeater is a proxy that marries
together an inbound connection from a viewer, and an inbound
connection from a server.
The SingleClick edition of UltraVNC sends the ID of the viewer before the
RFB protocol starts.
I have added a '-repeater' option to OSXvnc-server, that causes the
desktop ID to be sent prior to the start of the RFB protocol, so that the
repeater can send the RFB through to the correct VNC viewer.
To build a SingleClick edition you just need a wrapper that runs OSXvnc-
server with the repeater option and takes the ID
./OSXvnc-server -desktop "ID:123" -connectHost aaa.bbb.ccc.ddd -
connectPort 5500 -repeater
The UltraVNC SingleClick client waits 5 minutes for a connection and then
shuts down. Maybe the rfbwait parameter can help with this? I haven't
tried that yet though.
This is a start.