I often use VirtualBox VMs to run a development environment within. These are usually some very basic command line operated *NIX systems. Since I interact with them through SSH via a host only network connection I don't really need the Window that pops up when starting a VM. It's actually quite annoying.
Luckily there's a simple solution. Instead of starting a VM using the graphical VirtualBox Manager, you can start it using the following command
VBoxManage startvm "VM name" --type headless
In headless mode the useless "dead" windows aren't created any more which really is quite a blessing. To stop a VM either shut it down through SSH or use the following command
VBoxManage stopvm "VM name"
To see a list of your VMs run the following command.
VBoxManage list vms
No comments :
Post a Comment