Page 1 of 1

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

Posted: 24. Apr 2013, 14:51
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?

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

Posted: 24. Apr 2013, 14:58
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?

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

Posted: 24. Apr 2013, 15:04
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.

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

Posted: 24. Apr 2013, 19:02
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!