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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

server reconnection problem with repeater

Post Reply
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

server reconnection problem with repeater

Post by roja2 »

Hi.
I'm working on source code version 1.0.6.4.
I have to connect server and viewer through repeater. and
I'am able to connect server and viewer through repeater.
If I close the connection once, I have to start both the server and viewer again to make a connection between them.
Once the server is connected, I want to connect to it as many times I want. But as I close the viewer connection the server connection also closes.
I think this is happening because of the repeater since it closes both connections if viewer/server is closed.
Any help is appreciated. Thanks
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: server reconnection problem with repeater

Post by YY »

Code: Select all

winvnc.exe -autoreconnect ID:xxxx -connect repeater_IP:5500
Have you tried this option?

This instruct the server to reconnect to the repeater automatically if the connection is dropped.
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: server reconnection problem with repeater

Post by roja2 »

I knew that command but
I have to prevent the server from disconnecting
I think its only possible through some modification in repeater's code
If any developer of uvnc could help me i would be very happy
Last edited by roja2 on 2009-11-30 10:06, edited 1 time in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6867
Joined: 2004-04-23 10:21
Contact:

Re: server reconnection problem with repeater

Post by Rudi De Vos »

The only way is to run the server as service and add a
service_commandline
in the ultravnc.ini

-service is needed to make sure dekstop changes can be followed
(logon/screensaver/user switch) The server need to be able to restart
in the correct session and desktop...

via the service_commandline you can instruct the server to make an invers connection, using the repeater.
The service_commandline is the same as the normal commandline
with the -run at the end.
ultravnc.ini
[admin]
service_commandline = -autoreconnect ID:xxxx -connect repeater_IP:5500
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: server reconnection problem with repeater

Post by roja2 »

yeah, that's i knew, i tried and it worked perfectly
but that solution did not help our requirement :cry:
i'll try by modifying the repeater code
anywahs thanks for the help
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: server reconnection problem with repeater

Post by roja2 »

hi,
Multiple viewers are unable to connect to single server.
i'm trying this with repeater.
I made reverse connection between server and repeater,
I connected a viewer to server through repeater ip and server id
the connection was successful.
If I try to connect another viewer to same server both the viewers close their connection.
Does repeater only support one to one connection between server-viewer??
is one to many connection not possible b/w server-viewer ??
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: server reconnection problem with repeater

Post by roja2 »

hey,

I found some thread similar to my question
[post=52906][/post]
[post=44952][/post]
Last edited by roja2 on 2009-12-08 12:26, edited 1 time in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6867
Joined: 2004-04-23 10:21
Contact:

Re: server reconnection problem with repeater

Post by Rudi De Vos »

The repeater can't handle multiple viewer connections, it's one to one.
Post Reply