Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1368795
  • 博文数量: 828
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5030
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-29 13:29
文章分类

全部博文(828)

文章存档

2011年(1)

2008年(827)

我的朋友

分类: LINUX

2008-08-29 13:37:44

 
按照Readme中的安装方法,一步步按照默认的设置下来,出现如下错误:
WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel?[/usr/src/linux/include]Thedirectory

ofkernelheaders(version2.6.18-8.el5xen)doesnotmatch.

可以使用
[root@localhost~]#uname-r//查看内核版本号

查看目录/usr/src/根本没有linux这个目录

在网上收到资料:没有安装kernel-xen-develrpm包,在安装盘中找到这个rpm包:kernel-xen-devel-2.6.20-2925.9.fc7.i686.rpm

安装:
[root@localhost~]#rpm-ivhkernel-xen-devel-2.6.20-2925.9.fc7.i686.rpm

再使用vmware-install.pl安装,即可自动找到配套的thedirectoryofCheaderfiles

注意,网上还有人说需要安装的rpm包是kernel-devel,经过测试,安装kernel-devel-2.6.20-2925.9.fc7.i686.rpm包后依然无法自动找到the

directoryofCheaderfiles,如果手动改目录为:/usr/src/kernels/2.6.20-2925.9.fc7.i686/include,会出现错误:
Thedirectoryofkernelheaders(version2.6.20-2925.9.fc7)doesnotmatchyourrunningkernel(version2.6.20-2925.9.fc7xen).Evenif

themoduleweretocompilesuccessfully,itwouldnotloadintotherunningkernel.

这就是安装的rpm不正确导致的。

安装好kernel-xen-devel-2.6.20-2925.9.fc7.i686.rpm包后,这样就一直enter,装完VMwareTools

在安装的最后阶段,会出现:
DoyouwanttochangeyourguestXresolution?(yes/no)[no]y

Pleasechooseoneofthefollowingdisplaysizes(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"

Pleaseenteranumberbetween1and13:

[3]

到了这步,千万别重启看效果,还要修改xorgconfig设置,不然重启后会报X-WINDOWS出错。

进入/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 Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware ToolsVMware Server Fedora 7 安装VMware Tools
阅读(1061) | 评论(1) | 转发(0) |
0

上一篇:Fedora 7简介

下一篇:Fedora的网络电话功能

给主人留下些什么吧!~~

chinaunix网友2009-02-17 00:16:55

我的是fedora 5,没有那个文件呢?