我正在使用VitualBox版本5.2.18,确实安装了必需的vboxguestadditions,并且试图在VM上运行以下命令:
VBoxManage guestcontrol ubuntu --username "test" --password "test" /
run --exe /bin/sh -- /bin/sh -c /home/test/setup.sh
作为输出,我得到以下信息:
VBoxManage: error: VERR_FILE_NOT_FOUND
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 938 of file VBoxManageGuestCtrl.cpp
在VBox.log文件中:
164:02:27.911033 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={486fd828-4c6b-239b-a846-c4bb69e41038} aComponent={GuestSessionWrap} aText={VERR_FILE_NOT_FOUND}, preserve=false aResultDetail=0
有什么想法吗?