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

winvnc.exe -connect issue

Post Reply
brurp
Posts: 2
Joined: 2022-02-02 11:51

winvnc.exe -connect issue

Post by brurp »

I cannot add new client with parameter. example winvnc.exe -connect IP:Port. Nothing happens when I execute.

Add New Client in GUI is working.

This issue is tested in version 1.3.60. Old version 1.2.40 is working.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: winvnc.exe -connect issue

Post by Rudi De Vos »

commandline require "-run" at the end.
using the
service_commandline it's without the "-run"
brurp
Posts: 2
Joined: 2022-02-02 11:51

Re: winvnc.exe -connect issue

Post by brurp »

UltraVNC is installed as a service, so if i add -run at the end, i will get "Another instance of WinVNC is already running".

I have tried to stop service, close UltraVNC and then add -run paramter. It seems to work in application mode.

But there is still a issue when it is running as a service.

This issue is confirmed with multiple clients in version 1.3.60. OS is Windows 10 Version 21H2. uvnc_service is installed as default.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: winvnc.exe -connect issue

Post by Rudi De Vos »

When winvnc is running as service only add new client from the GUI works.
There is no commandline to instruct a service to start a new connection.
The GUI actual use some internal window message to be able todo this.
A user stared exe doesn't have the required permissions.

It's possible with some workaround
-create a myserver.ini with service_commanline = -autoreconnect -connect ....
-stop service
-copy myserver.ini as ultravnc.ini
-start service
Post Reply