LinuxSir.cn,穿越时空的Linuxsir!

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

startx出现错误提示,请大家帮忙~

[复制链接]
发表于 2004-3-27 19:59:29 | 显示全部楼层 |阅读模式
XFree86Config内容如下:

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
        #DisplaySize          310   230        # mm
        Identifier   "Monitor0"
        #VendorName   "API"
        #ModelName    "Acer 77c"
        #Option            "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                   # [<bool>]
        #Option     "HWcursor"                   # [<bool>]
        #Option     "NoAccel"                    # [<bool>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "Rotate"                     # [<str>]
        #Option     "VideoKey"                   # <i>
        #Option     "FlatPanel"                  # [<bool>]
        #Option     "FPDither"                   # [<bool>]
        #Option     "CrtcNumber"                 # <i>
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV6 [Vanta/Vanta LT]"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     1
              modes "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     4
              modes "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     8
              modes "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     15
              modes "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     16
              modes "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth     24
              modes "1024x768" "800x600"
        EndSubSection
EndSection

#startx
提示:
Using syscons driver with X support (version 2.0)
(using VT number 9)
XF86Config:/etc/XF86Config
(**)stands for supplied,(--)stands for proed/default values
Config Error:/etc/XF86config:1
Section "ServerLayout "
not a recogized section name
X connection to :0.0 broken (explicit kill or server shutdown)

我是按照《打造FreeBSD桌面系统》一问安装设置的。
发表于 2004-3-28 20:15:15 | 显示全部楼层
Section "Monitor"
#DisplaySize 310 230 # mm
Identifier "Monitor0"
#VendorName "API"
#ModelName "Acer 77c"
#Option "DPMS"
EndSection
发表于 2004-3-29 00:42:07 | 显示全部楼层
删掉第一行。
 楼主| 发表于 2004-3-29 09:01:05 | 显示全部楼层
我删了第一行,还是不行,谁有完整的XF86config能贴出来看看不?
发表于 2004-3-29 20:21:20 | 显示全部楼层
freebsd5.1
VM下的完整的。

看看你的Section "Monitor"


##file: /usr/X11R6/lib/X11/XF86Config
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/myfonts"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "xtt"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "rotocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Horizsync 31.5 -48.5
VertRefresh 50 - 70
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False"
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
Identifier "Card0"
Driver "vmware"
#VendorName "VMWare Inc"
#BoardName "Unknown Board"
#BusID "CI:0:15:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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