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

Find Out a MultiSession Users Display Number

Post Reply
Jaymie
Posts: 1
Joined: 2019-10-28 17:57

Find Out a MultiSession Users Display Number

Post by Jaymie »

I appologize if this information is availabe elsewhere and I just have not been able to find it.

I am in the process of testing a new setup for my company that has created a unique scenario. We are testing out running Windows 10 MultiSession in Azure, which allows multiple users to remotely connect to the same Windows 10 Virtual Box.

For doing screen sharing support with the remote users, I have UltraVNC Server running as an application (not as a service) set to autostart when the user logs in. So far all of this is working as expected.

As each user logs on, a new display number is created for each person, so if we know which display number it is we can connect to each session individually using hostname:dislplay#.

My problem is, I can not find any way to determin what a users Display number is without just guessing (They start at 0, and just keep incrementing up as new people log on). Are there any ways to find out the session number in a better fashion?

(I have also tried enabling RDPmode, but from by initial testing I don't think Windows 10 MultiSession opens up windows sessions that report back the same way as RDP, so it doesn't do anything).

Please let me know if there is any more information I can provide.

Jaymie
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Find Out a MultiSession Users Display Number

Post by Rudi De Vos »

If a vnc port is in use, the next free port is used.

You can create a ultravnc.ini for each user with his own port.

Code: Select all

PortNumber=5900
Sample
C:\Users\rudi\desktop\startvnc.bat
C:\Users\rudi\ultravnc.ini
startvnc.bat
c:\programfiles\uvnc bvba\ultravnc\winvnc.exe -inifile C:\Users\rudi\uvnc\ultravnc.ini
Post Reply