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

Command Line Options Not Working

Post Reply
Jaded
Posts: 4
Joined: 2004-07-09 14:24

Command Line Options Not Working

Post by Jaded »

Hello all,

I'm trying to use a couple of the command line options for viewing but they don't seem to hold.

"C:\Program Files\UltraVNC\vncviewer.exe" -viewonly -normalcursor -autoscaling -encoding ultra

The only one that sticks is the normalcursor. Is there a syntax issue that I'm missing? I want to use viewonly, autoscaling, and encoding (force to use ultra).

I've tried uninstall/reinstall still no worky. Can anyone help? Oh I'm using the latest R18 Stable version.
w4jcb
Posts: 1
Joined: 2004-07-09 19:31

command line

Post by w4jcb »

Jaded, I think what you need to do is SAVE the default settings after you have changed them.
Jaded
Posts: 4
Joined: 2004-07-09 14:24

Post by Jaded »

i don't know how to save it. i thought this was a command line and if i put it in the shortcut it would work. i don't see a save function in the vncviewer box. can you please explain?
Polet
Friend of UVNC
Friend of UVNC
Posts: 11
Joined: 2004-05-03 10:03
Contact:

Post by Polet »

2 Jaded

If you want to keep your settings for viewer:
- connect to a server;
- right click on the vncviewer taskbar button;
- choose "save connection info as..."

Sergey
Per Aspera Ad Astra
Jaded
Posts: 4
Joined: 2004-07-09 14:24

Post by Jaded »

Well, that wasn't what I was really looking for because, yes it saves my configs, but only for the connection I entered.

I want my configs checked everytime I open up VNC Viewer and connect to any user's computer that I need to. I don't understand why the command line options don't do anything when I include them in the shortcut to VNC Viewer. I know it should work because I read other posts.

If you read my first post, you know which options I want enabled. If I want the -viewonly option enabled, then from what I understand, I put that command in the shortcut path and when I open the Viewer, the view only checkbox should be checked automatically. That's how it works for the -normalcursor option but none of the other options I want.

UltraVNC's help page clearly states which options are available.
http://ultravnc.sourceforge.net/comviewer.htm
Jaded
Posts: 4
Joined: 2004-07-09 14:24

Post by Jaded »

bump
jbarr
Posts: 1
Joined: 2004-08-20 15:00

Post by jbarr »

<bump also>

Hmmm. I can't figure this one out either.

For example, when I start up the Viewer and the Connection window comes up, I would really like the "Auto Scaling" option and the "'Medium' Quick Option" to already be pre-checked. I have a LOT of servers to potentially view, so creating unique config files for each server is prohibitive.

While it's not a big deal, it would save two mouse clicks every time I fire up Ultr@VNC to connect.

Basically, it's not INDIVIDUAL host configs we want to save, but "program defaults".

Any suggestions?
nickm321
Posts: 2
Joined: 2004-09-15 13:32

Post by nickm321 »

Right, here's what is happening:

If you launch vncviewer -? you get the command line syntax:

vncviewer
[/8bit] [/swapmouse] [/shared] [/belldeiconify] [/listen [portnum]] [/fullscreen] [/viewonly] [/notoolbar] [/scale a/b] [/config configfile] [server:display] [/emulate3] [/quickoption n] [/password clearpassword] [/serverscale n] [/nostatus] [/dsmplugin pluginfilename.dsm] [/autoscaling] [/nohotkeys] [/proxy proxyhost [portnum]]

Looking at this, half way down (coloured in red) is the request for server address. The /autoscaling occurs after this. Therefore switches before the server declaration in the syntax will work regardless whether you specify a server or not. Switches after the server declaration in the syntax will only work if you declare a server to connect to.

Now here's the point. Some of us want to use switches after the server declaration in the syntax, without declaring a server. i.e. presetting defaults upon launching the Ultr@VNC Viewer app. I for one would like autoscaling turned on by default - I connect to many pc's, and don't want to keep config files for them all. They are all of varying resolutions.

This to me looks like a programming oversight. Can we have the command line processing amended to parse all command line switches regardless of whether a server is declared or not? Do the programmers read these threads? :?

Cheers,
Nick M.
lenisham
40
40
Posts: 104
Joined: 2004-06-24 07:00

Post by lenisham »

Here's a little trick I use.

If you want to keep your settings for viewer:
- connect to a server;
- right click on the vncviewer taskbar button;
- choose "save connection info as..."
- Remove the host line from the file
- then use /config configfile

I also use this with VNC Quickdesk.
Post Reply