You are not logged in.

#1 2008-07-27 09:52:57

mips1
Member
Registered: 2008-01-02
Posts: 99

[Solved] Xorg Parse error

Partial Xorg.log

Parse error on line 103 of section Screen in file /etc/X11/xorg.conf
    "Section" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
(WW) xf86OpenConsole: VT_GETSTATE failed: Bad file descriptor

Partial corg.conf relating to error:

Section "Extensions"
     Option "Composite" "Enable"
EndSection

Partial lspci -v output:

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA controller])                                                                                 
        Subsystem: Hewlett-Packard Company NX6110/NC6120                                                        
        Flags: bus master, fast devsel, latency 0, IRQ 16                                                       
        Memory at d0400000 (32-bit, non-prefetchable) [size=512K]                                               
        I/O ports at 7000 [size=8]                                                                              
        Memory at c0000000 (32-bit, prefetchable) [size=256M]                                                   
        Memory at d0480000 (32-bit, non-prefetchable) [size=256K]                                               
        Capabilities: <access denied>

Video driver: xf86-video-intel


Hashing out the offending lines in xorg.conf allows X to start. Why will it not accept this config. This is a fresh install and I'm pretty sure I had those lines before but with the i810 driver thoug. My understanding is the intel driver is newer and the one to be used?

Last edited by mips1 (2008-07-27 10:48:00)

Offline

#2 2008-07-27 10:01:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Xorg Parse error

it will be more usefull if you put all xorg.conf. you have a problem in the Screen section


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2008-07-27 10:30:20

mips1
Member
Registered: 2008-01-02
Posts: 99

Re: [Solved] Xorg Parse error

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

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

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

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

  Section "InputDevice"
  Driver        "synaptics"
  Identifier    "Mouse[1]"
  Option        "Device"        "/dev/psaux"
  Option        "Protocol"      "auto-dev"
  Option        "LeftEdge"      "1700"
  Option        "RightEdge"     "5300"
  Option        "TopEdge"       "1700"
  Option        "BottomEdge"    "4200"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
  Option        "MaxTapTime"    "180"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.06"
  Option        "MaxSpeed"      "0.12"
  Option        "AccelFactor" "0.0010"
  Option        "SHMConfig"     "on"
#  Option       "Repeater"      "/dev/ps2mouse"
EndSection


Section "Monitor"
    #DisplaySize      300   230    # mm
    Identifier   "Monitor0"
    VendorName   "AUO"
    ModelName    "f06"
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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1024x768" "800x600" "640x400"
    EndSubSection

Section "Extensions"
     Option "Composite" "Enable"
EndSection

EndSection

Offline

#4 2008-07-27 10:31:44

mips1
Member
Registered: 2008-01-02
Posts: 99

Re: [Solved] Xorg Parse error

wonder wrote:

it will be more usefull if you put all xorg.conf. you have a problem in the Screen section

See above. The problem only occurs when I add the "Extensions" section.

Offline

#5 2008-07-27 10:42:03

mips1
Member
Registered: 2008-01-02
Posts: 99

Re: [Solved] Xorg Parse error

Looking at it now I think I can see my problem. I pasted the Extensions section before the Screen End Section. Duh!

Ok, X starts fine now. Wonder how one can be so blind at times.

Last edited by mips1 (2008-07-27 10:46:40)

Offline

#6 2008-07-27 12:53:54

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Xorg Parse error

good to know that you have resolved the issue

Last edited by wonder (2008-07-27 12:54:18)


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB