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

Error opening saved connection info files?

Post Reply
Norm@Home
8
8
Posts: 13
Joined: 2010-04-15 03:00
Location: New Jersey, USA

Error opening saved connection info files?

Post by Norm@Home »

I often times want to save connection information to .vnc files so that I can just click the file and be connected without having to enter an IP address / port number / password. When I do this and then try and use the files with any version of UVNC from the latest 1.2.2.3 to versions that are several years old seem to have a problem opening the saved files, where I get an error "Invalid VNC server specified" however I have some older .vnc files that may be 8 or more years old that do in fact work but I've tried looking at the ones that do work versions the ones that don't and I just can't seem to figure out what the difference is.

Does anyone have any idea's how to fix this?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Error opening saved connection info files?

Post by Rudi De Vos »

Without the .vnc file it's hard to test.

Please edit the .vnc and replace passwd/server with some dummy and pm or post.
Norm@Home
8
8
Posts: 13
Joined: 2010-04-15 03:00
Location: New Jersey, USA

Re: Error opening saved connection info files?

Post by Norm@Home »

Here is an example of a file that doesn't work and generates the invalid server message:

Code: Select all

[connection]
host=10.0.0.126
port=5900
proxyhost=
proxyport=0
password=<blanked>
[options]
use_encoding_0=1
use_encoding_1=1
use_encoding_2=1
use_encoding_3=0
use_encoding_4=1
use_encoding_5=1
use_encoding_6=1
use_encoding_7=1
use_encoding_8=1
use_encoding_9=1
use_encoding_10=1
use_encoding_11=0
use_encoding_12=0
use_encoding_13=0
use_encoding_14=0
use_encoding_15=0
use_encoding_16=1
use_encoding_17=1
preferred_encoding=5
restricted=0
viewonly=0
nostatus=0
nohotkeys=0
showtoolbar=1
AutoScaling=0
fullscreen=0
SavePos=0
SaveSize=0
directx=0
autoDetect=1
8bit=0
shared=1
swapmouse=0
belldeiconify=0
emulate3=1
JapKeyboard=0
emulate3timeout=100
emulate3fuzz=4
disableclipboard=0
localcursor=1
Scaling=0
scale_num=100
scale_den=100
cursorshape=1
noremotecursor=0
compresslevel=6
quality=6
ServerScale=1
Reconnect=3
EnableCache=0
QuickOption=1
UseDSMPlugin=0
UseProxy=0
sponsor=0
selectedscreen=1
DSMPlugin=NoPlugin
AutoReconnect=3
ExitCheck=0
FileTransferTimeout=30
KeepAliveInterval=5
ThrottleMouse=0
AutoAcceptIncoming=0
AutoAcceptNoDSM=0
RequireEncryption=0
PreemptiveUpdates=0
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Error opening saved connection info files?

Post by Rudi De Vos »

The file seems to be correct...
But the file association is wrong

the viewer is started like this

Code: Select all

vncviewer -config myfile.vnc
***vnc.reg

Code: Select all

Windows Registry Editor Version 5.00

REM Created For ultravnc.net By TazMAN

[HKEY_CLASSES_ROOT\.vnc]
@="VncViewer.Config"

[HKEY_CLASSES_ROOT\VncViewer.Config]
@="VNCviewer Config File"

[HKEY_CLASSES_ROOT\VncViewer.Config\DefaultIcon]
@="C:\\Program Files (x86)\\uvnc bvba\\UltraVNC\\vncviewer.exe\\vncviewer.exe,0"

[HKEY_CLASSES_ROOT\VncViewer.Config\shell]

[HKEY_CLASSES_ROOT\VncViewer.Config\shell\open]

[HKEY_CLASSES_ROOT\VncViewer.Config\shell\open\command]
@="\"C:\\Program Files (x86)\\uvnc bvba\\UltraVNC\\vncviewer.exe\" -config \"%1\""
Please check the path, it could be different on your pc

If you already have a file association and that's worng you can use a little trick on win 10 to erase it
-Create a file with and call it mytest.exe
-Now set this as deault for .vnc ( will not work) click.vnc and open with ...
-remove the mytest.exe

Then run the vnc.reg
Post Reply