Updated: 2012-10-21 18:59 EDT
Installing VMware Tools into your Linux system will improve many aspects of using Linux under VMware. See the Benefits of VMware Tools for details.
You must have your Linux system installed and running (Powered On) before you can install the VMware Tools, and you must be logged in to the GUI with a visible Desktop.
Arrange your windows so that you can read these instructions and see your Linux Desktop at the same time. You may find it easier to open these instructions in a web browser in your Windows host O/S, so that you can have your VMware window separate from these instructions, and so you can reboot your Linux virtual machine without losing the ability to read these instructions.
Start by going to the VMware “Virtual Machines” (“VM”) menu and select “Install VMWare Tools”. A dialog Question may appear, giving you instructions similar to what you read here (but with less detail). Click “Install”. A CD/DVD volume named “VMWare Tools” should appear on your Linux Desktop.
Do not proceed until you see the “VMWare Tools” volume icon on your Linux Desktop.
A file browser dialog box should open automatically with the title “VMware Tools”. If the file browser does not open, double click on the “VMware Tools” CD/DVD icon on the Desktop to open it.
Do not proceed until you have a file browser dialog open with the title “VMware Tools”.
Two icons are visible inside the file browser dialog box: a manifest.txt
file and a compressed VMwareTools file ending in “.tar.gz
”. Do not proceed until you see these icons inside the file browser dialog.
When you can see the compressed VMwareTools .tar.gz
file, click-and-drag that icon to your Linux Desktop to copy the file. Close the file browser dialog box when you are done. The VMwareTools compressed tar.gz file should now be a file visible on your Linux Desktop.
Do not proceed until you see the .tar.gz
file on your Linux Desktop.
Go to the Linux menu "Applications" -> "System Tools"
and open "Terminal"
(usually at the bottom of the menu). A command terminal will open, with a shell command-line prompt.
If necessary, arrange your windows so you can read these instructions and type into the terminal command window at the same time.
Read this entire section before typing any of the shell commands below:
Arrange your windows so you can read these instructions and type into the command terminal window at the same time. The list of commands below will as you a lot of questions. The answers to those questions are in these notes below. Read the notes before you start typing shell commands!
*
” in some file names and don’t insert any blanks before it.su
” below will require you to type in your Linux root password to start a shell running as the root user. (If you have forgotten your root password, you will have to follow directions in the FAQ page to boot Single-User Mode to set a new root password. After setting the new root password, start over again at the top of the list of shell commands, below.)./vm*/vm*
” runs an installation script (as the root user) that will ask you many questions. Wherever the running script asks you to enter or confirm something, push the ENTER key and accept the default value - do not type or change anything, except for the following questions (if asked):
rm
” will produce no visible output. It removes all the files you don’t need after installing VMware Tools.Now, having read all the above numbered instructions carefully, type each of the command lines below into your Linux Terminal window, one at a time, and wait for each command to finish before typing the next one. (Wait for the shell prompt to return after each command.) If you have questions or encounter problems, go back and read the numbered notes, above, for help. Type these shell command lines:
cd Desktop
tar -zxvf VM*
su
./vm*/vm*
exit
rm -rf VM* vm*
exit
Read the entire numbered comment section, above, before typing any of the above shell commands. Note that you cannot type most of the commands above more than once. Be precise. Letter case matters!
After the installation is finished and the terminal window closes, above, go to your VMware application, under the “View” menu, un-check (turn off) “Autofit Window” and check (turn on) “Autofit Guest”. (On some versions of VMware, these options are under the sub-menu Autosize in the View menu.)
The simplest way to get VMware Tools working is to shut down and restart your Linux virtual machine using the usual Fedora System | Shut Down and then Restart menu. Do this now to enable VMware Tools.
When you next log in to Linux, you should find that your Linux Desktop is expanded to the full size of the VMware window containing it (no more black border). If you still see a black border or scroll bars, you have not successfully installed the Tools. Start over again.
Changing the size of the VMware window will change the size of your Linux Desktop to match. (Sometimes, you may see a pop-up error message saying that the monitor size cannot be changed. Ignore this.) If you still see a black border or scroll bars, you have not successfully installed the Tools.
Your mouse will now flow seamlessly between the virtual machine and the host machine, without having to push any escape keys to unlock it from the VMware window.
Cut-and-paste will now work between this virtual machine and the Windows host O/S. Note that cut and paste work differently under Linux (X-Windows) than under Windows.