免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5180 | 回复: 10
打印 上一主题 下一主题

[VMware] vmware中安装vmware-tools的问题! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-02 14:11 |只看该作者 |倒序浏览
请教!
     我在办公室和家里的两台电脑上安装vmware 5,然后虚拟Redhat 9。
     两台电脑除了硬件有些区别以外,我使用的vmware 5和Redhat 9的安装程序都是一样的,而且Redhat 9所选择的安装模式也是一样的!
     两台电脑都可以顺利的安装好Redhat 9,但是在安装vmware tools时遇见的情况却相差很大。在办公室里的电脑很轻松就安装好了vmware tools,分辨率可以正常的上到1024x768,使用也正常,安装过程中未要求我输入任何东西!但是在我家的电脑中,首先要求我给出gcc的安装位置。因为我默认安装的是工作站模式,所以不包含gcc,但是我觉得奇怪的是:两台机器的软件环境是一样的,为什么一个需要我安装gcc而另一个不需要呢?google了一下,发现是vmware tools 在安装的时候会检测你的安装环境(但不知道是硬件还是软件?),然后根据情况不同,他的安装配置也会发生变化,需要重新编译,所以需要安装gcc。网上有文章说修改XF86Config可以让他不重新编译,就不要gcc而可以继续安装vmware tools了,但我实验没有成功,也不知道他的根据是什么?哪位大虾可以给解释一下呢?是什么因素会导致vmware tools需要gcc来重新编译呢?真的可以修改XF86Config来避免重新编译吗?
      为了能继续,我又安装了gcc,再次安装vmware tools时,他又出现:
    What is the location of the directory of C header files that match your running kernel 。好像是需要内核文件,请问这个问题又怎么解决?
      最后,当我在安装vmware tools出现需要给出gcc位置时,由于我当时还没有安装,自然就无法给出正确的位置,安装无法继续下去,但是我也不知道怎么在字符界面下结束安装,ctrl+z是可以退出,但是他并没有结束任务,只是中止退出了,请问怎么结束任务退出呢?谢谢指点!
      还期待大虾们的帮助呢!

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-09-12 06:20:00
2 [报告]
发表于 2005-04-02 17:44 |只看该作者

vmware中安装vmware-tools的问题!

What is the location of the directory of C header files that match your running kernel
这是询问与VMWARE TOOL有关的C头文件,如果你mount上了光驱,那么它应该在/mnt/cdrom 下VMWARE TOOL里的文件里边,你可以自己看看啊。
最后,当我在安装vmware tools出现需要给出gcc位置时,由于我当时还没有安装,自然就无法给出正确的位置,安装无法继续下去,但是我也不知道怎么在字符界面下结束安装, ctrl+z是可以退出,但是他并没有结束任务,只是中止退出了,请问怎么结束任务退出呢?
用ps -a 然后Kill不行吗?

论坛徽章:
0
3 [报告]
发表于 2005-04-02 19:20 |只看该作者

vmware中安装vmware-tools的问题!

肯定是你的内核版本不一致导致的,vmware预编译了一些版本的hgfs的模块,保开redhat9的,如果你的内核不是默认内核就要给你编译一个与你内核一致的。你用uname -a 仔细看看。

论坛徽章:
0
4 [报告]
发表于 2005-04-02 21:14 |只看该作者

vmware中安装vmware-tools的问题!

[quote]原帖由 "kukoo"]肯定是你的内核版本不一致导致的,vmware预编译了一些版本的hgfs的模块,保开redhat9的,如果你的内核不是默认内核就要给你编译一个与你内核一致的。你用uname -a 仔细看看。[/quote 发表:

内核版本为什么为不一致呢?是什么原因导致的?麻烦帮忙分析一下!谢谢!

论坛徽章:
0
5 [报告]
发表于 2005-04-02 21:24 |只看该作者

vmware中安装vmware-tools的问题!

里面有个地方问你要不要自己编译,不编译就用现成的,选n跳过,就不需要gcc了,其实差不多,不编译也可以。

论坛徽章:
0
6 [报告]
发表于 2005-04-02 23:41 |只看该作者

vmware中安装vmware-tools的问题!

谢谢crqucl和大家的帮助,我按照你说得已经装好了!
不过现在有一个新的问题出现了!
分辨率达到1024x768了,但是似乎刷新频率不对,屏幕看起来有点刺眼!
我察看系统的现实属性,里面竟然仍然是“800x600”,难道是vmware tools设计的显示配置没有加载在系统配置中?我尝试直接在这里修改显示属性到1024x768,并打算修改刷新频率,结果重启Xwindows以后,屏幕又回到了没有安装vmware tools的情况下,我检查XF86Config,文件内容也便回到了初始的内容,和vmware tools配置的内容完全不一样了!
没有办法,只好使用vmware的系统快照回到安装好vmware tools的状态下,屏幕又回到了1024x768,但是我不知道该怎么来修改刷新频率了!
如果是在XF86Config中直接修改的话,请问该怎么改呢?
麻烦大虾了!
谢谢!

论坛徽章:
0
7 [报告]
发表于 2005-04-03 09:10 |只看该作者

vmware中安装vmware-tools的问题!

怎么没有人呢?

论坛徽章:
0
8 [报告]
发表于 2005-04-03 10:41 |只看该作者

vmware中安装vmware-tools的问题!

下面是我安装vmware tools以后的XF86Config的内容.请问怎么修改刷新频率?


# XFree87 4 configuration created by redhat-config-xfree86
Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db".  There is normally
# no need to change the default.
                                                                                                                                               
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
                                                                                                                                               
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection
Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
                                                                                                                                               
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
                                                                                                                                               
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#       Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#       Option  "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#       Option  "XkbLayout"     "de"
# or:
#       Option  "XkbLayout"     "de"
#       Option  "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#       Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection
# VMware SVGA
                                                                                                                                               
                                                                                                                                               
                                                                                                                                               
Section "ServerFlags"
#    Option NoTrapSignals
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "vmmouse"
    Option "rotocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping"       "4 5"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
EndSection
                                                                                                                                               
Section "Monitor"
    Identifier  "vmware"
    VendorName "VMware, Inc"
    HorizSync 1-10000
    VertRefresh 1-10000
                                                                                                                                               
    ModeLine "640x480" 100 640 700 800 900 480 500 600 700
    ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900
    ModeLine "1024x768" 100 1024 1100 1200 1300 768 800 900 1000
    ModeLine "1152x864" 100 1152 1200 1300 1400 864 900 1000 1100
    ModeLine "1152x900" 100 1152 1200 1300 1400 900 1000 1100 1200
    ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
    ModeLine "1376x1032" 100 1376 1400 1500 1600 1032 1100 1200 1300
    ModeLine "1600x1200" 100 1600 1700 1800 1900 1200 1300 1400 1500
    ModeLine "2364x1773" 100 2364 2400 2500 2600 1773 1800 1900 2000
EndSection
                                                                                                                                               
Section "Device"
    Identifier  "VMware SVGA"
    Driver      "vmware"
                                                                                                                                               
EndSection
                                                                                                                                               
Section "Screen"
    Identifier  "Screen 1"
    Device      "VMware SVGA"
    Monitor     "vmware"

    # Don't specify DefaultColorDepth unless you know what you're
    # doing. It will override the driver's preferences which can
    # cause the X server not to run if the host doesn't support the
    # depth.
                                                                                                                                               
    Subsection "Display"
        # VGA mode: better left untouched
        Depth       4
        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection
                                                                                                                                               
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection

谢谢!

论坛徽章:
0
9 [报告]
发表于 2005-08-21 22:29 |只看该作者

vmware中安装vmware-tools的问题!

to楼主:
我也是在vmware 5.0下装redhat linux 9.0,怎么装不了vmware tools呢?
出现一些乱码

论坛徽章:
0
10 [报告]
发表于 2005-08-21 22:49 |只看该作者

vmware中安装vmware-tools的问题!

vmware的显示效果与实际的肯定有区别的了。。。。。

顺便问一下:有谁在linux下装过VMWARE5的吗,为什么我装好后,虚拟网卡老是找不到的呢??
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP