VMware Communities
nospamboz
Enthusiast
Enthusiast

Ubuntu 7.10 (and other) mouse/display: Problem and solution

I think I've figured out the mouse and display problems that are being

experienced with Ubuntu 7.10 and maybe other Linux distributions.

It's basically an Xorg version problem stemming from lots of sources.

One source is that Xorg has apparently changed their version numbering

scheme. If you run the command "Xorg -version" in Ubuntu 7.04, you get:

X Window System Version 7.2.0

Release Date: 22 January 2007

X Protocol Version 11, Revision 0, Release 7.2

But in Ubuntu 7.10, you get:

X Window System Version 1.3.0

Release Date: 19 April 2007

X Protocol Version 11, Revision 0, Release 1.3

This change is confusing vmware-config-tools.pl in VMware Tools.

Moreover, the code in vmware-config-tools.pl that makes all Xorg

versions above 7.0 equivalent is not consistent.

Here's how to fix it. The line numbers refer to those in vmware-config-tools.pl

that comes with Fusion 1.1 RC (build 61385).

After you've installed VMware Tools, as root you have to "chmod u+w" the

file "/usr/bin/vmware-config-tools.pl" so you can edit it. Make the following changes.

Line 4961:

Change

$major = $1;

to

$major = $1 eq 1 ? 7 : $1;

Line 5130:

Change

} elsif ($major == 7 && ($minor >= 0 && $minor <= 2) &&

to

} elsif ($major == 7 &&

Line 5135:

Change

if ($minor eq 2) {

to

if ($minor ge 2) {

Save the new version, then run it (/usr/bin/vmware-config-tools.pl). Then restart X or reboot.

I hope the final release of Fusion 1.1 addresses these issues.

0 Kudos
21 Replies
sprotsman
Contributor
Contributor

Well, my working openSUSE 10.3 install was short lived. For whatever reason it is back to the not allowing x to start up properly. I removed VMwareTools and restarted in failsafe mode. I run '/usr/sbin/sax2 -r' and then 'startx' after it is finished. This gives me the ability to login to my desktop just fine (still haven't installed VMwareTools. The next step is to reboot in normal mode. However, when I do this x doesn't start again. This is ridiculous. I can make a recording of this if anyone is interested in seeing it in action.

0 Kudos
nospamboz
Enthusiast
Enthusiast

sprotsman, can you please put your contributions regarding display

server problems in the thread linked to below?

http://communities.vmware.com/thread/109593

This thread here is about the "jittery" mouse and

Xorg versioning problem, which is fixed by the patch

I started the thread with.

It's confusing if two different problems are discussed in one thread.

Thanks.

0 Kudos