VirtualBox: Start Firefox in Ubuntu via a Windows script?
Posted
by
SpaceRook
on Ask Ubuntu
See other posts from Ask Ubuntu
or by SpaceRook
Published on 2012-12-10T01:06:26Z
Indexed on
2012/12/10
5:19 UTC
Read the original article
Hit count: 213
I am using VirtualBox to run Ubuntu 12.04 as a guest in a Windows 7 host. I would like execute a command in Windows that will launch Ubuntu's Firefox. I tried VirtualBox's VBoxManage guestcontrol function. The command seems to do something, but nothing seems to happen in Ubuntu:
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])
The /usr/bin/firefox command works when I run it in Ubuntu. Also, with guestcontrol, I can successfully call /bin/ls. But I can't actually get a major program like Firefox to run. Any ideas? Thanks.
© Ask Ubuntu or respective owner