+ -
当前位置:首页 → 问答吧 → startx出现错误提示,请大家帮忙~

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

时间:2004-03-28

来源:互联网

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 "Protocol" "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 "PCI: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桌面系统》一问安装设置的。

作者: dissipator   发布时间: 2004-03-28

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

作者: feelfirst   发布时间: 2004-03-29

删掉第一行。

作者: xx_xx   发布时间: 2004-03-29

我删了第一行,还是不行,谁有完整的XF86config能贴出来看看不?

作者: dissipator   发布时间: 2004-03-29

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 "Protocol" "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 "PCI: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

作者: feelfirst   发布时间: 2004-03-30