[solved] No mouse integration, the rest works OK

Discussions about using Linux guests in VirtualBox.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: [solved] No mouse integration, the rest works OK

Post by Perryg »

@alex266,
Have you installed the guest additions (in the guest)?
If you are running the latest VirtualBox and have installed the guest additions do you know for a fact that they are installed properly?
There are some prerequisites that need to be installed in the guest before the additions will in fact install properly.
Read this Howto: Install Linux Guest Additions + Xorg config
alex266
Posts: 6
Joined: 9. Oct 2010, 15:42
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Linux (Fedora)
Location: W. Sussex, England

Re: [solved] No mouse integration, the rest works OK

Post by alex266 »

That'll be where I went wrong then. Guest additions can't have installed properly. Thanks.
alex266
Posts: 6
Joined: 9. Oct 2010, 15:42
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Linux (Fedora)
Location: W. Sussex, England

Re: [solved] No mouse integration, the rest works OK

Post by alex266 »

Got the packages, restarted.
Tried to install it again:
Building the VirtualBox Guest Additions kernel modules [FAILED]
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it, you can
run

/etc/init.d/vboxadd setup

to build them.
This is /var/log/vboxadd-install.log:
Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: [solved] No mouse integration, the rest works OK

Post by stefan.becker »

Then you dont have kernel-source/devel/headers installed. Or false version.
alex266
Posts: 6
Joined: 9. Oct 2010, 15:42
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Linux (Fedora)
Location: W. Sussex, England

Re: [solved] No mouse integration, the rest works OK

Post by alex266 »

Package kernel-headers-2.6.34.7-56.fc13.x86_64 already installed and latest version
Package kernel-devel-2.6.34.7-56.fc13.x86_64 already installed and latest version
No package kernel-source available.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: [solved] No mouse integration, the rest works OK

Post by stefan.becker »

What says "rpm -qa | grep kernel"?

What says "uname -a"?
alex266
Posts: 6
Joined: 9. Oct 2010, 15:42
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Linux (Fedora)
Location: W. Sussex, England

Re: [solved] No mouse integration, the rest works OK

Post by alex266 »

[root@localhost ~]# rpm -qa | grep kernel
abrt-addon-kerneloops-1.1.0-1.fc13.x86_64
kernel-2.6.33.3-85.fc13.x86_64
kernel-devel-2.6.34.6-54.fc13.x86_64
kernel-devel-2.6.34.7-56.fc13.x86_64
kernel-headers-2.6.34.7-56.fc13.x86_64
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.33.3-85.fc13.x86_64 #1 SMP Thu May 6 18:09:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: [solved] No mouse integration, the rest works OK

Post by stefan.becker »

See it your self.

Kernel and Kdenel-devel are not in the same version.

This is not a VBOX Problem.

You must use your package manager to update all kernel packages so that they have exact the same version.
alex266
Posts: 6
Joined: 9. Oct 2010, 15:42
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Linux (Fedora)
Location: W. Sussex, England

Re: [solved] No mouse integration, the rest works OK

Post by alex266 »

Looks like this did it, thanks.
yum update
/etc/init.d/vboxadd setup
austinmarton
Posts: 2
Joined: 2. May 2010, 00:39
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7

Re: [solved] No mouse integration, the rest works OK

Post by austinmarton »

I installed Fedora 10 in VirtualBox 4.0.4 today and the mouse wasn't working. Installing Guest Additions didn't fix the problem. As vondralbra posted, I checked /usr/lib/xorg/modules/input/ where I had a driver "vmmouse_drv.so". I changed my xorg.conf file from "vboxmouse" to "vmmouse", restarted and it works!
Post Reply