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

[solved]resetting the ultravnc.ini every 10-15 min

Post Reply
l84dnr
Posts: 3
Joined: 2009-11-27 18:59

[solved]resetting the ultravnc.ini every 10-15 min

Post by l84dnr »

I am able to configure the uvnc server and connect with the client.

However, I made some modifications to the admin properties -- for example setting the port to 5999, using DSM plugin, allowing viewer keyboard and mouse inputs. I found these inputs are not saved more than several minutes before reverting to defaults

If I leave my client-server connection up, it drops after several minutes.

I then am not able to connected unless I go under "Admin properties" and reset everything again or revert to default on the client side.

I noticed the ultravnc.ini is being overwritten too.

Why is the server reverting to default proprties on it's own and over-writing the .ini file? I am using from the lower right process bar (Windows Vista) and have installed WinVNc as a service

Should I revert to an earlier verison of UntraVNC server?

[mod=494,1259612752]added solved to title, stop uvnc_service, configure ultravnc as you want ... OK, restart uvnc_service[/mod]
Last edited by l84dnr on 2009-11-30 20:25, edited 1 time in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6838
Joined: 2004-04-23 10:21
Contact:

Re: resetting the ultravnc.ini every 10-15 min

Post by Rudi De Vos »

permission issue's.
It looks like it's never saved to the file, so changes are in memory.
Next time you start ultravnc, the ultravnc.ini old value's are back.

When you click OK, (properties) does Vista give you the UAC prompt
and tell ultravnc try to change a file ? Without uac enabled this doesn't work. The popup give the location of a temp file, if vnc can't write this file, some default value's are saved....

Are you a local or domain admin ?
Winvnc as service need to be able to change his credentails to the desktop user... if this fail, nothing is written to the file.

2 Solutions that always work, independed the uac and current desktop user...

1) start "Edit Settings" from start->programs->ultravnc
(require a close of the server before changes are imported)
2) Run winvnc as application to make the changes
Last edited by Rudi De Vos on 2009-11-27 20:35, edited 1 time in total.
l84dnr
Posts: 3
Joined: 2009-11-27 18:59

Re: resetting the ultravnc.ini every 10-15 min

Post by l84dnr »

Hello Rudi,

Thank you very much for the reply. I think you hit the nail on the head.

I re-enabled UAC and I just created a local user with Admin priv.

When I say ok after restarting the service and setting some admin properties, I do noticed the UAC details pointing to this file which appears for about 2 seconds after I say ok, then disappears

.\users\jay\appdata\local\temp\ultravnc.ini

From now on, it appears to have saves the settings. Are these settings now saved in the registry? (I looked undre HKEY_Local_machine -> Software) and did not see VNC.

I presume the ultravnc.ini under program files is for when it is run as an app.


Thank you very much for the reply. I will continue to run in server mode.

One thing I did notice was that I need to say "OK" to changes vs. Apply and OK, in order to get them to save properly.

Thanks again.
Jay
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6838
Joined: 2004-04-23 10:21
Contact:

Re: resetting the ultravnc.ini every 10-15 min

Post by Rudi De Vos »

app and service mode use the same ultravnc.ini file
Once set i count for both
l84dnr
Posts: 3
Joined: 2009-11-27 18:59

Re: resetting the ultravnc.ini every 10-15 min

Post by l84dnr »

I see, it is set. thanks
Post Reply