Just another trying-to-be-a-geek's blog
Run a VirtualBox virtual machine without a gui
I was working with vbox and FreeBSD. I needed to do some experiments so first i made a template machine, then cloned it to make three clients. I was pretty annoyed by those 4 vm windows opened whereas i was doing everything over ssh and i was pretty confident that nothing could happen that would make me go to tty login. So i googled and came across this:
VBoxHeadless -s <name|uuid>
You can launch a VirtualBox VM from the command line using VBoxManage, but that invokes it in a gui environment.
If you want to just fire off your VM in the background, use VBoxHeadless as shown. To get the names and UUIDs of your VirtualBox VMs, type:
VBoxManage list
I am using the vbox 3.x PUEL, so in my case i had to do:
VBoxManage list vms
to get what author meant here, may be it changed in the new versions, yet a great tip.
| Print article | This entry was posted by shoaibi on October 12, 2009 at 11:25 am, and is filed under Open Source. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |