VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 Previous Next 37 Replies Last post: Nov 8, 2009 8:08 AM by mauro13   Go to original post
Click to view alexlang's profile Novice 17 posts since
Nov 19, 2004

We've essentially got 3 threads now on the same topic.

If you disable USB, which force the mouse to the VMware mouse driver instead of the WinXP USB HID drivers, ungrab works. Now the question is how to get the mouse to use the VMware drivers without disabling USB support.

Click to view t2m's profile Lurker 4 posts since
Sep 3, 2009
I tried disabling the "HID-compliant mouse" drivers through the windows
device manager => it leaves me with a mouse pointer that can go beyond
the 640x480 area, but I can't click anymore :-(

At which level do you "disable USB" ?
  • at the VM configuration level ? (through editing the vmx file, for
instance)
  • somewhere else in the windows / system / device manager ?


( for reference, the other threads you mentioned are:
http://communities.vmware.com/message/1292437
http://communities.vmware.com/thread/229545 )

Click to view alexlang's profile Novice 17 posts since
Nov 19, 2004
I remove the "USB Device" from the VMware settings for the VM itelf.
Click to view Bulgroz's profile Lurker 5 posts since
Sep 4, 2009
(Remark: this bug is also discussed there http://communities.vmware.com/message/1355397, but this thread seems the most relevant)

I have had the problem at home since about 1 month and a half, after ugrading the system and it is still there after ugrading from 2.5.0 to 2.5.2 then 2.5.3. I now use KDE 4.3.0, xorg 7.4, kernel 2.6.31rc6 (opensuse 11.2 M6) I do not know the build number of the VMtools, but the windows ISO was a priori extracted from the Workstation 6.5.3 bundle. It occurs with Win2K, XP and Seven rc1 VMs...

At work, I do not have the problem using an old Win2K VM with VMplayer 2.5.3 and VMtools build 80187 inside an opensuse 11.1 (KDE 4.24, xorg 7.4, kernel 2.6.27.29). If I look at the hardware config in the Win2K VM I have 2 USB HID mouse entries + 1 VMware pointing device and I have usb.present = "TRUE" in my vmx file. The mouse does not appear in the list of USB device in the "Devices" menu, so that it should not work if I understood correctly the previous messages ?
Click to view alexlang's profile Novice 17 posts since
Nov 19, 2004
I thought that the answer would have been to delete the two mouse HID devices from the WinXP Device Manager and leave the VMware mouse driver. That seemed to disable the mouse all together though.
Click to view ciberandy's profile Novice 10 posts since
Apr 13, 2005
I've been having this exact problem for 2-3 months now and can't find a solution.

So, I was really happy to find this a few days ago:

alexlang wrote: I remove the "USB Device" from the VMware settings for the VM itelf.Unfortunately, this doesn't work for me. Even with the virtual PS/2 mouse, my Win XP show's this behaviour.
This is so annoying. sigh

My workaround now is to use a VNC client to connect to the virtual machine, but this can't be more than a workaround.
There has to be real solution, right?

VmWare guys, are you listening???
You have been doing such a wonderful work for the last 10 years (I am one of your first customers!)
Please don't screw it up now!

Please let me know if I can help somehow.

Here is some more information about the bug:
  • my OS is Ubuntu 9.04 (with all patches), 64bit on my workstation, 32bit on my laptop.
  • my (most used) guest OS is WinXP-SP3 (with all updates)
  • I've been trying with VmWare Workstation 6.5.1, 6.5.2, 6.5.3 - no difference
  • I restored a snapshot from April 2008 - same problem
  • I restored a snapshot from June 2007 - mouse ungrab works, but autograb doesn't (when entering the VmWare window with the mouse)

Hope this helps a bit to track down the bug.

Bye,
Andy.

edited by ciberandy (more technical information)
Click to view 298's profile Novice 20 posts since
Oct 26, 2007
Same problem here. This problem is extremely annoying and I'd appreciate it if VMWare could look into this and release a fix before Ubuntu 9.10 is released.

Host: Ubuntu Karmic, latest alpha version, out of the box install with pae kernel, VMWare Workstation 6.5.3 or Player 2.5.3 (same problem in both).

Guest 1: Windows 2000 Advanced Server, VMTools upgraded.

Guest 2: Debian 4, VMTools upgraded.

Whether the host is running Gnome with Compiz or Metacity makes no difference.

For me this problem exists only with WS 6.5.3 / P 2.5.3 on Ubuntu 9.10. I don't have this problem with any WS version on 9.04. I didn't try older WS versions on this new Ubuntu.
Click to view fredsey's profile Lurker 3 posts since
Oct 17, 2007
I researched this issue about a month ago and found this article:

http://forums.gentoo.org/viewtopic-t-783680.html

In summary, apparently the issue is the newer version of GTK+. The somewhat good news is it looks like at least VMware 6.5.3 comes with it's own version of GTK+. There's a wrapper script called wrapper-gtk24.sh with the distribution. According to this script, if you set the environment variable:

export VMWARE_USE_SHIPPED_GTK=yes
or
export VMWARE_USE_SHIPPED_GTK=force

before launching VMware, it seems to work just fine.

-f
Click to view 298's profile Novice 20 posts since
Oct 26, 2007
Thanks, fredsey. Works for me as well. This is really good. :-)

I simply edited /usr/bin/vmware and /usr/bin/vmplayer and added this variable setting in both of them.
Click to view Bulgroz's profile Lurker 5 posts since
Sep 4, 2009
I do not have internet at home since Friday due to a thunder strike nearby I suppose.

However, I managed to get the home VM working full screen by editing the VMX file (commmenting out the usb.xxx lines and also setting the vmmouse.present to FALSE (if I remember well)


A question of curiosity, since I am using KDE: Are VMplayer and VMware Workstation using QT or GTK under KDE?

Click to view t2m's profile Lurker 4 posts since
Sep 3, 2009

The "export VMWARE_USE_SHIPPED_GTK=force" trick works for me.

Thank you very much !

Click to view HHelene's profile Lurker 2 posts since
Sep 7, 2009

Sorry, that doesn't work for us.

We assume, that something must go wrong with USB/Mouse/Keybord. In that machine/board, where that kind of error appears, there we had trouble with edev in X, because mouse and keyboard appear twice: as a USB-(HID)-Device and as an ordinary ps2-device. Thats because "real" PS2-Device seems emulated via USB even there are these connectors. On starting XP as guest a warning tells, that there is a "ServerEngines SE USB Device". As told above, this double appearance of keyboard and mice triples, if we put in a USB-C Media Audio Device (because the server has no sound) and finds a third keyboard because of the keys for volume/mute (We need this as an alarming system replacing lacking SATA-Drive-lights in an array, it tells for example: "number one - number one" if the first drive has troubles ;-). Therefore always us-keybord is chosen and other automatically defaults of X - X seems to ignore xorg.conf completely.

Of course, we must move vmware to another machine for this one and only a kind of statistic Windows-Program for which we need vmware/XP and which is run approximately twice a week. Hopefully, one of VMware guys reads here into: On qemu this runs without problems and seems to be much less ressource consuming, but we test this in parallel a couple of weeks, so, if there is no solution within this time, we start with qemu...

wbr HHelen


Click to view ciberandy's profile Novice 10 posts since
Apr 13, 2005

Hey, thanks so much! I made a shell alias:

alias vmware="VMWARE_USE_SHIPPED_GTK=force vmware"

and now it works like a charm. Finally, pooh.
I could even reenable the USB controller in the virtual machine -great!

Thanks so much!
Andy.

Click to view alexlang's profile Novice 17 posts since
Nov 19, 2004
Hum, this is really strange. This does NOT work for me. The mouse will not ungrab even using this setting. I still have to disable the USB controller. Now, I'm not using 640x480, but rather 1920x1200. I don't know if that's an issue or not.
Click to view Bulgroz's profile Lurker 5 posts since
Sep 4, 2009
@alexlang : Have you tried setting vmmouse.present="FALSE" in your VMX file ?

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities