ThoughtPolice VMware Images
Installing VMware Tools in Fedora 7
Tested with VMware Tools v.5.5.4 (VMwareTools-5.5.3-44386.tar.gz).
1. Install software needed by VMware Tools
- Install packages to build the kernel modules
yum install gcc kernel-devel gcc-c++
- Check the running kernel matches the kernel headers
uname -r # running kernel rpm -q kernel-devel # installed kernel headers
- If the two versions do not match, run
yum -y upgrade kernel kernel-devel reboot
- Find out where the kernel headers are (you may need this later)
ls -d /usr/src/kernels/$(uname -r)*/include
2. Prepare and install VMware Tools
Choose one of a), b), c) or d).
a) If you are running the VM inside VMware Workstation 5.5 Show answer
- From VMware Workstation: go to VM> Install VMware Tools
- From the VM: mount the virtual cd drive
mount /dev/cdrom /mnt/
- Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/VMwareTools-5.5.4-44386.tar.gz
- Unmount the virtual cd drive
umount /mnt
- Now run the installer
cd /tmp/vmware-tools-distrib ./vmware-install.pl
- When asked Do you want to run vmware-config-tools.pl?, answer "Yes".
- When asked if you want vmware-config-tools.pl to try and fix your xorg.conf, say "No", and follow Fixes below.
b) If you have VMware-workstation-5.5.4-44386.tar.gz on disk Show answer
- Make sure VMware-workstation-5.5.4-44386.tar.gz is on disk inside the VM.
- Extract the VMware Tools iso
tar --strip-components=3 -zxvf VMware-workstation-5.5.4-44386.tar.gz \ vmware-distrib/lib/isoimages/linux.iso
- Create a temporary mount point
mkdir /mnt/vmtools-temp
- Mount the iso image
mount -o loop linux.iso /mnt/vmtools-temp
- Copy VMware Tools from the mount
cp /mnt/vmtools-temp/VMwareTools-5.5.4-44386.tar.gz /tmp/
- Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/vmtools-temp/VMwareTools-5.5.4-44386.tar.gz
- Tidy up
umount /mnt/vmtools-temp rmdir /mnt/vmtools-temp rm linux.iso
- Now run the installer
cd /tmp/vmware-tools-distrib ./vmware-install.pl
- When asked Do you want to run vmware-config-tools.pl?, answer "Yes".
- When asked if you want vmware-config-tools.pl to try and fix your xorg.conf, say "No", and follow Fixes below.
c) If you have VMwareTools-5.5.4-44386.tar.gz on disk Show answer
- Extract VMware Tools to /tmp/
tar -C /tmp -zxvf VMwareTools-5.5.4-44386.tar.gz
- Now run the installer
cd /tmp/vmware-tools-distrib ./vmware-install.pl
- When asked Do you want to run vmware-config-tools.pl?, answer "Yes".
- When asked if you want vmware-config-tools.pl to try and fix your xorg.conf, say "No", and follow Fixes below.
d) If you cannot do any of these Show answer
- Download VMware Workstation Trial (free) from
http://www.vmware.com/download/ws/ - Go to If you have VMwareTools-5.5.4-44386.tar.gz on disk, above.
3. Fixes
a) X does not work/"undefined monitor" problem Show answer
You get the error Undefined Monitor "vmware"..
- Edit the X config file
vi /etc/X11/xorg.conf
- Add the lines
Section "Monitor" Identifier "vmware" EndSection - Restart X
b) Your mouse is stuck inside your VM Show answer
- Edit the X config file
vi /etc/X11/xorg.conf
- Add the lines
Section "InputDevice" Identifier "Mouse0" Driver "vmmouse" Option "Protocol" "Auto" Option "Device" "/dev/input/mouse0" EndSection
- Find the ServerLayout section, in that section, add the line
InputDevice "Mouse0" "CorePointer"
- Restart X
c) Your X resolution is too low Show answer
- Make sure you have X working
- Backup your xorg config file
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.works - Re-run vmware-config-tools.pl
- For the final question "Do you want to change your resolution?", answer Yes.
d) fast ethernet driver compile problem Show answer
cd /tmp/vmware-tools-distrib/lib/modules/source tar xf vmxnet.tar cp vmxnet-only/vmxnet.c vmxnet-only/vmxnet.c.orig wget http://www.thoughtpolice.co.uk/vmware/howto/patch2-vmxnet.c.patch patch -u vmxnet-only/vmxnet.c < patch2-vmxnet.c.patch tar cf vmxnet.tar vmxnet-only/ cd /tmp/vmware-tools-distrib ./vmware-install.pl
4. Not fixed
- copy and paste between VM and host
Comments? Feedback? e-mail me
