Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Can't connect to server after wrong password

Post Reply
alexinc
8
8
Posts: 13
Joined: 2011-02-15 14:44

Can't connect to server after wrong password

Post by alexinc »

Hello!
I have same problem - i can't connect to server after cancelled password.

Server: W2003
Client: Win Xp sp3
VNC Viewer: 1.0.9.5
Server: 1.0.9.5
repeater: 2010

Well, key situation:
I have server with repeater.
Via this repeater i connect to vnc server with ID.
VncViewer is connecting to server via repeater and asking password. If I press Cancel server is became unreachetable.
And I must to restart service uvnc_service on server (and i use rdp for this.).
Have any idea?
Last edited by alexinc on 2011-02-18 21:15, edited 1 time in total.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Can't connect to server after wrong password

Post by supercoe »

Are you using the -autoreconnect function of the server?
If the repeater matches an ID the server will disconnect if the viewer is closed.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
alexinc
8
8
Posts: 13
Joined: 2011-02-15 14:44

Re: Can't connect to server after wrong password

Post by alexinc »

supercoe wrote:Are you using the -autoreconnect function of the server?
If the repeater matches an ID the server will disconnect if the viewer is closed.
I think, yes.
In ultravnc.ini file I have this line:
service_commandline=-autoreconnect ID:200015 -connect <static wan ip>:5500

it's not help me.
Anything else? sametime it's trouble.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Can't connect to server after wrong password

Post by supercoe »

Is the UltraVNC server installed as a service?
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
alexinc
8
8
Posts: 13
Joined: 2011-02-15 14:44

Re: Can't connect to server after wrong password

Post by alexinc »

supercoe wrote:Is the UltraVNC server installed as a service?
Yes, it is. Server is w 2003.
As i undestand, it's trouble only woking with repeater.
Last edited by alexinc on 2011-02-20 11:17, edited 1 time in total.
alexinc
8
8
Posts: 13
Joined: 2011-02-15 14:44

Re: Can't connect to server after wrong password

Post by alexinc »

Up!
www.artanna.org - Anna Poluboyarinova
Art of Russia
lns
8
8
Posts: 12
Joined: 2011-07-05 23:04

Re: Can't connect to server after wrong password

Post by lns »

I've just run into this problem myself, using the ChunkVNC Linux Perl repeater.

VNC SERVER:
- Windows 2000 Professional
- UltraVNC Win32 Server 1.0.9.6.1
- Ultravnc.ini: service_commandline=-autoreconnect -connect <repeater_ip>:5500 -id:4201

I can connect all day long, with both VNC and Windows authentication methods, disconnect / kill the viewer, and reconnect. I'm tail'ing the ChunkVNC repeater logs and everything works as expected...

UNTIL I supply the wrong VNC/MS logon credentials (or hit "Cancel" in the password dialog). Then, I cannot reconnect to the UltraVNC server at all. I have to restart the uvnc_service for it to work again. When the service is restarted, the viewer automatically sees it if it is already trying to connect. It's almost like the repeater doesn't see the disconnection/failed password and simply doesn't clean up after the viewer is disconnected from the server.

---
Here are my repeater logs:

(restarting uvnc_service):
Tue Jul 5 16:36:13 2011: new vnc server connecting.
Tue Jul 5 16:36:13 2011: storing new vnc server with ID:4201.

(connecting viewer):
Tue Jul 5 16:36:42 2011: new vnc client connecting.
Tue Jul 5 16:36:42 2011: server socket for ID:4201 is still established.
Tue Jul 5 16:36:42 2011: hooking up new vnc client with existing vnc server for ID:4201.
Tue Jul 5 16:36:42 2011: [1916/ID:4201] parent 1 -> 2.
Tue Jul 5 16:36:42 2011: [1917/ID:4201] child 2 -> 1.


(hitting Cancel):
Tue Jul 5 16:37:02 2011: [1916/ID:4201] Input is EOF.
Tue Jul 5 16:37:02 2011: [1916/ID:4201] finished xfer.
Tue Jul 5 16:37:03 2011: [1916/ID:4201] kill TERM child 1917
Tue Jul 5 16:37:03 2011: [1917/ID:4201] got SIGTERM.

(trying to reconnect with viewer):
Tue Jul 5 16:37:18 2011: new vnc client connecting.
Tue Jul 5 16:37:18 2011: storing new vnc client with ID:4201.
---

At this point the viewer just hangs at "Status: Connecting ..." I can restart the repeater service and this has no effect on the connection - the only thing I can do is restart the uvnc_service to get it to reconnect again.

Any help/clues would be awesome! :) Thank you all for such an awesome suite of software. Especially the Linux versions...
Post Reply