(solved) say ok to the autocapture dialogue from the cli

This is for discussing general topics about how to use VirtualBox.
Post Reply
strycat
Posts: 7
Joined: 6. Feb 2013, 18:32

(solved) say ok to the autocapture dialogue from the cli

Post by strycat »

I ssh to my machine with VirtualBox on it. I issue the command:

Code: Select all

VBoxManage startvm vb17-shibboleth-rhel6
I get the message:

Code: Select all

Waiting for VM "vb17-shibboleth-rhel6" to power on...
and I wait and wait and wait and nothing happens. So I Ctrl-C and try again. That gives me a horrible error about being in the wrong state. After more tinkering, I give up and decide to figure it out when I'm back in the office and can see what is going on with it.

So today I use the GUI and start the "aborted" machine. From the GUI everything works fine. Again using the GUI I poweroff and save the state.

I then try to repeat what I did from the command line. I got the same problem with it appearing to wait forever to power on. However I noticed on the host, it was waiting for me to click OK to the autocapture warning. Once I did, the command line then showed:

Code: Select all

VM "vb17-shibboleth-rhel6" has been successfully started.
and everything was good at that point.

So my question is how do I start the VM from the command line and not need to have access to the host's gui to click on OK?
Last edited by strycat on 24. Apr 2013, 19:04, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: saying ok to the autocapture dialogue from the command l

Post by mpack »

I'm not sure what "autocapture warning" you are referring to. I have a vague memory of a dialog that disappears once you've installed the GAs. And does the dialog not have a "do not show this message again" checkbox?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: saying ok to the autocapture dialogue from the command l

Post by noteirak »

Do you need to see the VM console or you use ways like RDP or SSH ot connect to the VM?
Iy you don't need ther console, you can always add --type headless at the end of the vboxmanage command.

Else, see mpack's answer.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
strycat
Posts: 7
Joined: 6. Feb 2013, 18:32

Re: saying ok to the autocapture dialogue from the command l

Post by strycat »

noteirak wrote:Do you need to see the VM console or you use ways like RDP or SSH ot connect to the VM?
Iy you don't need ther console, you can always add --type headless at the end of the vboxmanage command.

Else, see mpack's answer.
Thanks this worked!
Post Reply