Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

Add Support for Password Files when connecting

Any features you would like to see in UltraVNC? Propose it here
Post Reply
PhR34x0r
Posts: 7
Joined: 2021-10-04 08:57

Add Support for Password Files when connecting

Post by PhR34x0r »

Implement the possibility to pass a password or passwordfile as commandline argument to the vncviewer when connecting to a host similar to RealVNC

In RealVNC i created a password file via vncpasswd and use it to connect to a passworded server without the need to type the password in manually everytime, via a shortcut like this: vncviewer -passwordfile secret
When i run the shortcut, the GUI opens, i enter the hostname and just connect since it uses the provided passwordfile automatically
PhR34x0r
Posts: 7
Joined: 2021-10-04 08:57

Re: Add Support for Password Files when connecting

Post by PhR34x0r »

Thanks for the reply Rudi, unfortunately not.

My use case is this:
Whole company uses (Real)VNC (atm), each department has their own vnc server password.
Now when support wants to connect they start VNC viewer with shortcut A for department A, shortcut B for any computer in departmen B and so on.
Since i can pass the server password(file) in the shortcut, supporters dont need to know/enter it for each client they connect to.

The suggested Launcher however saves a seperate client/password pair, meaning i or support need to manually enter this at least once for every single client (we have hundreds).
So while this goes in the right direction, for my case its still no replacement for the feature in RealVNC, hence the feature request.

Just passing the passwort to vncviewer in plaintext would suffice, vncviewer -password, then GUI starts with password in memory and uses it on every client i connect to.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6867
Joined: 2004-04-23 10:21
Contact:

Re: Add Support for Password Files when connecting

Post by Rudi De Vos »

You can already use a password, viewer option as plaintext

-user msuser
ms logon (NTLM1) username set at server (not viewer side)
-password password

see:
https://www.uvnc.com/docs/uvnc-viewer/5 ... eters.html
PhR34x0r
Posts: 7
Joined: 2021-10-04 08:57

Re: Add Support for Password Files when connecting

Post by PhR34x0r »

I already saw that and thought it only applys to MSLOGON with user/pass.
Just tried it with just -password and of course it works. You're so right, my bad.

Still not as nice as passwordfiles though, since you can see the password in plaintext now.
But i'll figure out a way to obscure that. Topic can be closed if you like. Thanks very much! :)
Post Reply