Virtualbox

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use.

Installation

Download newest release from Virtualbox.org

Troubleshooting

When no USB-device is reported to send to vm

sudo adduser $USER vboxusers

Examples

Example

VirtualBox CLI

Description Command Option(s)
List All VMS VBoxManage list vms -
List running VMS VBoxManage list runningvms More details add -l
Show VM Properties VBoxManage showvminfo <vm> -
Start VM (Not HeadLess) VBoxManage startvm <vm> --type headless
Stop Time Sync Between Host and Client VBoxManage setextradata <vm> "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1" -
Send ACPI Shutdown Signal VBoxManage controlvm <vm> acpipowerbutton -
PowerOff VM VBoxManage controlvm <vm> poweroff -
Reset VM VBoxManage controlvm <vm> reset -
Pauze VM VBoxManage controlvm <vm> pause -
Resume VM VBoxManage controlvm <vm> resume -
Memory VBoxManage modifyvm <vm> --memory 1024 -
CPUs VBoxManage modifyvm –cpus 4` -

X11

For example running Ubuntu Server headless with Virtualbox on top, you can install xorg (sudo apt install xorg) to be able to use SSH and manage the interface.

URL List