connection drops after a few seconds of black screen

connection drops after a few seconds of black screen

Postby avidtfoster » 2011-06-07 10:53

I get the following appear in my log and the the connection fails

--An established connection was aborted by the software in your host machine.

The full log is as follows from connection to disconnection

.\vncsockconnect.cpp : accepted connection from 192.22.194.11
.\vncserver.cpp : AddClient() started
.\vncclient.cpp : vncClient() executing...
.\vncclient.cpp : TEST 4
.\vncserver.cpp : AddClient() done
.\vncclient.cpp : client connected : 192.22.194.11 (1)
.\vncclient.cpp : DSMPlugin Pointer to socket OK
.\vncclient.cpp : m_ms_logon set to false.\vncclient.cpp : negotiated version
Entered InitAuthenticate
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncPasswd.h : PASSWD : ToText called
.\vncserver.cpp : client 192.22.194.11 verifiedHost 0 prior to adjustment
.\vncserver.cpp : client 192.22.194.11 verifiedHost 0 after adjustment
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: MUC-QAETest
--Overlapped I/O operation is in progress.
password authenticationTue Jun 07 12:31:01 2011
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: MUC-QAETest
--Overlapped I/O operation is in progress.
.\vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: MUC-QAETest
--Overlapped I/O operation is in progress.
.\vncmenu.cpp : ########### vncMenu::TIMER TrayIcon 5s hack call - Runningasservice
.\vncmenu.cpp : ########### vncMenu::AddTrayIcon - UserName = MUC-QAETest
.\vncmenu.cpp : ########### vncMenu::AddTrayIcon - ADD Tray Icon call
.\vncmenu.cpp : ########### No Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: MUC-QAETest
--Overlapped I/O operation is in progress.
.\vncmenu.cpp : ############### Usernames change: old="MUC-QAETest", new="MUC-QAETest"
Tue Jun 07 12:31:03 2011
.\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 Jun 07 12:31:04 2011
.\vncservice.cpp : threadname, inputname differ
--Access is denied.
.\vncdesktop.cpp : InitDesktop...
.\vncservice.cpp : SelectDesktop
.\vncservice.cpp : OpenInputdesktop2 NULL
.\vncservice.cpp : OpenInputdesktop2 OK
.\vncservice.cpp : SelectHDESK to Default (260) from 2c
.\vncdesktop.cpp : InitVideo driver Called
.\vncdesktop.cpp : Driver option disabled
.\vncdesktop.cpp : No driver used
.\vncdesktop.cpp : bitmap dimensions are 1280 x 1024
.\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 default desk
.\vncdesktopsink.cpp : InitWindow called
--The parameter is incorrect.
.\vncdesktopsink.cpp : InitWindow:OpenInputdesktop OK
.\vncdesktopsink.cpp : InitWindow:SelectHDESK to Default (26c) from 2c
.\vncdesktopsink.cpp : wmcreate
.\vncdesktopsink.cpp : OOOOOOOOOOOO load hookdll's
.\vncdesktopsink.cpp : OOOOOOOOOOOO start dispatch
.\vncdesktopsink.cpp : StartInitWindowthread started
.\vncbuffer.cpp : request local buffer[5242880]
.\vncbuffer.cpp : fast blits detected - using DIBsection buffer
.\vncbuffer.cpp : local buffer=5242880
.\vncDesktopSW.cpp : GetQuarterSize
.\vncDesktopSW.cpp : GetQuarterSize
.\vncdesktop.cpp : SethookMechanism called
.\vncdesktop.cpp : Sethook_restart_wanted hook=1 driver=0
.\vncdesktop.cpp : Hookdll status changed
c:\data\ultravnc\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
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : request client buffer[5242892]
.\vncserver.cpp : Authenticated() done
.\vncclient.cpp : authenticated connection
.\vncbuffer.cpp : request local buffer[5242880]
.\vncbuffer.cpp : fast blits detected - using DIBsection buffer
.\vncbuffer.cpp : local buffer=5242880
.\vncclient.cpp : sent pixel format to client
.\vncclient.cpp : init update thread
.\vncservice.cpp : threadname, inputname differ
.\vncclient.cpp : vncClientThread
.\vncservice.cpp : SelectDesktop
.\vncservice.cpp : OpenInputdesktop2 NULL
.\vncclient.cpp : starting update thread
.\vncservice.cpp : OpenInputdesktop2 OK
.\vncservice.cpp : SelectHDESK to Default (288) from 2c
.\HideDesktop.cpp : Killwallpaper 0
.\HideDesktop.cpp : Killwallpaper 1 0
--The system cannot find the file specified.
.\vncmenu.cpp : DisableAero 0
.\vncclient.cpp : disable update thread
.\vncclient.cpp : enable/disable synced
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : SetClientFormat called
.\vncencoder.cpp : settranslatefunction called
.\vncencoder.cpp : triple LUT used
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : request client buffer[1310732]
.\vncclient.cpp : enable update thread
.\vncclient.cpp : enable/disable synced
.\vncclient.cpp : disable update thread
.\vncclient.cpp : enable/disable synced
.\vncclient.cpp : ZRLE found
c:\data\ultravnc\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 : triple LUT used
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : request client buffer[1966108]
.\vncclient.cpp : Tight found
.\vncclient.cpp : compression level requested: 6
.\vncclient.cpp : X-style cursor shape updates enabled
.\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 : Cache protocol extension enabled
.\vncclient.cpp : ServerState protocol extension enabled
.\vncclient.cpp : KeepAlive protocol extension enabled
.\vncclient.cpp : FTProtocolVersion protocol extension enabled
.\vncclient.cpp : enable update thread
.\vncclient.cpp : enable/disable synced
.\vncencoder.cpp : remote palette data requested
Tue Jun 07 12:31:05 2011
.\vncdesktopthread.cpp : Hook changed
.\vncdesktop.cpp : PostMessage(m_hwnd, WM_HOOKCHANGE
.\vncdesktopsink.cpp : OOOOOOOOOOOO 32775 2228440
.\vncclient.cpp : disable update thread
.\vncclient.cpp : enable/disable synced
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : SetClientFormat called
.\vncencoder.cpp : settranslatefunction called
.\vncencoder.cpp : no translation required
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : request client buffer[7864348]
.\vncclient.cpp : enable update thread
.\vncclient.cpp : enable/disable synced
.\vncclient.cpp : disable update thread
.\vncclient.cpp : enable/disable synced
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : Hextile 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
c:\data\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncEncodeMgr.h : request client buffer[5248157]
.\vncclient.cpp : ZRLE found
.\vncclient.cpp : Tight found
.\vncclient.cpp : compression level requested: 6
.\vncclient.cpp : X-style cursor shape updates enabled
.\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 : enable update thread
.\vncclient.cpp : enable/disable synced
.\vncencoder.cpp : remote palette data requested
Tue Jun 07 12:31:06 2011
.\vncservice.cpp : SelectHDESK to Winlogon (2c) from 288
--An established connection was aborted by the software in your host machine.
.\vncclient.cpp : client disconnected : 192.22.194.11 (1)

Any help anyone could provide me would be appreciated
avidtfoster
 
Posts: 1
Joined: 2011-06-01 13:57

Re: connection drops after a few seconds of black screen

Postby Rudi De Vos » 2011-06-07 11:18

winlogon /desktop switch
-winvnc need to be running as service
-viewer need to have autoreconnect enabled ( set to value like 3)

Cause:
Vista>= use different sessions for winlogon/desktop
sessions are isolated
winvnc need to be running in the active session

The winvnc service, monitor winvnc and restart winvnc in the active session.
Restart -> connection with viewer breaks
autoreconnect viewer-> viewer stay open and reconnect in background
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5488
Joined: 2004-04-23 10:21


Return to 1.0.8.X (stable)

Who is online

Users browsing this forum: No registered users and 1 guest