Controlling Virtualbox from the Terminal

Starting/stopping/pausing a VM Now the fun begins. First, you must know the name of the VM you want to run.

Start Virtualbox as a Service in Linux

sudo apt reinstall virtualbox-dkms virtualbox-ext-pack virtualbox-qt virtualbox sudo nano /etc/default/virtualbox VBOXAUTOSTART_DB=/etc/vbox VBOXAUTOSTART_CONFIG=/etc/vbox/autostartvm.

    Start VirtualBox VM as a Service

    Steps Ensure you are a member of vboxusers group sudo usermod -a -G vboxusers $USER Create a script cat <<EOT > vbox_vm_start@.