Comments on VBoxHeadless - Running Virtual Machines With VirtualBox 4.0 On A Headless Ubuntu 10.10 Server

VBoxHeadless - Running Virtual Machines With VirtualBox 4.0 On A Headless Ubuntu 10.10 Server This guide explains how you can run virtual machines with VirtualBox 4.0 on a headless Ubuntu 10.10 server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment. Fortunately, VirtualBox comes with a tool called VBoxHeadless that allows you to connect to the virtual machines over a remote desktop connection, so there's no need for the VirtualBox GUI.

10 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

Good read for newcomers! Thanks falko, I'm sure this article will become handy in future Google searches.

If I may add, can you also post the commands to run the VM's at system startup, I'm using webmin, since cron didnt work for me, maybe you have a better automated command? 

Also, for those who want to get a complete replacement for the closed-source, out-dated, and end-of-life VMware Server, phpvirtualbox will add web interface capabilities to the virtualbox.

 http://code.google.com/p/phpvirtualbox/

By: Anonymous

Unfortunately phpVirtualbox isn't yet compat with 4.0 (Just went looking for such a thing and came across this post after checking out phpVirtualbox's page). So, stuck with my scripts and the CLI now, not too bad.

By: Mark

Ahhh Thank you for this post about the extension pack! I've been trying to get VRDE to work for 2 hours now. Almost gave up until I found this! VB needs to make this point about the extension packs in their docs ASAP. Especially in the VRDE how-to sections!

By: Anonymous

yes, phpvirtualbox is now compatible with v4.


By:

sorry bad tutorial,   using the  closed-source version in a tutorial without warning for the restricted policies is imho opinion a bad practice, 

also rdp can be replaced by a module that implements vnc instead of rdp  witch is free either gpl lgpl or other.... 

 

 

By: Anonymous

b4 version 4.0, it was painful to move the Vms in VirtualBox , not anymore

To move a VM use Virtualbox 4.x new export format .ova. If you setup your VM with "Virtio-net" network card you can even move from Windows Host to Linux Host without changing a bit ! (with SATA drivers at least, have not tried IDE, even for XP.)

To start - stop the Vms as a service :    http://www.glump.net/howto/virtualbox_as_a_service   . Very handy. No need for nohup (or a detached Screen windows which is another solution over SSH).



 

By: Matthew F

Just wanted to thank you for writing this article. I'd have preferred to use KVM if my machine supported hardware virtualizaion, but this VMWare headless setup works very well :-)

By: eljuanlux

Hi there, just say thanks about this fantastic tutorial, i spent like 2 days triying to enable de VBoxVRDP and i could't because of the extra pack and thanks to you, today i did it,

Thanks man,

 

Best Regards, 

 Juan

By: Anonymous

Thanks for writing this article.

 It helped me.

By: HD

Hi I follow thse intructions , it works just fine but I got no port listening .....

hdo@VENUS:~$ VBoxHeadless --startvm "U16"

Oracle VM VirtualBox Headless Interface 5.2.22

(C) 2008-2018 Oracle Corporation

All rights reserved.