VBoxHeadless - Running Virtual Machines With VirtualBox 3.0 On An Ubuntu Server(howtoforge.com)
howtoforge.com
VBoxHeadless - Running Virtual Machines With VirtualBox 3.0 On An Ubuntu Server
http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-3.0-on-a-headless-ubuntu-9.04-server
1 comments
Here is a bash trick to easily detach any process from the shell it was started under.
In this example I do it with xterm .
`disown` removes all of the shell's current jobs from the table of active jobs.
In this example I do it with xterm .
$ xterm &
$ jobs
[1]+ stopped xterm &
$ disown
$ jobs
$
You can close your current shell and xterm will still be running.`disown` removes all of the shell's current jobs from the table of active jobs.
Awesome. I have never heard about `disown` before.
For the record, `screen` can do the same thing.
For the record, `screen` can do the same thing.
[deleted]
[deleted]
[deleted]
IMO, a better way of accomplishing this is VBoxManage startvm <VM Name> --type vrdp
VBoxManage will then start the VM and detach the process from the shell. The one downside to this method is that some errors from VBoxHeadless will end up getting suppressed, so if the VM fails to start, you may need to start it directly with VBoxHeadless to see what the issue is.
If you're using the OSE version of VBox (which lacks vrdp support), you can also use --type headless (since 3.0.0)