3D Acceleration and Compiz Inside VirtualBox Guests

Sun has just released the major 2.2 update to their VirtualBox virtualization software. The most exciting new feature in this release is 3D acceleration for Linux guest operating systems! See the changelog for all the new features and fixes.

Install VirtualBox
VirtualBox offers Ubuntu package downloads as well as a software repository from their Linux downloads page. Neither of these options have been updated for Ubuntu 9.04 yet, so I just downloaded and installed the 8.10 package for now.
Start VirtualBox from Applications->System Tools->Sun VirtualBox.
Install Guest Additions
Here’s how I installed the VirtualBox guest additions in an Ubuntu 9.04 guest. Start up your Ubuntu guest OS. In VirtualBox, click Devices->Install Guest Additions.
Click Run when the autorun prompt opens in the guest. The installation could take a minute while kernel modules are being built. When it’s finished, the installer should prompt you to reboot the guest.


( Read more )