Running a headless Virtual Box VM
Posted in Uncategorized on 04/21/2011 07:54 am by ashluxI know I’m going to need to run a headless virtual machine using Virtual Box sometime in the future, so here’s a couple of commands on how to run and shutdown a headless VM. For all of these commands, replace
To start the VM headless, use this command:
VBoxManage startvm "<name>" --type headless
To power off the VM (allowing a proper shutdown), use this command:
VBoxManage controlvm "<name>" acpipowerbutton
To forcefully shutdown a VM, use this command:
VBoxManage controlvm "<name>" poweroff














