I am using an Ubuntu 12.04 guest in a Windows 7 host. I would like to launch Ubuntu's Firefox using a command in Windows. I discovered the vboxmanage guestcontrol function and it sounds like it does exactly what I want. The problem is that I can't get it to work. Here is the command and output that I type at the DOS prompt:
Code: Select all
C:\VirtualBox>VBoxManage.exe guestcontrol MyVirtualMachineUbuntu exec --image /usr/bin/firefox --username bob --password password --wait-stdout --verbose
Waiting for guest to start process ...
Waiting for process to exit ...
Exit code=1 (Status=500 [successfully terminated])Code: Select all
C:\VirtualBox>VBoxManage.exe guestcontrol MyVirtualMachineUbuntu exec --image /bin/ls --username bob --password password --wait-stdout --verbose
Waiting for guest to start process ...
Waiting for process to exit ...
bin
boot
cdrom
dev
etc
......Thanks.