Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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

Problems with SC

Single Click discussions / bugs
Post Reply
Abstract Tech
8
8
Posts: 14
Joined: 2008-11-03 20:33

Problems with SC

Post by Abstract Tech »

Hello, I have a few questions. We were able to get this working fine with the help of Redge in the past. Now all of a sudden it isn't working. When the client double clicks the .exe, it goes into the system tray and immediately disappears. It no longer says, trying for 5 minutes.

Here is how we have it setup:
Users on remote networks click the .exe
We have the repeater on our local network
Our UVNC viewers are on the local network
Our router is forwarding port 5500 to the server hosting the repeater
I have verified the traffic is getting to the router as I see the packets when the user double clicks the .exe

We have tried Mode I and Mode II and both. I have just downloaded the new version of repeater.exe. Still the same problem. I have just re-compiled our .exe and still, same problem.

I would guess the problem is with the repeater. When it worked before, it would always say wait 5 minutes.

The listeners are setup like this:
"C:\Program Files\UltraVNC\vncviewer.exe" -proxy *****:5901 ID:102 where ***** is the local IP of the repeater.

This did work in the past, so I'm not sure what has changed. If someone could help, that would be awesome. I have read tons of posts by Dwalf and others. I have watched the video on setting it up. So I am pretty confident my helpdesk file is correct. It is here:

[HOST]
Support ID:100
-connect mail.domain.com:5500 ID:100 -noregistry

Any guidance into my oversight would be greatly appreciated! Thanks!
Sainsuper
40
40
Posts: 96
Joined: 2008-04-02 10:47

Re: Problems with SC

Post by Sainsuper »

i think the sysntax in the helpdesk.txt is incorrect
try using:

[HOST]
Support ID:100
-ID 100 -connect mail.domain.com:5500


the viewer sintax:
vncviewer -proxy mail.domain.com:5901 ID:100

it should works


:)
Last edited by Sainsuper on 2010-02-25 21:10, edited 1 time in total.
Abstract Tech
8
8
Posts: 14
Joined: 2008-11-03 20:33

Re: Problems with SC

Post by Abstract Tech »

Thanks for the reply. Unfortunately, I get the exact same response. I have made the change in the helpdesk and the viewer. On the remote client, I double click the .exe and it still just flashes and disappears in the system tray.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Problems with SC

Post by YY »

Abstract Tech wrote:We were able to get this working fine with the help of Redge in the past. Now all of a sudden it isn't working. When the client double clicks the .exe, it goes into the system tray and immediately disappears. It no longer says, trying for 5 minutes.
1. Have you changed the repeater? (e.g. upgrade to a new version)

2. Try this:
  Make sure running the viewer first (connect to the repeater), and then ask the client double clicks the .exe. See if this can establish a connection successfully.
Abstract Tech
8
8
Posts: 14
Joined: 2008-11-03 20:33

Re: Problems with SC

Post by Abstract Tech »

Yes, we have upgraded to a new repeater due to a server crash. I tried what you recommended and it still doesn't work. I opened the client on my end then had the client run the .exe and it still immediately disappeared.

Like i said, it is getting at least to my router as I see the traffic.......

If anyone else has any insight, it would be much appreciated. Thanks in advance!
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Problems with SC

Post by YY »

Abstract Tech wrote:When the client double clicks the .exe, it goes into the system tray and immediately disappears. It no longer says, trying for 5 minutes.
If your original .exe will be trying for 5 minutes, then it must be built with RC23 online creator. Those .exe produced with other online creators (Rel-1 or UVNC2009) WILL NOT be trying for 5 minutes, they will just terminate immediately if not able to connect a remote host (viewer/repeater).

Are you testing your original .exe, or using a new created .exe?


Abstract Tech wrote:we have upgraded to a new repeater due to a server crash.
Different versions of repeater has the issue of different timeout, but looks like your problem is not related to the upgrade of repeater.


Abstract Tech wrote: I have watched the video on setting it up. So I am pretty confident my helpdesk file is correct. It is here:

[HOST]
Support ID:100
-connect mail.domain.com:5500 ID:100 -noregistry
As Sainsuper mentioned, this syntax is incorrect. If your original .exe can be working properly, I don't believe it is like that.
The correct syntax s/b something as Sainsuper's example.


Abstract Tech wrote:it is getting at least to my router as I see the traffic.......
If you can monitor the traffic, make sure:
- the signal can reach the pc that have the repeater running.
- Check the repeater log to see if it has picked up the signals from viewer & .exe, and if any error returned.
Abstract Tech
8
8
Posts: 14
Joined: 2008-11-03 20:33

Re: Problems with SC

Post by Abstract Tech »

Here is the log file from the repeater:

Repeater for Rel1.0.0 of PcHelpware
socket() initialized
bind() succeded to port 5901
listen() succeded
socket() initialized
bind() succeded to port 5500
listen() succeded
accept() connection
Viewer added to list 102
ID added 102


This is just after a restart. I switched the ports on the repeater for the Listen Viewer to 5901 and the Listen Server to 5500, and now the .exe stays open and says waiting for the 5 minute trial. I am using the new .exe I created based on the above recommendations.
Abstract Tech
8
8
Posts: 14
Joined: 2008-11-03 20:33

Re: Problems with SC

Post by Abstract Tech »

The only difference than what was recommended above is on the viewer I am using:
vncviewer -proxy LocalIPofServerRunningRepeater:5901 ID:100
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Problems with SC

Post by YY »

Abstract Tech wrote:Here is the log file from the repeater:

Repeater for Rel1.0.0 of PcHelpware
socket() initialized
bind() succeded to port 5901
listen() succeded
socket() initialized
bind() succeded to port 5500
listen() succeded
accept() connection
Viewer added to list 102
ID added 102
That shows only the viewer reach the repeater, the server not yet registered. Check the firewall/antivirus/antispyware setting, and the port forwarding at router again.


Abstract Tech wrote:The only difference than what was recommended above is on the

viewer I am using:
vncviewer -proxy LocalIPofServerRunningRepeater:5901 ID:100
Are you using the right syntax at the server.

Your code (mentioned on the very first post, incorrect syntax):
[HOST]
Support ID:100
-connect mail.domain.com:5500 ID:100 -noregistry


Sainsuper's sample:
[HOST]
Support ID:100
-ID 100 -connect mail.domain.com:5500 -noregistry
Last edited by YY on 2010-02-27 03:10, edited 2 times in total.
Abstract Tech
8
8
Posts: 14
Joined: 2008-11-03 20:33

Re: Problems with SC

Post by Abstract Tech »

OK. I just decided to try a totally different computer for the Repeater. It works!! The only problem is that even when a viewer hasn't initiated the connection, it goes to active. It didn't use to do this before. If anyone has a solution for this, that would be great. If not, I'm happy that it is finally working.

Thanks for your help!!!
Post Reply