Opened 6 years ago
Last modified 6 years ago
#18163 new defect
Guest property LoggedInUsers does not work with 'wait' in VBoxManage
| Reported by: | thoni56 | Owned by: | |
|---|---|---|---|
| Component: | other | Version: | VirtualBox 5.2.22 |
| Keywords: | guestproperty | Cc: | |
| Guest type: | Linux | Host type: | Windows |
Description
To wait for a machine to be ready for logins I used
vboxmanage guestproperty wait <machine> /VirtualBox/GuestProperty/OS/LoggedInUsers
At some point (before 5.2.22) that stopped working. You can still 'get' that property, and it is listed with 'enumerate' for a running <machine>.
Note:
See TracTickets
for help on using tickets.


I tried it with 5.2.22 and I can't reproduce the problem with the "
wait" option. Host: OSX 10.11.6.In the mean time, I noticed that the value you talk about ("
/VirtualBox/GuestProperty/OS/LoggedInUsers") doesn't exist. Instead I see the value "/VirtualBox/GuestInfo/OS/LoggedInUsers".Here's for example what I get with the following script, where I print the date time before and after the wait. I run it in the terminal, and then switch to the VM and log in:
As you can see the script was waiting for the 7 sec it took me to switch to the VM and log in.