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

Using SC with repeater

Single Click discussions / bugs
Post Reply
pugsley
Posts: 2
Joined: 2007-08-28 13:48

Using SC with repeater

Post by pugsley »

After hours of scouring around the forums here, I cannot find anything to help me out. I currently have an UltraVNC repeater server set up, with both 5901 and 5500 forwarded to it (+ both modes enabled). My PC is set up to listen on 5500, but it seems that the connection never makes it that far. On the client side (the computer initiating the SC connection) either goes immediate to "connected" or just completely closes. I'm thinking that it's my [HOST] syntax, or maybe it's just that I don't fully understand what the "-id" parameter should do. Here's my host section:

Code: Select all

[HOST]
Support
-id PC01 -connect xx.xx.xx.xx:5500 -noregistry
PC01 is the name of my computer internally, and the -connect string has my external IP address (static). I had this working at one point on another network, but I'm not 100% sure what I had in my host section. My repeater log shows "Server added to list 14024008," but it seems like nothing ever gets through. I know that the way I had it set up before it should pop up a dialog box asking me if I want to accept the connection... Any thoughts? Please help! Thanks!

Also, I'm using the 1.00 online compiler...
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Using SC with repeater

Post by YY »

In short, if you set up a connection via a repeater, then both the client & viewer should initiate a connection to the repeater. Both parties need to submit an ID, and repeater will establish connection for the two that having the matched ID.
pugsley wrote:

Code: Select all

[HOST]
Support
-id PC01 -connect xx.xx.xx.xx:5500 -noregistry
1. For this [HOST] setting, the SC.exe will initiate a connection to the repeater running at xx.xx.xx.xx:5500
2. Using the computer name (PC01) is invalid. The -id is not referring any computer name, it is a code for the repeater to use it to match the viewer. It MUST BE digit, and the valid range is from 1 to 9999999999 (ten digits). Example of valid statement is like this:
-id 12345 -connect xx.xx.xx.xx:5500 -noregistry

pugsley wrote:My PC is set up to listen on 5500
Unlike direct connection, when connect via repeater, the viewer need to connect to the repeater too, so it should not be running in listening mode. To connect to the SC.exe of above, you should start the viewer like this:
Image
Note: the character "ID" must be in UPPER CASE.

Hope the above can give you a hand.
pugsley
Posts: 2
Joined: 2007-08-28 13:48

Re: Using SC with repeater

Post by pugsley »

Hate to bring back an old topic, but I'm finally getting back around to testing this.

I did misunderstand how the SC worked with a repeater--thank you for your help, YY. I've got it working now and I'm able to get the prompt to accept the connection, but all I get a black screen with "Please wait - Initial screen loading..." After a few minutes, the screen disappears and the repeater log shows both the server and viewer "removed from list [ID]".

Any ideas as to why the display doesn't fully load and the connection dies? I'm connecting to my remote test PC through RDP; could that be an issue?
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Using SC with repeater

Post by YY »

I can't tell... but how did you run your test?

Do you mean you use RDP to control a remote pc to start the SC.exe? And from the same pc (you run the RDP) running the listening viewer?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Using SC with repeater

Post by redge »

I'm connecting to my remote test PC through RDP; could that be an issue?
yes,
especially if there XP with FUS (Fast User Switch enabled with the welcome screen to begin click user name)
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply