I would like to start virtual machines in headless mode. The advantage: I can logoff from the desktop, and the machine will continue to run. However, starting the virtual machine blocks the Terminal from closing. Is there a clever solution to have everything like a service in the background? If I do 'sudo service ntp start' it will start, and then I can close the Terminal. I could do the following, but I'm not happy with it:
nohup VBoxHeadless -s "MyGuest" &
- log in from a login shell (tty1-6) which is equipped with Byobu, start the VM, and instead of logging out I could detach with F6.
Better way of doing it?