Comments on VBoxHeadless - Running Virtual Machines With VirtualBox 4.3 On A Headless Ubuntu 14.04 LTS Server
VBoxHeadless - Running Virtual Machines With VirtualBox 4.3 On A Headless Ubuntu 14.04 LTS Server This guide explains how you can run virtual machines with VirtualBox 4.3 on a headless Ubuntu 14.04 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.
6 Comment(s)
Comments
Hi, I ended up in this tutorial to see how to upgrade from virtualbox-4.2 to
virtualbox-4.3. I purged virtualbox-4.2 and followed the instructions here.
The problem is that, after Installing the Extension pack, the Console button does not work in phpvirtualbox anymore.
Here is how to fix it:
After Installing the Extension pack, the VirtualBox kernel modules (/etc/init.d/vboxdrv) needs to be restarted (this requires the shutdown/pause of the VMs and stopping of the vboxweb-service). Without restarting the Modules, the extension pack has no effect and phpvirtualbox hide the related features.
So do this:
# /etc/init.d/vboxweb-service stop
# /etc/init.d/vboxdrv stop
# /etc/init.d/vboxdrv start
# /etc/init.d/vboxweb-service start
That's it!
Cheers
Hi, great article; here's my use case:
install ubuntu server on another physical hdd (not dual-boot) from ubuntu server (and go through installation via RDP) this guide was amazing so here's my feedback:
1. Enable the pae option on the "VBoxManage modifyvm .." command by appending
--pae on
2. The bridge adapter interface may be different for your machine so be sure to do "sudo ifconfig" to check which one it is before giving the arugment to "--bridgeadapter1 " (though you can always just rerun the command with correct value)
The following bash line would probably be good enough to identify the default nic
route | grep "default" | rev | cut -d" " -f1 | rev
I run this command but get an error that linux cannot find the package linux-headers-$ Also when I change the parameters it gives another error about the parenthesis being not recognised.
sudo apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.3 dkms
I removed the line following line linux-headers-$ (uname -r) and ran the command again with just
sudo apt-get install build-essential virtualbox-4.3 dkms
and the installation went ahead
Am I missing some details here? What will happen if I don't use the above string in the command?
What user do you use for step 3.2? Does this have to be done w/root?
When I start the vm, I see the startup script, but then nothing, it just hands. Any help would be appreciated.