1. Install vmtools
Choose VMware> Virtual Machine> install VMware.
Tools, and select "Install" in the pop-up dialog box ". In this case, VMWare for Linux is automatically loaded under Ubuntu.
Tools installation CD image. You will see a virtual machine desktop named Vmware
Tools. Which includes VMwareTools-5.3.3-34685-i386.rpm and vmwaretools-
5.3.3-20.5.tar.gz.
The. RPM file is for red hatter. We only have the file named .tar.gz and copy it to a folder (because the optical drive is not writable ).
$ Tar zxf vmwarw.ls-5.3.3-20.5.tar.gz(the system will decompress the .tar.gz file after the car is returned)
$ CD vmware-tools-distrib (after you press enter, the directory will be converted to the decompressed folder)
$ Sudo./vmware-install.pl (after you press enter, you will be prompted to enter your password, indicating that you will execute an action with more advanced permissions-install the software; press enter again to start installation)
After some confirmation, press enter (this is equivalent to the many dialogs that are filled in when installing software in windows. Here we use the default settings ), after "enjoy -- the VMware team" is displayed, the vmwaretools installation is complete.
If you are using vmware workstation 6.0.0, now you should be able to see Vmware
After the tools is installed, you no longer need to use CTRL + ALT to switch between the virtual machine and the reality. The transition is so natural. The resolution of the virtual machine can automatically adapt to the window size, I
It seems so harmonious. However, we use vmware workstation 5.5.3, so you can't see anything for the moment. Let's make the final settings.
In VMware Workstation 5.5.3, after installing VMware Tools in Ubuntu, you must manually execute/usr/bin/vmware-toolbox to display the effect. You can run the following command on the terminal:
$/Usr/bin/vmware-toolbox
However, if you are in trouble, we need to enable vmware-toolbox to run automatically upon startup. Click the Ubuntu menu: System -- preferences -- session --
Startup
Programs, add a name named "vmware-toolbox", command is the start of "/usr/bin/vmware-toolbox"
Program. In this way, VMWare automatically runs after each boot.
Tools. Restart Ubuntu to check the effect! (Note: The vmware-toolbox is not hidden in the background. Do not disable it after startup)
25. PNG
VMware Tools is a good thing, but it also has side effects. For example, the scroll wheel of the mouse in the virtual machine is poor. To solve this problem, open the terminal and enter:
$ Sudo gedit/etc/X11/Xorg. conf
This command enables the system to open the/etc/X11/Xorg. conf file with the root permission. Put
Option "Protocol" "PS/2"
Change
Option "Protocol" "imps/2"
Restart ubuntu.
Ii. Set Resolution:
1. CD/usr/bin
Use this command to enter the/usr/bin directory;
2. ls *. pl
Use this command to find vmware-config-tools.pl files;
3./vmware-config-tools.pl
Run the vmware-config-tools.pl file;
4. Set resolution
Enter the corresponding number and press Enter. You can set it like the original system;
5. Restart the VM.
Iii. compressing VM Space
With the use of virtual machines, the space will increase, and even if files are deleted, the space will not be reduced. You can use the shrink of VMware Tools to execute vmware-toolbox, then we can use shrink to compress it. The effect is quite good, but the time is a bit long.