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.
After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
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
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
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
Two instances UVNC server
Re: Two instances UVNC server
It can't be done (as far as I know).
Try using two different remote control programs. VNC plays well with all the others.
Try using two different remote control programs. VNC plays well with all the others.
Re: Two instances UVNC server
Try running the application session in this way:
Code: Select all
winvnc.exe -sc_prompt -multi -id:1234 -connect repeater_IP:5500 -run Re: Two instances UVNC server
This is working. Can you explain me what -sc_promt do? It's seems that reduces some features.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
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).
Re: Two instances UVNC server
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.
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.
Re: Two instances UVNC server
+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...
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...
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!



