[/img]Hi: Does everyone can help me? The VNC connection frequently dropped connection in Win7 system.
I install 1.0.9.6.2 32bit version vnc to win7 computers. But I always got connection dropped error, Sometimes It’s 1 or 2 minutes, then connection dropped, VNC viewer reconnect to it. Sometimes it’s 3 or 4 minutes, then connection dropped, VNC viewer reconnect to it. After a lot of test. Finally I found if the VNC icon show IP address was wrong or 169.254.xx.xx(invalid IP address, but computer have a valid IP address, Just VNC can’t show the correct IP address) then the connection will drop, If It’s show IP address is correct, It’s fine, Connection will not dropped. For example normally IP address is 10.10.20.34, but wrong IP address will show 10.10.20.3410.
And I found, The VNC showed IP address almost always wrong every time I logon to computer. If I found IP address was wrong, Then I restart VNC services, The IP address is ok, And VNC view connection also ok.
The network connection is ok, Because I use tightVNC connect to remote computer. And if Ultravnc connection dropped, TightVNC connection is ok. Never break the connection.
I enable the log, below log is from I restart computer until I logon to computer and found VNC showed IP address was wrong. Maybe this can help you identify the problem. This issue happed frequently in Win7 computers. Almost have 10% Win7 computers have this issue. Hope somebody can help me.
I use 32bit .exe VNC installation file. And just install VNC server, Auto silent install and manually install also got the same issue. Thanks.
Fri Dec 21 18:27:22 2012
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\ultravnc_10962\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL
--The system cannot find the file specified.
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin()
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry
vncsockconnect.cpp : started socket connection thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call
--The system cannot find the path specified.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\ultravnc_10962\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName =
Fri Dec 21 18:27:27 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncproperties.cpp : ***** DBG - Force USER SYSTEM 2
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName =
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ############### Usernames change: old="", new=""
Fri Dec 21 18:27:32 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncproperties.cpp : ***** DBG - Force USER SYSTEM 2
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName =
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ############### Usernames change: old="", new=""
Fri Dec 21 18:27:37 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncproperties.cpp : ***** DBG - Force USER SYSTEM 2
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
`````````````
`````````````
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName =
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ############### Usernames change: old="", new=""
Fri Dec 21 18:31:27 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
Fri Dec 21 18:31:28 2012
vncmenu.cpp : user name has changed
vncmenu.cpp : ############## Kill vncMenu thread
vncmenu.cpp : vncmenu killed
HideDesktop.cpp : Restorewallpaper 0
vncmenu.cpp : Reset 0
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : OpenInputdesktop OK
winvnc.cpp : SelectHDESK to Default (188) from 48
winvnc.cpp : Username SYSTEM
vncmenu.cpp : vncmenu(server)
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\ultravnc_10962\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin()
--The system cannot find the file specified.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Is Loaded
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call
--The system cannot find the path specified.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\ultravnc_10962\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 0
vncmenu.cpp : IsIconSet
Fri Dec 21 18:31:33 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncserver.cpp : KillAuthClients() fix up a lock-up
vncserver.cpp : KillAuthClients() done
vncserver.cpp : KillUnauthClients() done
vsocket.cpp : shutdown socket
vsocket.cpp : closing socket
--A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL
vncsockconnect.cpp : quitting socket connection thread
--A blocking operation was interrupted by a call to WSACancelBlockingCall.
Fri Dec 21 18:31:34 2012
vsocket.cpp : closing socket
--No connection could be made because the target machine actively refused it.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL
vncsockconnect.cpp : started socket connection thread
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ############### Usernames change: old="Administrator", new="Administrator"
Fri Dec 21 18:31:38 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ############### Usernames change: old="Administrator", new="Administrator"
Fri Dec 21 18:31:43 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ############### Usernames change: old="Administrator", new="Administrator"
```````````````````````
````````````````````````
Fri Dec 21 18:32:51 2012
winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
--The parameter is incorrect.
Fri Dec 21 18:32:53 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
HideDesktop.cpp : Restorewallpaper 0
vncmenu.cpp : Reset 0
vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Fri Dec 21 18:32:55 2012
vncmenu.cpp : quitting from WM_DESTROY
vncserver.cpp : KillAuthClients() done
--Invalid window handle.
vncmenu.cpp : vncmenu killed
HideDesktop.cpp : Restorewallpaper 0
vncmenu.cpp : Reset 0
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : ****************** Kill SDTimer
winvnc.cpp : ################## SHUTING DOWN SERVER ####################
--Attempt to release mutex not owned by caller.
vncserver.cpp : shutting down server object1
vsocket.cpp : shutdown socket
vsocket.cpp : closing socket
--A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
vsocket.cpp : VSocket() m_pDSMPlugin = NULL
vncsockconnect.cpp : quitting socket connection thread
--A blocking operation was interrupted by a call to WSACancelBlockingCall.
Fri Dec 21 18:32:56 2012
vsocket.cpp : closing socket
--No connection could be made because the target machine actively refused it.
vncserver.cpp : KillAuthClients() done
vncserver.cpp : KillUnauthClients() done
vncserver.cpp : ~server m_pDSMPlugin = NULL
--Class does not exist.
Fri Dec 21 18:33:04 2012
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
c:\users\rudi\desktop\ultravnc\ultravnc_10962\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL
--The system cannot find the file specified.
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin()
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it
vncsockconnect.cpp : started socket connection thread
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call
--The system cannot find the path specified.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call
vncserver.cpp : DSMPlugin Params OK
c:\users\rudi\desktop\ultravnc\ultravnc_10962\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 0
vncmenu.cpp : IsIconSet
Fri Dec 21 18:33:09 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ############### Usernames change: old="Administrator", new="Administrator"
Fri Dec 21 18:33:14 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ############### Usernames change: old="Administrator", new="Administrator"
Fri Dec 21 18:33:19 2012
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = Administrator
vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Administrator
vncmenu.cpp : ############### Usernames change: old="Administrator", new="Administrator"
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
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
The VNC connection frequently dropped connection in Win7
-
- 8
- Posts: 27
- Joined: 2012-11-22 02:45
-
- 8
- Posts: 27
- Joined: 2012-11-22 02:45
Re: The VNC connection frequently dropped connection in Win7
It seems UltravNC and TightVNC have some conflict. Even I remove tightVNC. Ultravnc still drop the connection. But If I restart the UltraVNC service, Then UltraVNc can get the correct IP address, and the connection will be ok, Never drop again. I will keep test it.
Re: The VNC connection frequently dropped connection in Win7
I had this same thing happen to me with the IP Address showing a couple more numbers in the last octet as well so my IP was showing 192.168.1.12345 and not 192.168.1.123. I read another forum that someone said it was showing 127.0.0.1 and it was caused by the network card not being initialized by the time ultra VNC tries to bind it. I went into windows services and set the UltraVNC service to "Automatic (Delayed Start)" because it was set to "Automatic" and this solved the problem. The only caveat with this is that UltraVNC will not start until 2 minutes after the last Automatic service starts so on a reboot you will have to wait roughly 2 minutes after you can ping it to try and connect.
I hope this helps anyone else running into this because I have been trying to figure this out for over a year now but i never really dug into it with the logging turned on.
I hope this helps anyone else running into this because I have been trying to figure this out for over a year now but i never really dug into it with the logging turned on.