安装VMware Tools的时候一般都出现以下问题:
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.
在网上收到资料:没有安装 kernel-xen-devel rpm包,在安装盘中找到这个rpm包:kernel-xen-devel-2.6.18-8.el5.i686.rpm
安装:
[root@localhost ~]# rpm -ivh kernel-xen-devel-2.6.18-8.el5.i686.rpm
再使用vmware-install.pl安装,即可自动找到配套的the directory of C header files
安装好kernel-xen-devel-2.6.18-8.el5.i686.rpm包后,这样就一直enter,装完VMware Tools
进入/etc/X11/,用文本打开xorg.conf,加上以下几段:
Section "Monitor"
        Identifier   "vmware"
EndSection
Section "InputDevice"
        Identifier "Mouse0"
        Driver "vmmouse"
        Option "Protocol" "Auto"
        Option "Device" "/dev/input/mouse0"
EndSection
然后找到 含有"ServerLayout" 的section, 在Section跟EndSection之间加上以下一行。
InputDevice "Mouse0" "CorePointer"
终于大功告成,重启看看效果了
重启之后,resolution不知道为何并没有变化,有待进一步研究,但是Mouse移进移出VMware可以不用再使用Ctrl+Alt键了
这样虽然装上了,但还是不能共享文件.主要原因是装VMware Tools的时候,说是有一个新共享文件的功能,默认是no,改成yes 就可以了