免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] 请教VM4.0+FreeBSD5.1中配置X [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-08-05 15:33 |只看该作者 |倒序浏览
我用sysinstall中的xf86cfg-textmode,配置如下:
    鼠标用sysmouse
    键盘就是一般的,用的缺省Generic 101-key PC   American
    monitor我用的实际的,31.5-64.3;monitor that can do 1280*1024 @60Hz       vertical 选50-100
    card 我的显卡是NVIDIA RIVA TNT2 Model 64,设过NV,也设过vmware
    layout自动设定

但最后选 Write XF86Config and quit 时显示:
The XFree86 configuration process seems to have failed. Would you like to try again?

请教了,到底应该怎么设?我是刚开始接触Unix,见笑了!

论坛徽章:
0
2 [报告]
发表于 2003-08-05 16:40 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

VM好像不用配置X安装后就可以使用
但一定要把几个库加上不然就会安装不起

论坛徽章:
0
3 [报告]
发表于 2003-08-05 17:15 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

请问那几个库啊?我实在不是很清楚,尤其书上讲的都是直接安装的FBSD的配置,我不清楚用Vm应该有哪些地方的变动。谢谢!

论坛徽章:
0
4 [报告]
发表于 2003-08-07 16:05 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

没有人愿意指点吗?

论坛徽章:
0
5 [报告]
发表于 2003-08-07 22:03 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

其实VMware里启x是非常非常简单的.
首先你要安装了x.配没配好无所谓.装了才是前提.

FreeBSD4.x用VMware Tools启x.需要装上FreeBSD3.x的库.

把FreeBSD安装盘放进光驱

mount /cdrom

/cdrom/compat3x/install.sh

umount /cdrom

然后就需要Install VMware Tools了

3.2的VMware是在Settings下

4.0的VMware是在File下

再之前版本的VMware如2.x.VMware Tools里不包含for FreeBSD的.需要自个去VMware主页下载for FreeBSD的VMware Tools.不过现在可能也没有人用2.x的VMware了吧.一样写就带一笔吧.

装好VMware Tools

mount /cdrom

cp /cdrom/vmware-freebsd-tools.tar.gz /tmp

umount /cdrom

cd /tmp

tar zxf vmware-freebsd-tools.tar.gz

cd vmware-freebsd-tools

./install.pl

选择一下你所要的分辨率.其他的一路回车就可

startx

应该就能看到你想看到的东东了.

论坛徽章:
0
6 [报告]
发表于 2003-08-20 11:45 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

谢谢dinga的解释,不过我startx后没有看到我希望的东西
不好意思,后来出现一堆信息,其中一段是:

(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error
no screens found

不知哪里出错了,能不能告诉我该怎么解决啊?

论坛徽章:
0
7 [报告]
发表于 2003-08-20 12:50 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

下面是/etc/X11/XF86Config文件,X工作在1024*768,LCD.供参考。

============================================
# Guest OS: FreeBSD 5.0 Current ( Not install the VMware tools for freebsd)
# XFree86 Version: 4.3 (compile from ports)
# Host OS: Windows XP and Windows Server 2003 RC2
# VMware Version: Workstation 3.2, 4.0 RC2 and GSX 2.0, 2.5


Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
# Load "freetype"
# Load "xtt"

# This loads the GLX module
Load "glx"
# This loads the DRI module
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"

# Option "NoTrapSignals"

# Option "DontVTSwitch"

# Option "DontZap"

# Option "Dont Zoom"

# Option "DisableVidModeExtension"

# Option "AllowNonLocalXvidtune"

# Option "DisableModInDev"

# Option "AllowNonLocalModInDev"

EndSection

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

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

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"

Option "AutoRepeat" "500 30"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"

EndSection


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

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "rotocol" "Auto"
Option "Device" "/dev/sysmouse"

EndSection

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

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

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

Driver "vga"

EndSection

# Device configured by xf86config:

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


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

Section "Screen"
Identifier "Screen 1"
Device "VMWare Virtual Card"
Monitor "VMware Virtual Monitor"
DefaultDepth 24

Subsection "Display"
Depth 8
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

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

Section "ServerLayout"

Identifier "Simple Layout"

Screen "Screen 1"

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

===============================================

论坛徽章:
0
8 [报告]
发表于 2003-08-21 09:05 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

好像最新的vmware也只能支持4.8版本,vmware官方网站没有说支持5.1
你认真看看vmware的release一下
joj 该用户已被删除
9 [报告]
发表于 2003-08-21 14:05 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
10 [报告]
发表于 2003-09-13 11:31 |只看该作者

请教VM4.0+FreeBSD5.1中配置X

to dinga:
我换了FreeBSD4.8,按照你说的应该先装FreeBSD3.X的库
mount /cdrom

/cdrom/compat3x/install.sh

但是显示:
cat: compat3x.??: No such file or directory

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
不知什么意思,明明用ls可以看到/cdrom/compat3x下面有文件:
CHECKSUM.MD5    compat3x.ab   compat3x.ad    compat3x.inf   install.sh*   compat3x.aa     compat3x.ac    compat3x.ae    compat3x.mtree
怎么还说No such file or directory呢?
请赐教!

其它方法我也试过,怎么就是解决不了呢?真是受打击。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP