There are two ways to choose from:
1. Run the su command on the terminal, enter the password as prompted, obtain the root permission, and then execute the following commands respectively:
(The kernel version number may be different here. Run uname-R on the terminal to view the current kernel version)
CD/usr/src/linux-headers-2.6.35-22-generic/include
CP-P generated/utsrelease. h Linux/utsrelease. h
CP-P generated/Autoconf. h Linux/Autoconf. h
After running the first command, the system prompts that the permission is insufficient. Run the su command directly on the terminal and enter the password. If "authentication failed" is always prompted, run sudo passwd to reset the password. Another solution:
Sudo-S
CD/lib/modules/$ (uname-R)/build/include/Linux
Ln-S ../generated/utsrelease. h
Ln-S ../generated/Autoconf. h
Re-run the installation command to install VMWare Tools. After restart, VMWare Tools will not start with the system and need to be added to the "Startup Program Group". However, the Ubuntu 10.10 interface is somewhat changed, without "Preferences", there is no "session". Instead, a new program is added to "Start application, enter/usr/bin/vmware-toolbox in the "command" (however, VMWare-Toolbox is not hidden in the background and should not be closed after startup ).
Therefore, we will summarize how to install VMWare Tools in Ubuntu 10.10:
1. Click "Virtual Machine-install VMWare Tools", double-click the disc icon on the desktop, and right-click "... Tar.gz "suffix file to decompress it on the desktop.
2. Open the terminal, run the su command, enter the password to obtain the root user permission, and execute the following commands in sequence (note that the version number may be different here, you can run uname-r on the terminal to view the current kernel version ):
Cd/usr/src/linux-headers-2.6.35-22-generic/include
Cp-p generated/utsrelease. h linux/utsrelease. h
Cp-p generated/autoconf. h linux/autoconf. h
3. Enter the decompressed directory of the desktop on the terminal (based on the actual partition directory ):
CD/home/June/desktop/vmware-tools-distrib
Then execute:
Sudo./vmware-install.pl (note/There Is A. Before .)
4. Then there will be nothing left. It is basically the same as the previous one. Press enter all the way until you are prompted to select a resolution and then the prompt "Enjoy,-the VMware team" is displayed. The last step is to add vmware-toolbox in "preferences-Start application.
This is because you are in a hurry to check the correctness of the command. If any errors occur, please note.