Dec 23, 2009

How to Enable Mouse Integration For Ubuntu 10.04 In VirtualBox

Mouse integration is very important to Me in VirtualBox, if mouse integration is not enabled You need to pres host key to switch from virtual machine to system.



First when I installed Ubuntu 10.04 Lucid Linx Pre-Alha mouse integration worked fine.
After upgrading to Ubuntu 10.04 Lucid Lynx Aplha 1 (clean installation) mouse integration did not worked.


To install mouse integration first You need to install virtualbox guest additions, to install virtualbox guest additions pres host + D.
That will insert CD in virtual machine, enter that CD and run autorun.sh.

When installation is done go to terminal and type:


sudo gedit /etc/X11/xorg.conf


Paste those lines into your xorg.conf


Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection


Restart virtual machine and You're done!

3 comments:

S said...

Excellent! Worked perfectly.

Jon Jennings said...

Thanks.

I just installed Alpha 3 into VirtualBox 3.1.4 and mouse integration didn't work (or rather it DID, but the cursor was invisible - which I guess was your problem).

Your modification fixed it.

Ivan said...

Yes! that was too problem, when You install guest additions and restart it automatically turn on compiz and cursor is invisible :P

Post a Comment