Let’s try this post again.
I’ve been trying Ubuntu 10.04 beta on Virtualbox, but unfortunately the guest tools aren’t totally up-to-date. A couple of fixes are needed.
First, via Absolutely!, fix the video drivers:
sudo nano -w /usr/src/vboxvideo-3.1.4/vboxvideo_drm.c
Replace line 90 with:
#if defined(DRM_UNLOCKED) || LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 33)
.unlocked_ioctl = drm_ioctl,
#else
.ioctl = drm_ioctl,
#endif
Then run the command:
sudo /etc/init.d/vboxadd setup
Secondly, fix the mouse integration. Add a new X config file:
sudo nano -w /etc/X11/xorg.conf
with the following content:
Section "InputDevice"
Identifier "VBoxMouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection
Reboot, and all should be well.
Related posts:
Thanks Andrew!
On the same topic, maybe you’re wondering how to install Java Sun JDK…. well, this worked nicely for me:
sudo add-apt-repository ppa:yofel/off-ppa && sudo apt-get update && sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin
HTH