Remote control your virtual box vm

Jump to: navigation, search

Imagine your userid is henry and your desktop machine where you have a virtualbox VM is called nirvana.

You should be able to start the VM (at any time) by running (from the portal):

$ ssh vboxmanage startvm LabWindows --type headless

To pause the VM use:

$ ssh vboxmanage controlvm LabWindows pause

You can unpause by doing running:

$ ssh vboxmanage controlvm LabWindows resume

I took a snapshot of the machine before shutting it down. If you need it restored to that state you can run

$ ssh vboxmanage snapshot LabWindows restore BeforeReboot