|
Last edited 12/23/2010
This guide explains how you can run virtual machines with VirtualBox 4.0 on a headless OpenSUSE 11.3 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.
I do not issue any guarantee that this will work for you!
1 Preliminary Note
I have tested this on an OpenSUSE 11.3 server (host system) with the IP address 192.168.0.100 where I'm logged in as a normal user (user name admin in this example) instead of as root.
If you only have a root account, but no normal user account, create one as follows (user admin, group admin)...
# groupadd admin# useradd -d /home/admin -m -g admin -s /bin/bash admin
... create a password for the new user...
# passwd admin... and log in as that user.
2 Installing VirtualBox
To install VirtualBox 4.0 on our OpenSUSE 11.3 server, we need root privileges, therefore we run
$ suFirst we have to find out what kernel we have installed:
# uname -a server1:/home/admin # uname -aLinux server1 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08
View the Original article