xunillinux
August 21st, 2008, 05:22 AM
Hi.
I'm new to Ubuntu Server, Virtualbox, Linux and related and I'm currently learning by doing.
My goal:
Virtualbox running on my headless Ubuntu Server (8.04.1) accessed remotely from my laptop.
VRDP and VBoxHeadless seems to be keywords here, but after following this quide (http://ubuntuforums.org/showthread.php?t=833923) for a headless setup, I still couldn't get it to work. I don't remember the exact problem, but after googling I got the impression that I should change to the non ose version.
I removed the ose version using apt-get remove, but saw that some Virtualbox components were still loading during server boot, so I searched the server for "virtualbox" and "vbox" and started deleting, expecting everything to be recreated when installing virtualbox_1.6.4-33808_Ubuntu_hardy_i386.deb downloaded from virtualbox.org.
Now, after installing using sudo dpkg -i virtualbox_1.6.4-33808_Ubuntu_hardy_i386.deb I see that I need to install or recompile the kernel module using sudo /etc/init.d/vboxdrv setup The problem is that I have no vboxdrv in /etc/init.d/.
So, how do I recreate vboxdrv in /etc/init.d/?
Here is the exact output from running$ VBoxHeadless
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.24-19-386) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
VirtualBox Headless Interface 1.6.4
Update 20080822: Copied vboxdrv from another location and got things up and running. The challenge now is to connect to this headless virtual machine from my Mac. VBoxHeadless tells me that I should connect to port 3389, but I haven't figured out just how to do that and how to authenticate. Downloaded RDC from Microsoft, but couldn't connect. Hopefully some more searching and trial an error will get me there.
I'm new to Ubuntu Server, Virtualbox, Linux and related and I'm currently learning by doing.
My goal:
Virtualbox running on my headless Ubuntu Server (8.04.1) accessed remotely from my laptop.
VRDP and VBoxHeadless seems to be keywords here, but after following this quide (http://ubuntuforums.org/showthread.php?t=833923) for a headless setup, I still couldn't get it to work. I don't remember the exact problem, but after googling I got the impression that I should change to the non ose version.
I removed the ose version using apt-get remove, but saw that some Virtualbox components were still loading during server boot, so I searched the server for "virtualbox" and "vbox" and started deleting, expecting everything to be recreated when installing virtualbox_1.6.4-33808_Ubuntu_hardy_i386.deb downloaded from virtualbox.org.
Now, after installing using sudo dpkg -i virtualbox_1.6.4-33808_Ubuntu_hardy_i386.deb I see that I need to install or recompile the kernel module using sudo /etc/init.d/vboxdrv setup The problem is that I have no vboxdrv in /etc/init.d/.
So, how do I recreate vboxdrv in /etc/init.d/?
Here is the exact output from running$ VBoxHeadless
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.24-19-386) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
VirtualBox Headless Interface 1.6.4
Update 20080822: Copied vboxdrv from another location and got things up and running. The challenge now is to connect to this headless virtual machine from my Mac. VBoxHeadless tells me that I should connect to port 3389, but I haven't figured out just how to do that and how to authenticate. Downloaded RDC from Microsoft, but couldn't connect. Hopefully some more searching and trial an error will get me there.