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

authentification Failed

Post Reply
ruckb
8
8
Posts: 12
Joined: 2011-06-30 05:44

authentification Failed

Post by ruckb »

Hello,
hope somebody can help me..
I have UVNC running on serveral systems in my network. current version is 1.3.2a on the two systems (Both Windows 10 x64 but the target seems Win10 Enterprise 2016 LTSB) where I just have trouble.
I had UVNC in version 1.2.4 in the past running on these two sysems, but today it did not work, so I tried a lot and also uptraded to the lastest version.

i start my viewer, try to connect (either via system name or IP).
But then ther first strange thing is coming up:
I get a message, that the connection would be unencrypted. But I have enabled encryption on both sides.
I can still continue, but then I get the error message "Authentification failed from xxx.xxx.xxx.xxx" (IP where I started the viewer).
Password is correct and serveral times updated and simplified..
If I disable encryption on my System where I start the viewer, I do not get the encrpytion message, but still the connection fails.

I disabled the windows firewall.

What is also strange:
If I change something in the VNC server admin setting I do not get an UAC confirmation request. This is the case on all other systems where I have UVNC installed.
I checked the log file and found several entries that point to c:users\rudi .... but there is no user "rudi" on this system...

The log file is pasted below..

hope anybody has an idea what is going on..

Hermann



Fri May 21 14:04:39 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : WinVNCAPPMain-----Application started
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : server created ok
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : OpenInputdesktop OK
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : SelectHDESK to Default (1d0) from 90
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : Username xxxxxxxxx
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : vncmenu(server)
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect 1
--The system cannot find the file specified.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : trying port number 5900
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : trying port number 5901
Fri May 21 14:04:40 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncsockconnect.cpp : started socket connection thread
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect Done 1
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vnchttpconnect.cpp : started HTTP server thread
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : DSMPlugin Params OK
--There are no more files.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : IsIconSet
Fri May 21 14:05:25 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : KillAuthClients() ID_CLOSE
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : quitting from WM_DESTROY
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
--Invalid window handle.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : vncmenu killed
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : ################## Closing Imp Thread
--The system cannot find the file specified.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
--Attempt to release mutex not owned by caller.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : shutting down server object1
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : shutdown socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncsockconnect.cpp : quitting socket connection thread
--A blocking operation was interrupted by a call to WSACancelBlockingCall.
Fri May 21 14:05:26 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
--No connection could be made because the target machine actively refused it.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : shutdown socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vnchttpconnect.cpp : quitting HTTP server thread
--A blocking operation was interrupted by a call to WSACancelBlockingCall.
Fri May 21 14:05:27 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
--No connection could be made because the target machine actively refused it.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
--An operation was attempted on something that is not a socket.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : KillUnauthClients() done
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : ~server m_pDSMPlugin = NULL
--The handle is invalid.
Fri May 21 14:05:28 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : WinVNCAPPMain-----Application started
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : server created ok
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : OpenInputdesktop OK
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : SelectHDESK to Default (1d8) from 9c
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : Username xxxxxxxxxxxx
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : vncmenu(server)
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect 1
--The system cannot find the file specified.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : trying port number 5900
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : trying port number 5901
Fri May 21 14:05:29 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncsockconnect.cpp : started socket connection thread
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect Done 1
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vnchttpconnect.cpp : started HTTP server thread
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : DSMPlugin Params OK
--The handle is invalid.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : IsIconSet
Fri May 21 14:05:44 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : show user properties requested
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : INITDIALOG properties
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect 1
--The system cannot find the file specified.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : DSMPlugin Params OK
--The handle is invalid.
Fri May 21 14:14:24 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromText called
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect 1
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : saving current settings to registry
Fri May 21 14:14:40 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromText called
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect 1
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : saving current settings to registry
Fri May 21 14:27:17 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : SHUTDOWN OS detected
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : KillAuthClients() ID_CLOSE
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : KillAuthClients() done
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : quitting from WM_DESTROY
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : dialog result = 2
Fri May 21 14:27:44 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : WinVNCAPPMain-----Application started
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : server created ok
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : OpenInputdesktop OK
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : SelectHDESK to Default (1cc) from 90
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp : Username SYSTEM
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : vncmenu(server)
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect 1
--The system cannot find the file specified.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : trying port number 5900
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : trying port number 5901
Fri May 21 14:27:45 2021
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vsocket.cpp : closing socket
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncsockconnect.cpp : started socket connection thread
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : SockConnect Done 1
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vnchttpconnect.cpp : started HTTP server thread
--The parameter is incorrect.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : DSMPlugin Params OK
--The handle is invalid.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\vncmenu.cpp : IsIconSet
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6838
Joined: 2004-04-23 10:21
Contact:

Re: authentification Failed

Post by Rudi De Vos »

I noticed in the log that you have multiple servers running.
on 5900 and 5901
Try connecting to both to see if this makes a difference.
Possible you are updating server A and connecting to server B

The path you see is the path at compile time.
c:\users\rudi\desktop\git_ultravnc\winvnc\winvnc\winvnc.cpp
Is the location at my PC

Stop
net stop uvnc_service

You can copy a working version, all files are portable including the config.
If you copy the content from a working pc ( program files..) and extract it on that pc it should work.

verify in no multiple winvnc.exe exist on that PC something is uning port 5900
ruckb
8
8
Posts: 12
Joined: 2011-06-30 05:44

Re: authentification Failed

Post by ruckb »

Hi Rudi,

thanks for the feedback!
this helped, and maybe I know what was going on...
I installed a software update on this system. and it looks like the vendor of the software did add a tight vnc server.
so now I had ultra VNC and the tight vnc as server running. I changed now ultra VNC to another port and it look it is working not to access the ultra VNC server (I did not touch the other one).
I still got the message about unecrypted connection .. not sure why.
But I use this anyhow just in the internal network, so I think this is not really critical.

thanks a lot

Hermann
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6838
Joined: 2004-04-23 10:21
Contact:

Re: authentification Failed

Post by Rudi De Vos »

when the viewer has the plugin enabled, but not the server you get this warning
Post Reply