LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 941|回复: 3

在vmware4里装5.1不成,改装4.8!!!

[复制链接]
发表于 2003-7-14 13:33:47 | 显示全部楼层 |阅读模式
怎么装vmware tools是个问题。。。

谢谢。。。
发表于 2003-7-14 18:15:32 | 显示全部楼层
vmware tools  是什么  有什么用?
发表于 2003-7-14 18:26:20 | 显示全部楼层
1 只是为了使用XFree86不需要安装vmware-tool, 直接使用我以下的配置文件就可以了.
注意:在我的配置里:
DefaultDepth 24
Depth 24
色深不能超过Host色深(最好一样). 因为我Host的颜色质量为32位

2. 如不需要与Host时间同步,无须Vmware-tool, 出现vmtools not install 可以不予理会.

3 配置文件:
# I have use this configuration file about one year. It ok in all my computers.
# Host info: Windows 2000, Windows XP, Windows Server 2003 Enterprise Evalution.
# VMware Version: 4.0 workstation, 3.0-3.2 workstation, GSX Server 2.0-2.5
# FreeBSD Version: 5.0 Release - 5.1-Current
# XFree86 Version: 4.3 build from port
# Not need to install Vmware tool, the XFree86 4.1-4.3 support the vmware driver.

# Author: Freebird
# Email: rainy969@sohu.com

**********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension
# SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
# EndSubSection
Load "type1"
Load "speedo"
# Load "freetype"
# Load "xtt"
Load "glx"
Load "dri"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# 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.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "VMware-Keyboard"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "VMware-Mouse"
Driver "mouse"
Option "rotocol" "Auto"
Option "Device" "/dev/sysmouse"
Option "ChordMiddle"

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "VMWare Virtual Monitor"
HorizSync 31.5 - 57.0
VertRefresh 50-100

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VMWare Virtual Card"
Driver "vmware"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "VMware Screen"
Device "VMWare Virtual Card"
Monitor "VMware Virtual Monitor"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

Identifier "Simple Layout"
Screen "VMware Screen"
InputDevice "VMware-Mouse" "CorePointer"
InputDevice "VMware-Keyboard" "CoreKeyboard"

EndSection

# Section "DRI"
# Mode 0666
# EndSection
发表于 2003-7-14 18:27:18 | 显示全部楼层
不安装vmware-tool主要考虑以下方面:
1, 运行X-windows,在XFree86 4.3 以上已经支持VMware driver
2, 让虚拟机与Host时间同步,本人不需要此功能(可以从ports 安装vmware guestd)
3, vmware-tool在freebsd 4下编译,我主要使用5-current, 并从定制内核中去掉了FreeBSD4兼容选项
4,vmware 版本不同,其带的vmware-tool也不同,谁着FreeBSD版本更新,其支持的FreeBSD有限(虽然低版本可以在高版本上运行,但VMware不保证这一点
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表