Transferred from: http:// OS .51cto.com/art/201001/176721.htm
We recommend that you install the VMware Tools System for Ubuntu users. First, you need to learn about Ubuntu VMware Tools and introduce Ubuntu VMware Tools in detail. To install Ubuntu VMware Tools in Ubuntu, follow these steps: first, do not download Ubuntu VMware Tools, and second, download Ubuntu VMware Tools, first, I have tested the feasibility, but the download is a little slow. It took me one day and one night to download it. It may be because my network speed is too slow. It took me a long time to find it, so post it for your reference.
First:
1. Install Ubuntu VMware Tools in Ubuntu 8.04 (handy)
Download script wget http://chrysaor.info/scripts/ubuntu804vmtools.sh
Run chmod + x ubuntu804vmtools. Sh to modify the script permission.
Sudo./ubuntu804vmtools. Sh
If you have any questions during installation, simply press the Enter key to use the default parameter.
2. Install Ubuntu VMware Tools in Ubuntu 8.10 (intrepid)
Download script wget http://chrysaor.info/scripts/ubuntu810vmtools.sh
Modify the script permission chmod + x ubuntu810vmtools. SH and run sudo./ubuntu810vmtools. Sh.
If you have any questions during installation, simply press the Enter key to use the default parameter.
3. Install Ubuntu VMware Tools in Ubuntu 9.04 (janunty)
Download script wget http://chrysaor.info/scripts/ubuntu904vmtools.sh
Modify the script permission chmod + x ubuntu904vmtools. SH and run sudo./ubuntu904vmtools. Sh.
If you have any questions during installation, simply press the Enter key to use the default parameter.
If you are using VMWare Fusion, server, and workstation, remember to restart the virtual machine after the installation is complete.
Second:
Ubuntu's installation of ubuntu VMware Tools is simple and difficult. The following describes how and code to install Ubuntu VMware Tools.
Ubuntu VMware Tools location: VMWare installation path vmwarevmware workstationlinux. ISO
After startup, Press ESC and select recovery mode to log in. Then click "Virtual Machine" → "Install Ubuntu VMware Tools ".
[Root @ rd01 ~] # Mount/CDROM # Sometimes it may not be loaded. In this case, you must first disable the system and then manually specify the ISO image:
[Root @ rd01 ~] # Cd/CDROM
[Root @ rd01 ~] # Ls-
[Root @ rd01 ~] # Cp VMwareTools-5.5.1-19175.tar.gz/tmp.
[Root @ rd01 ~] # Cd/tmp
[Root @ rd01 ~] # Tar zxpf VMwareTools-5.5.1-19175.tar.gz
[Root @ rd01 ~] # Cd vmware-tools-distrib
[Root @ rd01 vmware-tools-distrib] #./vmware-install.pl
Creating a New installer database using the tar3 format.
Installing the content of the package.
The default value is used in the installation process. Press enter.
In which directory do you want to install the binary files?
[/Usr/bin]
What is the directory that contains the init directories (rc0.d/to rc6.d /)?
[/Etc/rc. d]
What is the directory that contains the init scripts?
[/Etc/rc. d/init. d]
In which directory do you want to install the daemon files?
[/Usr/sbin]
In which directory do you want to install the library files?
[/Usr/lib/vmware-tools]
Thepath "/usr/lib/vmware-Tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want?
[Yes]
In which directory do you want to install the documentation files?
[/Usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-Tools" does not exist currently. thisprogram isgoing to create it, including needed parent directories. isthis what you want?
[Yes]
The installation of ubuntu VMware Tools 5.5.1 build-19175 for Linux completed
Successfully. You can decide to remove this software from your system at any
Time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl ".
Before Running Ubuntu VMware Tools for the first time, you need to configure it
Invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
This program to invoke the Command for you now? [Yes]
Stopping Ubuntu VMware Tools Services in the virtual machine:
Guest Operating System daemon: [OK]
Trying to find a suitable vmhgfs module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Pcnet32 30153 0
Unloading pcnet32 Module
Trying to find a suitable vmxnet module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Detected x.org version 6.8.
Disable the console mouse service: [OK]
Start the console mouse service: [OK]
Please choose one of the following Display sizes (1-13 ):
# Display resolution. Here we use 1024x768 as an example.
# When Ubuntu VMware Tools is installed, the configuration file of X server is automatically modified.
[1] "640x480"
[2] <"800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x1050"
[10] "1680x1050"
[11] "1600x1200"
[12] "1920x1200"
[13] "2364x1773"
Please enter a number between 1 and 13:
[2] 3
X Window System Version 6.8.2
Release date: 9 February 2005
X protocol version 11, Revision 0, release 6.8.2
Build Operating System: Linux 2.6.9-34.el i686 [elf]
Current operating system: Linux rd01.domain 2.6.9-34.el #1 wed Mar 8 00:07:35 CST 2006 i686
Build Date: 04 May 2006
Build HOST: x8664-build.centos.org
Before reporting problems, checking http://wiki.X.Org
To make sure that you have the latest version.
Module loader present
Oskernel: Linux version 2.6.9-34.el (buildcentos @ build-i386) (gccversion3.4.5 20051201 (Red Hat 3.4.5-2) #1 wed Mar 8 00:07:35 CST 2006 P
Markers: (--) probed, (**) from config file, (=) default setting,
(++) From command line ,(!!) Notice, (ii) Informational,
(Ww) Warning, (EE) error, (NI) not implemented ,(??) Unknown.
(++) Log file: "/tmp/vmware-config0/xf86configlog. 3131", time: Mon Jun 12 20:57:34 2006
(++) Using config file: "/tmp/vmware-config0/xf86config. 3131"
(Ww) VMware (0): failed to set up write-combining range (0xf0000000, 0x1000000)
X is running fine with the new config file.
Starting Ubuntu VMware Tools Services in the virtual machine:
Switching to guest configuration: [OK]
Guest filesystem DRIVER: [OK]
DMA setup: [OK]
Guest Operating System daemon: [OK]
The configuration of ubuntu VMware Tools 5.5.1 build-19175 for Linux for this running
Kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
Effect.
You can now run Ubuntu VMware Tools by invoking the following command:
"/Usr/bin/vmware-toolbox" during an xfree86 session.
To use the vmxnet driver, restart networking using the following commands:
/Etc/init. d/network stop
Rmmod pcnet32
Rmmod vmxnet
Depmod-
Modprobe vmxnet
/Etc/init. d/network start
Enjoy,
-- The VMware team
[Root @ rd01 vmware-tools-distrib] # shutdown-R now
# After the modification, restart the computer to make Ubuntu VMware Tools take effect.
After the restart, you may find that you still need to press "CTRL + ALT" to release the mouse (vm6.0 does not have this problem). Because I use 5.5.3, manual execution is required for the effect.
Run vmware-tools on the terminal:
Click Applications> attachments> terminal in the upper left corner of the Ubuntu Desktop to open a program similar to notepad in windows. Enter the following content in it ($ is self-contained and does not need to be specifically entered ): $/usr/bin/vmware-toolbox
If you are in trouble, we need to enable vmware-toolbox to run automatically upon startup. Click the Ubuntu menu: System → preference → session → startup programs. Add a startup program named "vmware-toolbox" and "command" as "/usr/bin/vmware-toolbox. In this way, UBUNTU VMware Tools can be automatically run after each boot. Restart Ubuntu to check the effect! (Note: The vmware-toolbox is not hidden in the background. Do not disable it after startup ).
Ubuntu VMware Tools is a good thing, but it also has side effects, such as: 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. Change option "Protocol" "PS/2" in the file
Option "Protocol" "imps/2" restart ubuntu. Right-click the file or folder and select "open as administrator ".