Fedora 9 on VMware, mouse tracking issue
I recently upgraded from VMware 6.0.3 to VMware 6.5, after installing the latest VMwareTools, the mouse went haywire. I click at one place and X thinks its somewhere else. Basically the co-ordinate system seems messed up. There are two ways to fix this.
1. Replace vmmouse driver with mouse driver in xorg.conf
Open the xorg.conf file
1 | sudo gedit /etc/X11/xorg.conf |
1 2 3 | Section "InputDevice" Identifier "VMware Mouse" Driver "vmmouse" |
Scroll down to the Driver entry in that section and change vmmouse to mouse
Save and reboot.
This is just a minor fix, in some cases there might still be problems in full screen mode and you cant shift from the virtual machine to the host easily.
2. To fix all the above issues and enable proper vmmouse implementation in the guest,
Open the xorg.conf file
1 | sudo gedit /etc/X11/xorg.conf |
and add this to the xorg.conf file
1 2 3 | Section "ServerFlags" Option "AutoAddDevices" "false" EndSection |
Save the file and reboot.
This will enable true vmmouse and the mouse will track perfectly.
PS: I used sudo here, if you haven’t configured sudo on your system, enable it or just use the root shell.














on October 12th, 2008 at 16:43 said :
Thanks.. beats my ‘fix’ of rolling back to an old version of the VM.
on October 12th, 2008 at 16:44 said :
thanks!!
works great!
on October 12th, 2008 at 16:44 said :
why the 1st fix?
doenst the 2nd one solve all the problems?
on October 12th, 2008 at 16:44 said :
Yes but in some systems the mouse doesnt get detected at all..
the first one works fine in those cases.. except for the small glicthes
on October 15th, 2008 at 21:40 said :
Awesome!
Thanks for this fix. I have been beating my head against a wall for a couple weeks now on this!
on November 16th, 2008 at 12:30 said :
Anyone know what happen cos when i updated the fedora 9 with security and driver update…
my mouse double click in VMware on fedora become single click. and certain part cannot click… the mouse behave strangely…
thanks
on November 21st, 2008 at 23:59 said :
AWESOME! I built an FC9 vm in ESXi to use as a template, but could not work out my mouse issues. I would click on a menu item and have to hold down the left mouse button for the menu to stay in view, and then release over the menu item that I wanted to select. On occasion, my mouse would just stop working.
I followed your step #2 above, but my /etc/X11/xorg.conf was named xorg.confBeforeVMwareToolsInstall. So I added the syntax in step #2 to this file, reneamed it to xorg.conf, rebooted, and voila…my mouse was back to normal.
Thanks so much for the help!
on December 2nd, 2008 at 3:33 said :
Thanks a lot! Finally a simple Linux fix!
on February 13th, 2009 at 22:55 said :
Thanks a lot!
I recently installed the 64bit version of fc9 on vmware player 2.0.4. All was fine until I ran the upgrade to install security updates etc. then for some reason the mouse clicks were all funky – sometimes it would double-click, and other times it wouldn’t click at all. Your solution #2 fixed all this :-)
on May 4th, 2009 at 11:33 said :
[...] reason all my single clicks were being treated as double clicks, which drove me nuts. I found this posting which solved the problem, I use option 2 and edited the file /etc/X11/xorg.conf and added the [...]
on May 13th, 2009 at 10:00 said :
This solved the problem, but I have a few questions:
1. How would anyone know this?
2. Why did it occur on this VM, which is a clone of another VM that doesn’t have the problem. In fact, the original VM doesn’t even have an xorg.conf (which is what X on Fedora 10 defaults to) (You can generate the xorg.conf with an X command)
3. How did the cloned VM end up with an xorg.conf with all the vmware stuff in it?
4. What caused it to start happening in this cloned VM, when I’ve been running that VM for several weeks without a problem until suddenly today? I have VMware tools installed in both.
on May 29th, 2009 at 23:37 said :
I had the mouse issue in Fedora 9 installed on VMware hosted by Vista. The left mouse click just doesn’t work. I used the 2nd step and it works perfectly now. Thanks!!!
on June 19th, 2009 at 22:50 said :
Thanks, Thanks, Thanks.
The only one solution for this issue.
The first one solved my problem.
Many many chatter on the web and only few solutions.
Thanks
Fabrizio
on July 11th, 2009 at 21:06 said :
Oh, Thanks, the 2nd solution works perfectly!
on September 5th, 2009 at 0:57 said :
It still don’t work with me.. i tried both (VMplayer with UbuntuVM under XP) still the mouse moves randomly to the upper left corner and isn’t where the curser is