Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

UltraVNC Server in Listen Mode - Persist Connection

Post Reply
cprice
8
8
Posts: 8
Joined: 2012-01-13 18:25

UltraVNC Server in Listen Mode - Persist Connection

Post by cprice »

Hi there,

Firstly, I would like to say that I have really enjoyed working with your product.

Basic setup:

UltraVNC_Repeater 1.08
UltraVNC Server 1.0.9.6.1
Viewer is in a private network
Server is in a private network
Repeater is in a public network (ports 80 and 443 are open)

My basic goal is to have a permanent connection open to the Server with a unique ID. Even if a session ends.

I've created the following .bat file on the server:

Code: Select all

winvnc -id:1234 -autoreconnect -connect repeaterip::80 -run
And it is being called every 5 minutes.

This seems to work great, but I'm getting the following log message on the Repeater every 3 minutes or so (without trying to access the server):

Code: Select all

recv -1
Server Removed from List 1234
Remove server 0
Server Removed from List 0
Server Added to List 1234
recv 12
Any idea what this message is all about? And how to keep the Server listening without breaking?

Also, in general, am I implementing this system optimally given what I want to accomplish?

Thanks much!
CP
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: UltraVNC Server in Listen Mode - Persist Connection

Post by B »

I'm puzzled. It seems that it's doing exactly what you told it to do! Your VNC server is making repeated connections to the VNC repeater, and your repeater logs show that.

What's the problem? If you just want the server to autoreconnect, though, the batch file shouldn't be necessary?...
cprice
8
8
Posts: 8
Joined: 2012-01-13 18:25

Re: UltraVNC Server in Listen Mode - Persist Connection

Post by cprice »

Hi B,

Thank you for your reply. Just wanted to make sure I'm using the software as it is intended :)
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: UltraVNC Server in Listen Mode - Persist Connection

Post by supercoe »

The UltraVNC server is designed this way.
After a timeout period the server will drop the connect request, since you've used -autoreconnect it connects again.
Rudi might be able to explain the reasoning behind this better as I too wish it would be persistent.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply