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

Use of more than 1 ultravnc server instances

Developers may discuss here
Post Reply
gradinaruvasile
Posts: 1
Joined: 2011-10-11 13:38

Use of more than 1 ultravnc server instances

Post by gradinaruvasile »

Hello,

I would like to make the ultravnc server work on some computers in user mode and connect outside via localhost (tunneled connection via another service).
Now the issue i am facing is that if the client computer has ultravnc installed and running in service mode, it effectively overrides the connection permissions (specified in my .ini file).
As ultravnc by default has localhost connections disabled, i cannot use my application on these computers.

In case of an already running ultravnc server
1. How can i avoid the "Another winvnc instance is running" error? The (-fus) setting specified in the wiki has no effect.
2. How can i make my winvnc instance run with all settings specified in its .ini file rather than the settings from the service?
3. Is there a way to make the reverse connection authenticate?

PS I dont use the single click variant because it doesnt capture all elements on Win7.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Use of more than 1 ultravnc server instances

Post by B »

1. You can only run one VNC server process at a time, period (as far as I know).
2. I don't understand -- why can't you just allow all localhost connections, regardless of whether it's listening or connecting outbound? Just go into Admin Properties (or the ultravnc.ini file) and "Allow Loopback Connections".
3. Not exactly authenticate, but you can encrypt it with a required key / DSMPlugin.

You might want to check out how the ChunkVNC wrapper handles this.


Second thought -- are you saying that a PRE-EXISTING copy of VNC is sometimes there, and you want YOUR settings on YOUR copy of VNC server to override the existing ones? You'll probably have to stop and/or disable and/or uninstall any existing VNC server before launching yours. (See #1 above.)
Bonji
100
100
Posts: 339
Joined: 2008-05-13 14:54

Re: Use of more than 1 ultravnc server instances

Post by Bonji »

For #1, I believe the command line parameter -multi causes VNC to not check for other instances of it running.
-Ben
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Use of more than 1 ultravnc server instances

Post by B »

Didn't you imply at https://forum.ultravnc.net/viewtopic.php?f=3&t=18352 that it really didn't work in the end?
Bonji
100
100
Posts: 339
Joined: 2008-05-13 14:54

Re: Use of more than 1 ultravnc server instances

Post by Bonji »

If I remember correctly, it didn't work with both instances running as services. I don't remember all the details now, but I was just pointing out the -multi parameter so the OP could try using that.
-Ben
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Use of more than 1 ultravnc server instances

Post by B »

Cool, thanks. (And thanks for reminding me that the option exists!)
Post Reply