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

options.vnc problem

Post Reply
grubi
8
8
Posts: 20
Joined: 2012-01-14 21:03

options.vnc problem

Post by grubi »

Just downloaded version 1.3.2 from the website and wonder how options for the viewer are handled in the new version. If I start the viewer as non admin user, change some settings and click the "Save" button, the settings are stored within a file called "-5900.vnc" in the users "%APPDATA%\UltraVNC" folder, however this file is not honored when launching the viewer again. There is also the options.vnc file where the settings are load from and which can be edited manually.

How is this intended to work?
What did I miss?

THX a lot.

Cheers.
User avatar
OldNESJunkie
20
20
Posts: 32
Joined: 2017-05-22 21:40
Location: Music City USA
Contact:

Re: options.vnc problem

Post by OldNESJunkie »

The custom options are saved to a file as you stated, but it loads the standard one unless you specifically tell it to load the saved one via commandline:
vncviewer -config -5900.vnc

or whatever the name of the custom file is. You may have to specify the full path as well.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: options.vnc problem

Post by Rudi De Vos »

Path where all options are saved.
%appdata%\ultravnc

When you select a host, the viewer check if the config file for that hosts exist.
Sample when you connect to localhost 5900, the viewer search for the file and load it "LOCALHOST-5900.vnc"

The option file is only used the first time the viewer is started or when you erase all files
from the %appdata%\ultravnc folder. It's loaded each time, but overloaded by the server_port.vnc file.

Each time you select another host in the mru list the settings of the viewer are loaded.
Isn't it working ?
grubi
8
8
Posts: 20
Joined: 2012-01-14 21:03

Re: options.vnc problem

Post by grubi »

Hi Rudi.

THX for explanation.
I wasn't aware of the fact, that settings are maintained "per server".

But what is the "Delete" button for?
From the logic I then would expect the server specific settings file being deleted. But here nothing happens at all.

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

Re: options.vnc problem

Post by Rudi De Vos »

The button delete the file.

A delete doesn't reset the current settings, it just delete the file.
Perhaps a delete also need to do a reset on the loaded settings.
grubi
8
8
Posts: 20
Joined: 2012-01-14 21:03

Re: options.vnc problem

Post by grubi »

Rudi De Vos wrote:The button delete the file.
Indeed that's what I expected, however as stated nothing happens at all.
If I enter "testserver" into "server:port" edit control and press the "Save" button a file "testserver-5900.vnc" is created.
However if I press "Delete" afterwards this file in not beeing delete.

Cheers
Post Reply