Installing VMWare Tools

Hi There,

I am experiencing difficulty installing VMWare tools for an OpenSuse virtual machine which I created. I have the following packages installed on that vm image (which I believe are required to install tools): kernel-source, binutils, make, gcc and gcc-c++.

Now, I have been following the directions on this page - Setting up SUSE Linux as a VMware Guest - openSUSE
There is a line on that page which says - *3. Do not use the RPM package to install VMware tools, the package contains dependencies to kernel modules which will overwrite your currently installed kernel.
*Unfortunately, I got a bit ahead of myself, read that too late and made the mistake of using that package.
I think this has made some kind of change to my currently installed module, because, when I proceeded with the rest of the instructions, it did not work. When I entered *. *at the shell, I got the following error:

linux-mg0y:/tmp/VMwareTools/vmware-tools-distrib # .
-bash: use: command not found
-bash: use: command not found
-bash: my: command not found
-bash: my: command not found
-bash: line 20: syntax error near unexpected token (' -bash: line 20: my @cKernelModules = qw(vmblock vmdesched vmhgfs vmmemctl vmxnet vmci vmmon vmnet);’

From here, I am seeking assistance.

You’re close… You need to run the command with the period and forward slash, ./

So, run the command as root like this:

Some of the software below you already installed. Perhaps try installing whatever is on the list that you don’t already have:

When installing the VMware Tools you may see something like “Your kernel was built with gcc version 4.3.1, while you are trying to use
/usr/bin/gcc version 4.3. This configuration is not recommended and VMware Server may crash if you’ll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler “/usr/bin/gcc” version 4.3 anyway? [no]”. If you see that I think you can be allright by typing “yes” and pressing Enter.

Thanks. Now, I made sure that all of those packages were installed. Then I ran the installation script with the correct command. It resulted in the following error:

linux-mg0y:/tmp/VMwareTools/vmware-tools-distrib # ./
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.


Execution aborted.

Is the next step to remove those using YAST, and then run the script again?

I don’t have an answer. But look at the following two links. The first link see the section "4 Fixing “The following VMware kernal modules have been found on your system that were not installed by the VMware installer.”

Thanks. I found the answer.

OpenSuse installs open-vm-tools and vmware-kmp-pae by default.

Remove both of those with YAST, then you are good to go with the install script.

I’m now looking at a sweet 1680 X 1050 display:)

glad you figured it out!

I keep trying, I always get a failure to remove open-vm-tools…

subprocess failed: Error: RPM failed: umount: /proc/fs/vmblock/mountPoint: not found
FATAL: vmblock not found.
FATAL: vmsync not found.
FATAL: vmmemctl found.