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

Where does VNC Viewer save it's default settings

Post Reply
redndahead
8
8
Posts: 13
Joined: 2004-06-10 05:18

Where does VNC Viewer save it's default settings

Post by redndahead »

I looked in the registry and they don't show up there so where can I find VNC viewer's default settings?

Also can these settings be used in the registry?

Adam
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6862
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

file in %temp%
options.vnc
redndahead
8
8
Posts: 13
Joined: 2004-06-10 05:18

Post by redndahead »

can those settings be set in the registry to be the default settings?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6862
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Only the server use registry settings
The viewer don't use the registry, but can read .vnc files.

The %temp%options.vnc is used to auto save the last settings (option: auto save) or you can use it as default (option: don't auto save)
JITR

Post by JITR »

Could the config file be saved somewhere else, please? I'd prefer `%USERPROFILE%\Application Data' (or deeper in a subdirectory under this path). Temprary directory is for temporary rubbish that may get deleted, I don't think it's clever to store configuration files there...

Or use `My Documents' as M$ Remote Desktop client does with the similar file of its own.

Well, now I see a reason why every user should have their own temporary directory... ;-) / :-(
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6862
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

It depend how you see it.

When we first added the option.vnc file it was intend for temp save the settings, so that in case you miss the password you don't have to retype all. This is still the case if you check (save last settings)

But then people asked to use it as option (set once and reuse)
As you see, two uses for the same function....

The %temp% was a good choose for temp saving, but perhpas not if you
use it as presets.
JITR

Post by JITR »

Rudi De Vos wrote:It depend how you see it.

When we first added the option.vnc file it was intend for temp save the settings, so that in case you miss the password you don't have to retype all. This is still the case if you check (save last settings)

But then people asked to use it as option (set once and reuse)
As you see, two uses for the same function....

The %temp% was a good choose for temp saving, but perhpas not if you
use it as presets.

Ah, I see... Didn't realize such "evolution" took place. That, of course, explains everything. So I created my own `defaults.vnc' file stored in my home directory and pass it with `/config <path>\defaults.vnc' command line arguments. This `defaults.vnc' file has the `host' entry in the `connection' section set to empty value, so UltraVNC doesn't connect to any particular host but shows it's usual dialog instead. And of course with the default config loaded from my `defaults.vnc' file. :-) I guess this is the most proper implementation of the "second function" (as you described them) without relying on a "temporary" file.

And I'm refraining from using shared temporary directory for multiple users. This apparently won't do any good in Windows. The default out-of-box Micro$oft's setup uses `%USERPROFILE%\Local Settings\Temp' which is a separate directory for each user and it can be expected many application will count with this, so using shared directory for multiple users is just asking for trouble. Contrary to Unix environments, where applications are written completely different way and can happily share `/tmp'. Please don't take this personally, I'm not trying to say anything against UltraVNC. This is, unfortunately, the way how *many* applications behave according to strange Micro$oft's default setup. (Well, I have the feeling there were no per-user temporary directory settings in Windows NT 4.0. How could that work?)

And yes, UltraVNC is great program. I have quite heavily tested both UltraVNC and RealVNC (both server and client (ie. viewer)) and UltraVNC beats RealVNC in both cases. The ability to quickly enable and disable sending of special keys to the remote host is very useful feature. Plus the enhanced configurability of the server. And more. I could only hope for the ability to configure some of the hotkeys, but the default setup is quite good. So, keep up the good work and thanks for UltraVNC! And for your answer, too. :-D
Post Reply