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

UltraVNC 1.2.0.1 Viewer Crash

Post Reply
sbostedor
100
100
Posts: 273
Joined: 2005-02-02 19:30
Location: Jackson, MI, USA
Contact:

UltraVNC 1.2.0.1 Viewer Crash

Post by sbostedor »

Curious if anyone else has ran into this.

I've installed UltraVNC 1.2.0.1 on a Windows 8 (x64) PC with default settings and a vnc password. I copied the vncviewer.exe file to my personal Windows 8 (x64) PC. When I run the vncviewer.exe at my PC and connect to the remote PC, the viewer constantly cycles through reconencting and never stays connected.

I've chosen multiple other similar PC's on the network and have the exact same result.

If I put that same vncviewer.exe on a Windows 2008 r2 computer and connect to the very same Windows 8 (x64) computer running the server, I have no problems at all! It's only happening if the computer running the vncviewer.exe is running Windows 8 or Server 2012.

Any ideas?

Log:

vsocket.cpp : VSocket() m_pDSMPlugin = NULL
vncsockconnect.cpp : accepted connection from 192.168.3.165
vncserver.cpp : AddClient() started
vncclient.cpp : vncClient() executing...
vncclient.cpp : TEST 4
vncserver.cpp : AddClient() done
vncclient.cpp : client connected : 192.168.3.165 (1)
vncclient.cpp : DSMPlugin Pointer to socket OK
vncclient.cpp : m_ms_logon set to falsevncclient.cpp : negotiated version
Entered InitAuthenticate
vncserver.cpp : client 192.168.3.165 verifiedHost 0 prior to adjustment
vncserver.cpp : client 192.168.3.165 verifiedHost 0 after adjustment
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
password authenticationTue Aug 12 22:15:38 2014
vncserver.cpp : client 192.168.3.165 verifiedHost 0 prior to adjustment
vncserver.cpp : client 192.168.3.165 verifiedHost 0 after adjustment
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncclient.cpp : Leaving InitAuthenticate
vncdesktop.cpp : initialising desktop handler
vncDesktopSW.cpp : SWinit
vncdesktopthread.cpp : Hook changed 1
vncdesktopthread.cpp : Hook changed 2
vncdesktop.cpp : KillScreenSaver...
Tue Aug 12 22:15:39 2014
vncdesktop.cpp : InitVideo driver Called
--The system cannot find the file specified.
vncdesktop.cpp : Driver option disabled
vncdesktop.cpp : No driver used
vncdesktop.cpp : bitmap dimensions are 1024 x 768
vncdesktop.cpp : created memory bitmap
vncdesktop.cpp : got bitmap format
vncdesktop.cpp : attempting to enable DIBsection blits
vncdesktop.cpp : enabled fast DIBsection blits OK
vncdesktop.cpp : no palette data for truecolour display
vncdesktopsink.cpp : StartInitWindowthread
vncdesktopsink.cpp : StartInitWindowthread no default desk
vncbuffer.cpp : request local buffer[3145728]
vncbuffer.cpp : fast blits detected - using DIBsection buffer
vncbuffer.cpp : local buffer=3145728
vncDesktopSW.cpp : GetQuarterSize
vncDesktopSW.cpp : GetQuarterSize
vncdesktop.cpp : Sethook_restart_wanted hook=1 driver=0
vncdesktop.cpp : Hookdll status changed
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncencodemgr.h : raw encoder requested
vncencoder.cpp : settranslatefunction called
vncencoder.cpp : only 8, 16 or 32 bits supported remotely - 0 requested
vncencoder.cpp : settranslatefunction called
vncencoder.cpp : no translation required
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncencodemgr.h : request client buffer[3145740]
vncserver.cpp : Authenticated() done
vncclient.cpp : authenticated connection
vncbuffer.cpp : request local buffer[3145728]
vncbuffer.cpp : fast blits detected - using DIBsection buffer
vncbuffer.cpp : local buffer=3145728
vncclient.cpp : sent pixel format to client
vncclient.cpp : init update thread
vncclient.cpp : starting update thread
vncclient.cpp : disable update thread
Tue Aug 12 22:15:40 2014
vncdesktopthread.cpp : Hook changed
vncclient.cpp : enable/disable synced
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncencodemgr.h : SetClientFormat called
vncencoder.cpp : settranslatefunction called
vncencoder.cpp : no translation required
vncclient.cpp : enable update thread
vncclient.cpp : enable/disable synced
vncclient.cpp : disable update thread
vncclient.cpp : enable/disable synced
vncclient.cpp : ZRLE found
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncencodemgr.h : ZRLE encoder requested
vncencoder.cpp : settranslatefunction called
vncencoder.cpp : only 8, 16 or 32 bits supported remotely - 0 requested
vncencoder.cpp : settranslatefunction called
vncencoder.cpp : no translation required
l:\install_vs2013\ultravnc_test2\ultravnc project root\ultravnc\winvnc\winvnc\vncencodemgr.h : request client buffer[4718620]
vncclient.cpp : compression level requested: 6
vncclient.cpp : Full-color cursor shape updates enabled
vncclient.cpp : PointerPos protocol extension enabled
vncclient.cpp : image quality level requested: 6
vncclient.cpp : XOR protocol extension enabled
vncclient.cpp : LastRect protocol extension enabled
vncclient.cpp : ServerState protocol extension enabled
vncclient.cpp : KeepAlive protocol extension enabled
vncclient.cpp : FTProtocolVersion protocol extension enabled
vncclient.cpp : KeepAlive protocol extension enabled
vncclient.cpp : Extended clipboard protocol extension enabled
vncclient.cpp : enable update thread
vncclient.cpp : enable/disable synced
vncencoder.cpp : remote palette data requested
vncservice.cpp : SelectHDESK to Winlogon (70) from 70
--An existing connection was forcibly closed by the remote host.
vncclient.cpp : client disconnected : 192.168.3.165 (1)
vncdesktopthread.cpp : Wait for viewer init
vncdesktopthread.cpp : m_desktop->Shutdownvncdesktopsink.cpp : ShutdownInitWindowthread
vncservice.cpp : SelectHDESK to Winlogon (70) from 70
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncproperties.cpp : ***** DBG - Force USER SYSTEM 2
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ############### Usernames change: old="", new=""
Tue Aug 12 22:15:41 2014
vncdesktopthread.cpp : m_desktop->Startupvncdesktop.cpp : InitVideo driver Called
vncdesktop.cpp : Driver option disabled
vncdesktop.cpp : No driver used
vncdesktop.cpp : bitmap dimensions are 1024 x 768
vncdesktop.cpp : created memory bitmap
vncdesktop.cpp : got bitmap format
vncdesktop.cpp : attempting to enable DIBsection blits
vncdesktop.cpp : enabled fast DIBsection blits OK
vncdesktop.cpp : no palette data for truecolour display
vncdesktopsink.cpp : StartInitWindowthread
vncdesktopsink.cpp : StartInitWindowthread no default desk
vncbuffer.cpp : request local buffer[3145728]
vncbuffer.cpp : fast blits detected - using DIBsection buffer
vncbuffer.cpp : local buffer=3145728
vncDesktopSW.cpp : GetQuarterSize
vncDesktopSW.cpp : GetQuarterSize
vncdesktopthread.cpp : threadHandle
vncdesktopthread.cpp : threadHandle2
vncclient.cpp : disable update thread
vncdesktopthread.cpp : Hook changed
vncclient.cpp : enable/disable synced
vncclient.cpp : kill update thread
vncclient.cpp : stopping update thread
client sent 2 updates
vncclient.cpp : update thread gone
vncserver.cpp : removing authorised client
vncserver.cpp : deleting desktop server
vncdesktop.cpp : ~vncDesktop
vncdesktopsink.cpp : initwindowthread already closed
vncserver.cpp : KillAuthClients() done
vncdesktopthread.cpp : quitting desktop server thread
vncdesktopthread.cpp : quitting desktop server thread:SetBlockInputState
--Invalid window handle.
vncdesktopthread.cpp : quitting desktop server thread:ClearShiftKeys
vncdesktopthread.cpp : quitting desktop server thread:g_DesktopThread_running=false
vncdesktopsink.cpp : ShutdownInitWindowthread
vncservice.cpp : SelectHDESK to Winlogon (70) from 70
vncdesktopthread.cpp : quitting desktop server thread:m_desktop->Shutdown
vncdesktopsink.cpp : ShutdownInitWindowthread
--Invalid window handle.
vncservice.cpp : SelectHDESK to Winlogon (70) from 70
vncdesktop.cpp : ~vncDesktop Shutdown()
vncdesktop.cpp : ~vncDesktop m_lGridsList.clear
vncserver.cpp : desktop deleted
vncserver.cpp : RemoveClient() done
vncclient.cpp : ~vncClient() executing...
vncclient.cpp : deleting socket
vsocket.cpp : closing socket
Steve Bostedor
http://www.vncscan.com
Super Simple UltraVNC Management
sbostedor
100
100
Posts: 273
Joined: 2005-02-02 19:30
Location: Jackson, MI, USA
Contact:

Re: UltraVNC 1.2.0.1 Viewer Crash

Post by sbostedor »

I should add that the server is being installed in service mode and UAC is enabled on all computers.
Steve Bostedor
http://www.vncscan.com
Super Simple UltraVNC Management
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6884
Joined: 2004-04-23 10:21
Contact:

Re: UltraVNC 1.2.0.1 Viewer Crash

Post by Rudi De Vos »

The viewer doesn't have any OS depended parts... but anyway i tested the viewer again on a win8 and win8.1, both work without problems.
The viewer talk rfb with the server, this is independed, it doesn't matter if you connect to a linux/ windows or mac server that talk rfb. The windows OS of the server has no influence on the viewer.

The only way i know you can loop is when you have the server option ( lock on disconnect) set.
Viewer connect, you enter unlock code, server switch session, viewer disconnect
server lock again because viewer disconnect, you logon agaiin, unlock etc...

The problem need to be narrow down.
1° Run server as application and try with a win8 viewer. If a viewer crash, he should always crash and it would not depend
on the server otpions.


vncservice.cpp : SelectHDESK to Winlogon (70) from 70 >>>>>session switch
vncdesktop.cpp : ~vncDesktop Shutdown()
Post Reply