Virtualbox: prevent a virtual machine to go down after I log out from the consolle I lanched the VM from

Posted by Daniele on Server Fault See other posts from Server Fault or by Daniele
Published on 2010-09-22T10:00:12Z Indexed on 2011/06/26 8:24 UTC
Read the original article Hit count: 305

Filed under:
|

I login remotely to a machine with Virtualbox installed by launching:

ssh -Y root@virtualbox

After that, I launch a Virtual Machine:

nohup VBoxSDL --startvm vm1

or

nohup VBoxSDL --startvm vm1 &

After that, I don't have the prompt anymore.

Then, if I switch off my local machine, the virtual machine goes down (no matter whether I use & or not).

How can I keep it running after I switch off my local machine?

© Server Fault or respective owner

Related posts about virtualbox

Related posts about nohup