LinuxSir.cn,穿越时空的Linuxsir!

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

配置X没有成功

[复制链接]
发表于 2003-9-4 16:31:52 | 显示全部楼层 |阅读模式
从迷你版开始装起的^_^
在XFree86config.new处打住了,哪位兄弟有配好的文件了?
linux已被我删了:p
所以没地方cp了.
发表于 2003-9-4 20:01:31 | 显示全部楼层
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    RgbPath        "/usr/X11R6/lib/X11/rgb"
    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/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/home/fonts/"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
#   Load "type1"
#    Load "freetype"
    Load "glx" # 3D layer
    Load "xtt"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbCompat" ""
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "rotocol" "AUTO"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Acer"
    ModelName "Acer 55e"
    HorizSync 30.0-54.0
    VertRefresh 50.0-110.0
   
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nv"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection

it's mine
please mend
发表于 2003-9-4 20:18:25 | 显示全部楼层
运行xf86config
 楼主| 发表于 2003-9-4 20:22:11 | 显示全部楼层
xiaoniao9312兄,谢谢.
刚才忘记说了,我的显卡是tnt2m64 32M显存
显示器是aoc的5e1.哪位兄弟有合对的文件吗?
谢谢.
发表于 2003-9-4 20:26:22 | 显示全部楼层
不用谢,你自己可以对着修改一下啊,
显卡哪一个不懂,随便试着改改,
显示器那一行,估计只要是15'的就差不多吧,我的也不是acer的,
发表于 2003-9-4 20:32:02 | 显示全部楼层
我想用xiaoniao9312的也可,你的显示器参数应该比这个不差,显卡是nvidia同一家,驱动都是用nv.o,如果你下载nvidia for FreeBSD的驱动则把
Driver "nv"
改成
Driver "nvidia"
其它的如:
VendorName "Acer"
ModelName "Acer 55e"

BoardName "NVIDIA GeForce2 DDR (generic)"
是型号信息,与实际应用无关.
当然如果你要让XFree86正确识别你的显卡及显示器,
运行xf86config是最好的方案.
Good luck!
 楼主| 发表于 2003-9-4 20:34:44 | 显示全部楼层
谢谢蜜瓜大哥,这就去试.
发表于 2003-9-4 20:38:51 | 显示全部楼层
对不起,刚才在linux下,现在转到BSD下,弄错了,xf86config这个工具不太好用,用xf86cfg会启动一个Gui界面的配置。
这方面我比较在行,相信能和你一起解决问题。
发表于 2003-9-4 20:44:42 | 显示全部楼层
运行xf86cfg -textmode会启一个文本图形方式的配置界面,显示、显示器、字体目录一般都能自动检测出来。
分辨率及颜色的问题请看这一节(例:800x600@85HZ):
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth     24
                Modes   "800x600" "640x480"
        EndSubSection
EndSection
 楼主| 发表于 2003-9-5 19:15:12 | 显示全部楼层
谢谢密瓜大哥,用xf86cfg成功配置了XFree86config.new
原来一直用字符下的,装x真不习惯啊.

ps.编绎gnome花了我半天时间还没有完,kill了..
自己用ports时多加了个all,没仔细看,结果把整个gnome家族全拉下来编绎,晕.
使用的命令如下:
cd /usr/ports/x11/gnome2
make all install clean
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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