Install RedHat. Enterprise. linux.5 vmtools

Source: Internet
Author: User

Install RedHat. Enterprise. linux.5 vmtools

 

Follow the installation method in readme and follow the default settings step by step. The following error occurs:
What is the location of the directory of C header files that match your running kernel? [/Usr/src/Linux/include] the Directory

Of kernel headers (version 2.6.18-8. el5xen) does not match.

Available
[Root @ localhost ~] # Uname-r // view the kernel version

Check the directory/usr/src/. There is no Linux directory.

After receiving the message online: the kernel-xen-devel RPM package is not installed, find this RPM package: kernel-xen-devel-2.6.18-8.el5.i686.rpm in the installation disk
Installation:
[Root @ localhost ~] # Rpm-IVH kernel-xen-devel-2.6.18-8.el5.i686.rpm

And then use the vmware-install.pl to automatically find the corresponding directory of C header files

Note that the RPM package to be installed is kernel-devel. After testing, the kernel-devel-2.6.18-8.el5.i686.rpm package still cannot be found automatically after it is installed.

Directory of C header files, if you manually change the directory to:/usr/src/kernels/2.6.18-8. e15-i686/include, an error occurs:
The Directory of kernel headers (version 2.6.18-8. EL5) does not match your running kernel (version 2.6.18-8. el5xen). Even if

The module were tocompile successfully, it wocould not load into the running kernel.

This is caused by incorrect RPM installation.

After installing the kernel-xen-devel-2.6.18-8.el5.i686.rpm package, enter and install VMware Tools

At the final stage of installation, the following occurs:
Do you want to change your guest x resolution? (Yes/No) [no] y

Please choose one of the following Display sizes (1-13 ):

[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:

[3]

In this step, do not restart to see the effect, but also modify Xorg config settings, otherwise the restart will report X-WINDOWS error.

Enter/etc/X11/, open Xorg. conf in text, and add the following sections:

Section "Monitor"

Identifier "VMware"

Endsection

Section "inputdevice"

Identifier "mouse0"

Driver "vmmouse"

Option "protocol" "Auto"

Option "device" "/dev/input/mouse0"

Endsection

Locate the section containing "serverlayout" and add the following line between the Section and endsection.

Inputdevice "mouse0" "corepointer"

Finally, we are done. Restart and check the effect.

After the restart, the resolution does not know why it has not changed. Further research is required, but you do not need to use CTRL + ALT to move the mouse into and out of VMware.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.