Table of Contents

Installing VMware Tools in Fedora 10

Author(s)

Bill Giannikos

Introduction

In this guide we will be going through the process of correctly installing VMware Tools in Fedora 10. This guide assumes you have already installed VMware Workstation, have installed Fedora 10 as a guest and have installed all the latest system updates for the guest.

Installing VMware Tools

Preparing your system

To begin, unmount and eject any CD/DVD currently connected to your guest. If you have a CD/DVD mounted to your guest you will see a CD icon on your desktop, just right click on this and press eject.

Installing the tools


Now in VMware Workstation go up to the VM menu item and then select Install VMware Tools….



After a few seconds you will have this window pop up. Double click on the item which ends in .rpm (in this version of VMware Tools it is VMwareTools-7.8.4-126130.i386.rpm)



You will now see this windows. Click Install. You will be asked for your root password, type it in and press Authenticate.



After a little while you will see this window. Don't worry about this message and just press Force install. You will be asked for your root password again, type it in and press Authenticate.



The installation of VMware Tools will now commence and take about 3 minutes to complete. After installation is finished you will see the message above. Click Close.

Configuring VMware Tools

The above section went though the process of installing the tools but now we need to configure them for the system.

We now need a terminal window to enter a few commands. Go to Applications at the top left of your guest, then System tools and then click on Terminal.

First we need to switch to the root user, type in the following:

su -


You will be asked for your root password, type it in and press enter.

Now we need to install the kernel development packages. Type in the following line:

yum -y install gcc kernel-devel patch make


This will install the required packages which we need.

Now we are ready to install the VMware Tools configuration utility. Type in the following commands:

vmware-config-tools.pl

During configuration you can press enter to all the options except when you get down to the display size option. Because of the way Fedora 10 now works this section will fail. However Fedora 10 automatically takes care of the configuration so there is no need to worry about this. Just enter any resolution here and continue, it wont mean anything.

Enabling VMware Tools on startup

To complete the installation we need to tell Fedora to load VMware tools on startup.

Go up to System at the top of your screen, then select Preferences, then select Personal and then click on Sessions.



You will now be presented with this window. Click on the Add button.



You will be presented with the Add Startup Program window. Enter the details as they appear in the screenshot above and then click on Add. Then click on Close on the Sessions window.

And finally restart your computer.

Conclusion

VMware Tools is now installed and your guest is fully configured to run as a virtual machine. Please note however that if Fedora release an updated kernel you will need to run the vmware-tools-config.pl program again.





Discussion

Russ Petruzzelli, Wednesday 19 of August, 2009 [18:25:41]

I'm am following this guide but am having a problem with xorg.conf.
All the modules appear to be successfully built and loaded 'perfectly'.
(I skip the experimental sync driver).
When it gets to X.org it wants to create a new xorg.conf…I say yes…

then it says, “The updated X config file does not work well…”
The log says “RgbPath is not a valid keyword in this section”.
Googling that finds that a bug in Xorg that requires a workaround to comment out that line.

The problem is I never see an /etc/X11/xorg.conf file to make the change.

I am running VMware server 2.0.1 on windows XP SP3. With one guest OS: Fedora 10.
I have two displays powered by NVidia drivers.

Also, if I answer, “create a new X config file from a template” it cannot parse the config file. (I don't think one gets created ever.) and then shows:
Fatal server error:
no screens found

Thanks in advance.

Pieter van Rooij, Thursday 06 of August, 2009 [13:56:10]

Same problem as Brian Barlow, but I used the new release Fedora 11. A reboot does not solve my problem.

John Reed, Wednesday 17 of June, 2009 [23:41:23]

Thanks for the great guidance. It was a painless install.

Voidn, Monday 15 of June, 2009 [21:59:02]

Works Great! Very easy. Now if only someone would do this for Gentoo.

Thanks.

Greg Gass, Friday 29 of May, 2009 [20:37:29]

Thank-you. I tried to install tools about a month ago and couldn't do it… and ended up deleting the OS all together. I decided to give it one more chance after I found this guide. IT Works yeah! thanks again.:-D

verynice!, Tuesday 14 of April, 2009 [02:56:32]

thanks, been looking around for awhile… another thing that i did was install fedora as “ubuntu”. this makes sure install vmware tools is available under “vm” menu.. I installed it under “other” the first time and Install vmware tools was grayed out. you can obviously rename it your os. this may be a suggestion for the person saying he didn't see an “rpm”?? ubuntu tells vmware to show both when installer starts rpm and tar.gz .. hope this helps someone as i was helped

Jonah, Thursday 09 of April, 2009 [16:23:03]

I was following each step, including yum update, everything seem ok untill i restart my fedora. after the loading bar, i couldn't see my login screen. it's just black screen. any idea?

John Reed, Thursday 18 of June, 2009 [20:13:18]

Hello Jonah, I am just a beginner. I followed Bills instructions UNTIL
As the config was running and I was hitting the enter key to the questions
the process got to the piont where it asked the following question:
The configuration file /etc/X11/xorg.conf can not be found.
Do you want to create a new one?
The default answer was [yes] however I typed no and hit enter.
For better or worse I found the black screen of death was no longer there.

Mat, Thursday 02 of July, 2009 [08:33:38]

I have the same trouble. Any way to reverse this without reinstalling Fedora, then VMwaretools then saying no?

onewebclick, Thursday 13 of August, 2009 [22:10:43]

i am having the same issue … any idea on how to solve ?

Brain Barlow, Friday 03 of April, 2009 [15:39:58]

Umm, followed the steps exactly, but does not seem to work as it can't find the C Header Files.

[root@fedora10 ~]# yum -y install gcc kernel-devel patch make
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package gcc-4.3.2-7.i386 already installed and latest version
Package kernel-devel-2.6.27.19-170.2.35.fc10.i686 already installed and latest version
Package patch-2.5.4-35.fc10.i386 already installed and latest version
Package 1:make-3.81-14.fc10.i386 already installed and latest version
Nothing to do
[root@fedora10 ~]# vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:

 Guest operating system daemon:                          [  OK  ]

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler ”/usr/bin/gcc”. Use environment variable CC to override.

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

The path ”/usr/src/linux/include” is not an existing directory.

Bill Giannikos, Friday 03 of April, 2009 [23:37:03]

Doesn't look like the installer is detecting where your headers are. Have you updated your whole distribution with yum update and then rebooted your system?

Brian Barlow, Sunday 05 of April, 2009 [20:08:08]

Bill, exactly the issue, work a treat now. Thanks for getting back to me so soon with a solution. Hopefully this will help other non Linux experts like myself. Excellent guide… Thanks.

Regards Brian

Athar, Monday 23 of March, 2009 [16:21:58]

I was facing this issue for past couple of days. Excellent guide!

Thanks a lot

PKtm, Wednesday 18 of March, 2009 [16:40:08]

Problem: for unknown reasons, I don't have the RPM file (just the .pkg file) in the automounted DVD. What do I do?

Fedora will not truly be ready for desktop until procedures like the one above are considerably less arduous. IMHO.

PKtm, Wednesday 18 of March, 2009 [16:41:12]

Sorry, I meant I just have the tar.gz file (no .pkg file)

Bill Giannikos, Friday 03 of April, 2009 [23:35:40]

Sorry, not sure why this would be. Both files should show up even if you don't use rpms, so why it doesn't show up on your system I don't know.

Enter your comment
UAFEU
 
installing+vmware+tools+in+fedora+10.txt · Last modified: Monday 29 of June, 2009 [11:54:45] by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2010 Linwik.com and other authors