LinuxSir.cn,穿越时空的Linuxsir!

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

startx无法启动X

[复制链接]
发表于 2005-1-15 14:18:53 | 显示全部楼层 |阅读模式
使用Xorg -configure创建xorg.conf文件

Section "ServerLayout"
        Identifier     "X.org 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/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        #DisplaySize          320   240        # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "1057"
        HorizSync    30.0 - 70.0
        HorizSync    14640.0 - 0.0
        VertRefresh  50.0 - 160.0
        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     "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   "NV11DDR [GeForce2 MX 100 DDR/200 DDR]"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

使用startx后显示:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/Linyin-linux:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.10-gentoo-r4 i686 [ELF]
Current Operating System: Linux Linyin-linux 2.6.10-gentoo-r4 #1 Sat Jan 15 07:16:09 CST 2005 i686
Build Date: 15 January 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 15 14:10:46 2005
(++) Using config file: "/root/xorg.conf.new"
Parse error on line 48 of section Monitor in file /root/xorg.conf.new
        The HorizSync keyword must be followed by a list of numbers or ranges.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
发表于 2005-1-15 14:27:17 | 显示全部楼层
InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/mouse"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        #DisplaySize          320   240        # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "S/M 743DF"
        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     "DigitalVibrance"            # <i>
        #Option     "NoFlip"                     # [<bool>]
        #Option     "Dac8Bit"                    # [<bool>]
        #Option     "NoLogo"                     # [<bool>]
        #Option     "UBB"                        # [<bool>]
        #Option     "Stereo"                     # <i>
        #Option     "SWcursor"                   # [<bool>]
        #Option     "HWcursor"                   # [<bool>]
        #Option     "VideoKey"                   # <i>
        #Option     "NvAGP"                      # <i>
        #Option     "IgnoreEDID"                 # [<bool>]
        #Option     "NoDDC"                      # [<bool>]
        #Option     "ConnectedMonitor"           # <str>
        #Option     "ConnectedMonitors"          # <str>
        #Option     "TVStandard"                 # <str>
        #Option     "TVOutFormat"                # <str>
        #Option     "RenderAccel"                # [<bool>]
        #Option     "CursorShadow"               # [<bool>]
        #Option     "CursorShadowAlpha"          # <i>
        #Option     "CursorShadowXOffset"         # <i>
        #Option     "CursorShadowYOffset"         # <i>
        #Option     "UseEdidFreqs"               # [<bool>]
        #Option     "FlatPanelProperties"         # <str>
        #Option     "TwinView"                   # [<bool>]
        #Option     "TwinViewOrientation"         # <str>
        #Option     "SecondMonitorHorizSync"         # <str>
        #Option     "SecondMonitorVertRefresh"         # <str>
        #Option     "MetaModes"                  # <str>Modes    "1024x768" "800x600" "640x480"
        #Option     "UseInt10Module"             # [<bool>]
        #Option     "NoTwinViewXineramaInfo"         # [<bool>]
        #Option     "NoRenderExtension"          # [<bool>]
        #Option     "Overlay"                    # [<bool>]
        #Option     "CIOverlay"                  # [<bool>]
        #Option     "ForceEmulatedOverlay"         # [<bool>]
        #Option     "TransparentIndex"           # <i>
        #Option     "OverlayDefaultVisual"         # [<bool>]
        #Option     "NvEmulate"                  # <i>
        #Option     "NoBandWidthTest"            # [<bool>]
        #Option     "CustomEDID-CRT-0"           # <str>
        #Option     "CustomEDID-CRT-1"           # <str>
        #Option     "CustomEDID-DFP-0"           # <str>
        #Option     "CustomEDID-DFP-1"           # <str>
        #Option     "CustomEDID-TV-0"            # <str>
        #Option     "CustomEDID-TV-1"            # <str>
        #Option     "TVOverScan"                 # <f>
        #Option     "IgnoreDisplayDevices"         # <str>
        #Option     "MultisampleCompatibility"         # [<bool>]
        #Option     "RegistryDwords"             # <str>
        #Option     "RegistryBinary"             # <str>
        #Option     "NoPowerConnectorCheck"         # [<bool>]
        #Option     "AllowDFPStereo"             # [<bool>]
        #Option     "XvMCUsesTextures"           # [<bool>]
        #Option     "HorizSync"                  # <str>
        #Option     "VertRefresh"                # <str>
        #Option     "AllowGLXWithComposite"         # [<bool>]
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV18 [GeForce4 MX 440 AGP 8x]"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
   DefaultDepth     16
                SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
       
EndSection

Section "DRI"
        Group        0
EndSection


我的,你参照一下。有没有 emerge nvidia-kernel?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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