VirtualBox

Changes between Initial Version and Version 2 of Ticket #10092


Ignore:
Timestamp:
Sep 25, 2012 7:02:28 AM (12 years ago)
Author:
Frank Mehnert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10092 – Description

    initial v2  
    11After giving the command (as root):
     2{{{
    23su - vboxuser -c "/usr/bin/VBoxManage controlvm "vmname" acpipowerbutton"
    3 the following command is given in a loop each second
     4}}}
     5the following command is given in a loop each second
     6{{{
    47su - vboxuser -c "/usr/bin/VBoxManage -nologo showvminfo "vmname" -machinereadable" | grep -q 'VMState="poweroff"'
     8}}}
    59until this command returns 0 and the loop is ended.
    610Apparently at the moment the command returns VMState="poweroff" the command VBoxManage also gives the following error message:
     11{{{
    712VBoxManage: error: The object is not ready
    813VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component Console, interface IConsole, callee nsISupports
    914Context: "COMGETTER(RemoteUSBDevices)(ComSafeArrayAsOutParam(coll))" at line 1698 of file VBoxManageInfo.cpp
     15}}}

© 2023 Oracle
ContactPrivacy policyTerms of Use