VMware Tools on Fedora Core 9 and VMware Workstation 6.0.4

When you run Fedora Core 9 as a guest OS in VMware Workstation 6.0.4 you might notice that you cannot just increase your default resolution by modifying your xorg.conf (which is a little bit of a pain anyway, especially if you have a dual monitor setup). You actually have to have the VMware Tools package installed.

I actually noticed that with Solaris 10 and Ubuntu, even mounting the tools packages is not so straight forward either. With FC9 you should however be able to just click on “Install VMware Tools” under the “VM” menu in the VMware Workstation window and get the tools mounted under /media.

The directory contains an RPM file and a tar archive but installing the RPM file didn’t do anything for me. I installed it, rebooted, tried rpm –q and it said it wasn’t installed so I decided to try the tar archive. Before you do anything with the tar archive you should however make sure that you have the kernel-devel packages installed because the installer will tell you that some of the pre-built modules are not compatible with your kernel version. So the only remedy will be to recompile them with the C header files that match your kernel. How do you check if you already have the kernel headers installed? Go to …

/lib/modules/2.6.25.9-76.fc9.i686/build/include

…and see if you find anything in that directory. If you can’t even get to that directory then you do not have the kernel-devel packages installed and getting them is fairly straight forward:

yum -y install kernel-devel gcc gcc-c++ xinetd

Now that you have all the necessary source files you can go back and run the VMware Tools install script:

./vmware-install.pl

You’ll be asked many questions to which you should be able to just give the default answer by hitting enter. The one that you have to watch out for is:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

Here just respond with:

/lib/modules/2.6.25.9-76.fc9.i686/build/include

…and keep hitting enter. If everything goes well you should be able to drag & drop files between VMware windows and copy/paste things and change your resolution and many other exciting little features.

2 responses to “VMware Tools on Fedora Core 9 and VMware Workstation 6.0.4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s