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

Two instances UVNC server

Post Reply
okinobk
8
8
Posts: 8
Joined: 2008-06-19 20:44

Two instances UVNC server

Post by okinobk »

Hello,

I'm trying run two instances UltraVNC server simultaneous. One is running as service for remote support in local network (allow all connection, allow admins by MSLogon, no encryption), second as application started by user for remote support in public network (with command line arguments to connect to repeater, password protection and encryption).
But if I run second instance these arguments was implemented to first winvnc.exe (service) and this service made a connection to repeater (but with service settings - without encryption and so). I try run next instance and situation was repeated, arguments was implemented to second instance (like N-1 system).

BTW servers use another ports and settings in ini files. If I manually create new repeater connection (by Add Client) everything works great.

Thank You for help.

PS Sorry for my English, it is not my native language.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Two instances UVNC server

Post by B »

It can't be done (as far as I know).

Try using two different remote control programs. VNC plays well with all the others.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Two instances UVNC server

Post by YY »

Try running the application session in this way:

Code: Select all

winvnc.exe -sc_prompt -multi -id:1234 -connect repeater_IP:5500 -run 
okinobk
8
8
Posts: 8
Joined: 2008-06-19 20:44

Re: Two instances UVNC server

Post by okinobk »

YY wrote:Try running the application session in this way:

Code: Select all

winvnc.exe -sc_prompt -multi -id:1234 -connect repeater_IP:5500 -run 
This is working. Can you explain me what -sc_promt do? It's seems that reduces some features.

Now I try to run two services of ultravnc. Of course second is installed by windows service command with other name and new program files folder. I made new revision of ChunkVNC, but this is last problem (install as service if other normal uvnc service exists).
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Two instances UVNC server

Post by YY »

The "-sc_prompt", by its original purpose, is to trigger a prompt window at the listening viewer, if the server is making a reverse connection to that viewer.

So in my example, it is in fact doing nothing, since the connection is making to a repeater.

The "-multi" is the element to meet your requirement ... i.e. to start an application session of uvnc, while there is a service session already running ..... but you will find that this is not working, the application session will just pass the operation to the service session

However, if the "-sc_prompt" is included inside the command, then the "-multi" operation will be working as expected.

I can tell you this fact, but I don't know why.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Two instances UVNC server

Post by supercoe »

+1 for -multi that works when the service is installed.
Unless I'm missing something I never did get -multi to work.

The odd thing is I can have UltraVNC and TightVNC on the same machine and it works fine...
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply