Changes between Initial Version and Version 2 of Ticket #10092
- Timestamp:
- Sep 25, 2012 7:02:28 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10092 – Description
initial v2 1 1 After giving the command (as root): 2 {{{ 2 3 su - vboxuser -c "/usr/bin/VBoxManage controlvm "vmname" acpipowerbutton" 3 the following command is given in a loop each second 4 }}} 5 the following command is given in a loop each second 6 {{{ 4 7 su - vboxuser -c "/usr/bin/VBoxManage -nologo showvminfo "vmname" -machinereadable" | grep -q 'VMState="poweroff"' 8 }}} 5 9 until this command returns 0 and the loop is ended. 6 10 Apparently at the moment the command returns VMState="poweroff" the command VBoxManage also gives the following error message: 11 {{{ 7 12 VBoxManage: error: The object is not ready 8 13 VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component Console, interface IConsole, callee nsISupports 9 14 Context: "COMGETTER(RemoteUSBDevices)(ComSafeArrayAsOutParam(coll))" at line 1698 of file VBoxManageInfo.cpp 15 }}}