Configuring VirtualBox autostart on Linux
By pgaskin.net It is often useful to configure VirtualBox virtual machines to automatically start and stop on startup and shutdown. The official documentation is a bit unclear, so I have made a tutorial about how to configure it. 1. Configuration files /etc/default/virtualbox sudo nano /etc/default/virtualbox then add: /etc/vbox/autostart.cfg sudo nano /etc/vbox/autostart.cfg then add: sudo chgrp vboxusers /etc/vbox sudo chmod 1775 /etc/vbox Then, for each allowed username: sudo usermod -aG vboxusers USERNAME, then log out and in for it to apply. 2. Choose VMs to automatically start and stop The first time a user configures autostart, the command: VBoxManage setproperty autostartdbpath /etc/vbox needs to be run. … Continue reading Configuring VirtualBox autostart on Linux