How to correctly use 'VBoxManage guestcontrol run'?
Posted: 29. Feb 2020, 02:34
It seems I have a fundamental misunderstanding of what the VBoxManage guestcontrol run should do.
For instance, I assumed that the following will execute the ls command inside the guest:
but it returns these error lines:
For instance, I assumed that the following will execute the ls command inside the guest:
Code: Select all
VBoxManage guestcontrol guest_analysis run -- ls /tmp
What is wrong with my usage of VBoxManage guestcontrol run?VBoxManage: error: The guest execution service is not ready (yet)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSessionWrap, interface IGuestSession, callee nsISupports
VBoxManage: error: Context: "WaitForArray(ComSafeArrayAsInParam(aSessionWaitFlags), 30 * 1000, &enmWaitResult)" at line 879 of file VBoxManageGuestCtrl.cpp