How check if a WIN vmachine is connected via remote desktop

This is for discussing general topics about how to use VirtualBox.
Post Reply
CentemeriM
Posts: 2
Joined: 23. Jul 2013, 12:16

How check if a WIN vmachine is connected via remote desktop

Post by CentemeriM »

Hi ALL,
I'm setting up a linux RedHat server running several WIN virtual machine (up to 16) to which users can connect via remote-desktop.
I would like to have a web page showing which virtual machine are already in use and which ones are free for remote desktop connection.
How can i check from server side if a virtual machine is already in control by a user via remote desktop or not?

Thanks, CentemeriM
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: How check if a WIN vmachine is connected via remote desk

Post by scottgus1 »

Rough guess, Virtualbox may not have any way to tell this. Virtualbox only provides the "hardware" for the guests, it doesn't likely know what a guest is doing.

A Google search for "check if a windows PC is logged on" showed some interesting things the guest OS's could do to report in their Event Viewers whether & when they're in use. A vbs script run as a repeating task in the guest could read this info into a text file saved on a shared folder on the host, and the host web page generator could read these status files from the guests to report which VMs are available.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How check if a WIN vmachine is connected via remote desk

Post by noteirak »

Definitly nothing to do with Virtualbox, this is a guest OS matter and you shouldn't think of Virtualbox making a difference.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
CentemeriM
Posts: 2
Joined: 23. Jul 2013, 12:16

Re: How check if a WIN vmachine is connected via remote desk

Post by CentemeriM »

THANKS!
Post Reply