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

UltraVNC 1.2.0.5 test - Download links

Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

test: ultravnc_1205_test4
1) when winvnc.exe work as service (connect to Repeater)
when tray select (close VNC connections) the icon is missing and restored again.
fixed :thumbs:

Code: Select all

Wed Nov 26 08:48:36 2014
.\vncserver.cpp : authhosts set to ""
.\vncproperties.cpp : ***** DBG - Load User Preferences
.\vncproperties.cpp : clearing user settings
l:\ultravnc_installer_win2000\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
.\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 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --Не удается найти указанный файл.
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
.\vncserver.cpp : DSMPlugin Params OK
l:\ultravnc_installer_win2000\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
.\vncmenu.cpp : ########### Shell_TrayWnd found 0
 --Не удается найти указанный файл.
.\vncmenu.cpp : IsIconSet 
.\winvnc.cpp : PostAddNewClient IIIII
.\vncserver.cpp : AutoConnectRetry(): started
.\vncserver.cpp : Attempting AutoReconnect....
.\vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
.\vncserver.cpp : AddClient() started
.\vncclient.cpp : vncClient() executing...
.\vncclient.cpp : TEST 4
.\vncserver.cpp : AddClient() done
.\vncclient.cpp : client connected : **.**.**.** (1)
.\vncclient.cpp : DSMPlugin Pointer to socket OK
Wed Nov 26 08:48:41 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Wed Nov 26 08:48:45 2014
.\vncmenu.cpp : KillAuthClients() ID_CLOSE 
.\vncserver.cpp : KillAuthClients() done
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Wed Nov 26 08:48:47 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : killing unauth client
.\vncclient.cpp : client Kill() called.\vsocket.cpp : closing socket
.\vncserver.cpp : KillUnauthClients() done
.\vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
.\vncclient.cpp : PostAddNewClient I
.\vncservice.cpp : PostAddNewClient failed
.\vncserver.cpp : removing unauthorised client
.\vncserver.cpp : RemoveClient() done
.\vncclient.cpp : ~vncClient() executing...
.\vncclient.cpp : deleting socket
.\vncserver.cpp : ~server m_pDSMPlugin = NULL 
2) when in system tray on icon winvnc right mouse button select (stop service)
icon winvnc in system tray is missing in Task Manager (i use Process Explorer) procces "winvnc" not stay (in tree of processes of "explorer.exe").
fixed :thumbs:

Code: Select all

Wed Nov 26 08:37:29 2014
.\vncserver.cpp : authhosts set to ""
.\vncproperties.cpp : ***** DBG - Load User Preferences
.\vncproperties.cpp : clearing user settings
l:\ultravnc_installer_win2000\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
.\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 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --Не удается найти указанный файл.
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
.\vncserver.cpp : DSMPlugin Params OK
l:\ultravnc_installer_win2000\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
.\vncmenu.cpp : ########### Shell_TrayWnd found 0
 --Не удается найти указанный файл.
.\vncmenu.cpp : IsIconSet 
.\winvnc.cpp : PostAddNewClient IIIII
.\vncserver.cpp : AutoConnectRetry(): started
.\vncserver.cpp : Attempting AutoReconnect....
.\vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
.\vncserver.cpp : AddClient() started
.\vncclient.cpp : vncClient() executing...
.\vncclient.cpp : TEST 4
.\vncserver.cpp : AddClient() done
.\vncclient.cpp : client connected : **.**.**.** (1)
.\vncclient.cpp : DSMPlugin Pointer to socket OK
Wed Nov 26 08:37:34 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Wed Nov 26 08:37:39 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Wed Nov 26 08:37:44 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Wed Nov 26 08:37:49 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Wed Nov 26 08:37:54 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Wed Nov 26 08:37:56 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : killing unauth client
.\vncclient.cpp : client Kill() called.\vsocket.cpp : closing socket
.\vncserver.cpp : KillUnauthClients() done
.\vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
.\vncclient.cpp : PostAddNewClient I
.\vncservice.cpp : PostAddNewClient failed
.\vncserver.cpp : removing unauthorised client
.\vncserver.cpp : RemoveClient() done
.\vncclient.cpp : ~vncClient() executing...
.\vncserver.cpp : ~server m_pDSMPlugin = NULL 
.\vncclient.cpp : deleting socket
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

Problem with the change password and option when the program is run as a service.
OS windows XP SP3 32bit
When the program is running as "application" any changes in the settings happen normally and saved in the UltraVNC.ini file normally.
But when the program is running as a service and I make any changes to my disappears value in the string "DSMPluginConfig ="
example:
I had the value "DSMPluginConfig=SecureVNC;0;0x00104001;MTIzNDU2Nzg5" if I change any option Right click on the taskbar window "ultraVNC" in the "Admin properties" click "apply" value in the string "DSMPluginConfig =" changes to an empty

At the moment that would change the password, or any of the settings I use only "uvnc_settings.exe"
you can check this problem?
Last edited by Nick_od on 2014-11-26 09:42, edited 1 time in total.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: 1.2.0.5 (update December )

Post by Prisma »

plants wrote:Perhaps 1196 didn't make use of the vnchooks.dll or schook.dll?
Funny, I though the same. Performance and refresh ability of 1196 was so poor (execept with win8, possibly because of win8hooks.dll), I conceived suspicion other hooks were not used. But I had no time to proof it.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

HOOK info
vnchook inject himseld in all running processes and try to capture the messages send between the windows.
openmenu/draw etc, the messages include screen positions
The hook record the positions and pass this to vnc.
In other words, the hook give vnc hints about possible screen locations with changed data.
VNC process the hints before he resume the full screen scanning

schook vs vnchook
diff: schook use the accesibility engine
if schook.ddl and vnchook.dll exist schook is used
to test vnchook remove schook

Does it make a difference if you use the vnchook and schook from v196 with 1205 bins, i remember the dll (hook) was changed
a time ago and prehpas the dll himself is acting different.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

DSMPluginConfig changes on XP

Did you got the runas XP popup.
(*) current user
[v] Protect my computer <<<<<<<<<< Don't let vnc save anything to the ini file you need to [ ] to save to ini file


I will check it this evening
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

I work as administrator
I tried all possible options
any of them not saves the password or option and this too:
Did you got the runas XP popup.
(*) current user
[v] Protect my computer <<<<<<<<<< Don't let vnc save anything to the ini file you need to [ ] to save to ini file
Last edited by Nick_od on 2014-11-26 10:11, edited 1 time in total.
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Disabling of write combining/graphics hardware acceleration has the effect you anticipated, much lower CPU use from WinVNC
But this is not a solution, because all window drawing is in software emulation = very high CPU for the most basic things

Thank you for the clear information regarding vnc and sc hooks. As the latest vnchooks.dll is causing problems, I have experimented with older ones, using the last versions I have (vnchooks 14/08/2014 and schook 11/09/2013). I can confirm that the injection and prioritisation works correctly (visible as module in explorer process, and sc loaded in preference of vnc) and that their CPU hit in Explorer is not present. Whether they are doing anything or not I cannot verify!

One interesting bug. I was using the latest vnchooks.dll in an active session, and I renamed it in order to disable it from subsequent runs. This is not usually a problem (as we assume they stay resident in memory), however when I renamed an older vnchooks back to its original name, in order to replace the new with the old on restart, I no longer could see the screen. The backup vnc server I use (TightVNC) would not show the screen also, so I presume the screen had become corrupted. I had no choice but to restart the computer

Why would the replacement of the vnchooks.dll cause this? Why would the active process need to access (reload!?) its physical codebase? There's something very fishy here!
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

if you're interested
my proposals to additions the program:
1) earlier when opening "uvnc_settings.exe"
there were buttons:
start service
stop service
install service
uninstall service

now in "uvnc_settings.exe" these buttons do not have :(
can you add these buttons in "uvnc_settings.exe"
2) icon in the system tray:
when there is no connection (blue)
when the client is connected (yellow)
i suggest to supplement when the server is connected to the Repeater (green)
Thank you for your attention 8)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

local or domain administrator
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

hooking is nasty stuff
see
http://www.codeproject.com/Articles/1037/Hooks-and-DLLs

To accelerate or not, you need to test with the slider.
and see what the combining result of less+more is.
Sample: If you want to capture video and the videoplayer use hardware acceleration vnc wil not see the screen data as it bypass
the gdi. In that case you need to disable that kind of acceleration.

WHat vnchook or schook is causing problems ?
I don't understand what's good or bad.

Are you able to use dbgview ? ( http://technet.microsoft.com/en-us/sysi ... 96647.aspx )
This allow me to add simple message lines in the code ( like " rect x y w h injected by hook X ) so
at least you get some info
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

local administrator
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

The latest vnchooks.dll causes marked CPU usage on the Explorer process whilst VNC session active. Previous builds do not.
It is entirely replicable.

With respect to video acceleration, CPU usage isn't a problem when a mirror driver is used. I'm not concerned with high CPU usage as long as it is expected. Call me crazy, but I have no interest or no expectation to watch video over VNC! With a multitude of media-streaming solutions why would anyone even go there?!?

I am reporting my observations with regard to excessively high use, particularly in relation to previous builds and equivalent software, so that your bug-finding is directed toward problems caused by recent changes

Do you have any comment to make about the vnchooks renaming behaviour I described. Is that to be expected?

BTW: Nick_od, uvnc_settings.exe is for setting up configuration, not a testing tool. It would be better if Rudi focussed on squashing bugs than making cosmetic changes...

For setting up shortcuts to winvnc actions:
If you want to install/uninstall create a shortcut to the winvnc.exe and add -install or -uninstall as a parameter
To stop and start write a batch file that contains the text

Code: Select all

net %1 uvnc_service
. Again, create shortcuts to this, but this time with a parameter stop or start. If anything is unclear let me know, I'm happy to help
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

MS does not like interactive service and saving settings from the systray is becoming harder and harder as MS consider it as a security risk. Future version need to depend on uvnc_settings.exe as systray replacement and for most users a "cmd" is something from decades ago... mouse clicks is the only thing they now.
We are also interested in uvnc_settings changes, only this wil not be for the December update.

For testing vnc
-i use gprs connection
-video, i know it wil not be used a lot, but ideal for testing
-simulate high cpu by adding 10.000.000 calculation before each blit

Bug reports that compare two versions are great, as this limit the search to the changed parts.
There are exceptions: "-autoreconnect" block existed already 2 years...if thread 1 closed before thread 2 ->block
In some cases, code changes made thread 2 faster or slower... but the real cause was non of the code in thread 2.
This was a realy nasty bug, took me 3 days

Code: Select all

Do you have any comment to make about the vnchooks renaming behavior I described. Is that to be expected?
I never tested renaming buzzy files and the renaming another over it...sorry don't know if that's the expected behavior but it's not something a normal user does.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

http://www.uvnc.eu/download/1205/hook.zip

This contain rebuild version of the vnchook
w2K/XP version, same code different compiler
And the old versions included in 1196

As i can not repeat the high cpu usage can you test them and check what's the correct version so i can add the correct one
to the installers
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

Running as sevice value is reset...bug,repeatable
"DSMPluginConfig=SecureVNC;0;0x00104001;MTzNDU2N"

Found and fix for next update
2 bugs
1) runas admin application mode -> doesn't open config
2) service and open properties, clear plugin config

Next update online test5
http://www.uvnc.eu/download/1205/ultrav ... _test5.zip
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

Code: Select all

1) Set the server to timeout on an idle connection
2) Ensure your viewer is set to x3 reconnection attempts and 3 (seconds?) timeout
3) Connect to server and minimise the viewer window
Unable to repeat

1) IdleInterval=60 ( have to be bigger then 59)
2) viewer retry 3X3s
Viewer connect to server and wait 60sec, viewer close

When you set IdleInterval=60, the server pass this info to the viewer on connection.
The viewer does a WM_CLOSE after idle time of 60s
(WM_CLOSE is the same as pressing the X in the viewer window)
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

test: ultravnc_1205_test5
Problem with the change password and option when the program is run as a service.
OS windows XP SP3 32bit
When the program is running as "application" any changes in the settings happen normally and saved in the UltraVNC.ini file normally.
But when the program is running as a service and I make any changes to my disappears value in the string "DSMPluginConfig ="
example:
I had the value "DSMPluginConfig=SecureVNC;0;0x00104001;MTIzNDU2Nzg5" if I change any option Right click on the taskbar window "ultraVNC" in the "Admin properties" click "apply" value in the string "DSMPluginConfig =" changes to an empty
Problem fixed :thumbs:
thanks Rudi 8)
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Rudi De Vos wrote:http://www.uvnc.eu/download/1205/hook.zip

This contain rebuild version of the vnchook
w2K/XP version, same code different compiler
And the old versions included in 1196

As i can not repeat the high cpu usage can you test them and check what's the correct version so i can add the correct one
to the installers
Thanks. The 1196 hook is identical to the one I already used (shows zero performance hit on Explorer)
The new one which you've rebuilt displays a very similar performance hit on Explorer.exe like the one present in the 12xx x86 package (between 10% and 20%)

If you could give me tips about how to use DbgView, I don't know if it or any processes need to be manually connected to read debug info. Please advise
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Rudi De Vos wrote:

Code: Select all

1) Set the server to timeout on an idle connection
2) Ensure your viewer is set to x3 reconnection attempts and 3 (seconds?) timeout
3) Connect to server and minimise the viewer window
Unable to repeat

1) IdleInterval=60 ( have to be bigger then 59)
2) viewer retry 3X3s
Viewer connect to server and wait 60sec, viewer close

When you set IdleInterval=60, the server pass this info to the viewer on connection.
The viewer does a WM_CLOSE after idle time of 60s
(WM_CLOSE is the same as pressing the X in the viewer window)
Hmm... I just tried again and I got the password dialog jump up after 60 seconds. I pressed cancel x3 and it finally went away. Are there any registry values or other things that could influence this behaviour to happen for me only?
I include the server config, just in case...

Code: Select all

[admin]
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=E:\Common\UltraVNC
kickrdp=0
service_commandline=
DebugLevel=8
DisableTrayIcon=1
LoopbackOnly=0
UseDSMPlugin=1
AllowLoopback=1
AuthRequired=1
ConnectPriority=0
DSMPlugin=SecureVNCPlugin.dsm
AuthHosts=
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=1
DefaultScale=1
CaptureAlphaBlending=1
BlackAlphaBlending=0
SocketConnect=1
HTTPConnect=0
XDMCPConnect=0
AutoPortSelect=0
PortNumber=5900
HTTPPortNumber=0
IdleTimeout=60
RemoveWallpaper=1
RemoveAero=1
QuerySetting=0
QueryTimeout=0
QueryAccept=0
QueryIfNoLogon=0
primary=1
secondary=0
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
FileTransferTimeout=60
clearconsole=0
accept_reject_mesg=
KeepAliveInterval=5
SocketKeepAliveTimeout=1000
DSMPluginConfig=SecureVNC;0;0x00104001;
[poll]
TurboMode=0
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu=100
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: 1.2.0.5 (update December )

Post by Prisma »

Rudi De Vos wrote:if schook.ddl and vnchook.dll exist schook is used
THX for info, Rudi. But please let me ask about this theme a little bit off topic. I think this important to understand for testing. To not report you bugs being no bugs etc.:
What are the (dis-)advantages of using schook.dll or vnchook.dll. And under witch circumstances is it better/necessary to use the one or the other? Are there further automatisms?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

vnchook = GPL -> pure hoking
schook = freeware -> hooking + accesibility MS API
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

hello again
I have a question may be off topic but:
whether you can use Repeater 1200
http://www.uvnc.com/downloads/ultravnc/ ... -1201.html
with old and new versions winvnc.exe of simultaneously?

found the answer
"Warning: This repeater is for winvnc.exe version 1.2.0.1 only, it does not work with older servers. "
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: 1.2.0.5 (update December )

Post by Prisma »

attention, attention, this is a test whether I understood Rudi finally right :) I asked similar in another thread:

new repeater -> old winvnc = no go
new winvnc -> old repeater = go

This means, you have to update first all your winvnc installations to be later able to update your repeater.
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

was simply a nightmare
I have +100 computers I probably hang myself until it do :twisted:
very sorry that Repeater does not show version servers that are connected to it

thanks for the help
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

1) IdleInterval=60 ( have to be bigger then 59)
ultravvnc.ini
IdleTimeout=60 != IdleInterval=60

IdleTimeout is an old parameter, this is the max time a socket can be idle
IdleInterval = idle input timeout

To avoid confusion= wil be replaced by "IdleInputTimeout" in next version
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

Updated uvnc_settings.exe
-added service handling
-added help pages

http://www.uvnc.eu/download/1205/uvnc_settings.zip
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

test on Windows XP SP3 32bit
"Updated uvnc_settings.exe"
-added service handling
Install Service - error "pop-up window" (Verify that winvnc.exe and uvnc_settings in the same folder can not create the uvnc_service)
Uninstall Service - work OK
Start Service - work OK
Stop Service - work OK

but uvnc_settings.exe and winvnc.exe in the same folder
-added help pages
help button - work OK
throws here
http://www.uvnc.com/webhelp/network.html
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

Help pages depend on the active pane.
checked all the help buttons on all tabs
everything works correctly redirects
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

Rudi i have a question.
I have a lot of servers and each server your personal password that I've created a lot of "PC***.vnc" files for convenient operation connection.
But I do not use them because I use SecureVNCPlugin.dsm and need to look for the password to copy then paste.
You can add to this file "PC***.vnc" line where I can write down the password and connect it automatically inserts
then it will be very easy to work with files to connect "PC***.vnc"
thank you for your attention
Locked