Xorg configuration

Saifi Khan saifi.khan at datasynergy.org
Sat Oct 31 23:27:50 PDT 2009


On Sat, 31 Oct 2009, Pierre Abbat wrote:

> I tried to get X up after installing the updated drivers. I now have a 
> xorg.conf.new file, but when I try to start X, I get a blank screen with no 
> cursor. Ctrl-alt-bs exits, as it should. How do I fix it? It was working 
> before I did the software upgrade.
> 

Here is a sample xorg.conf file that you may tailor for your requirements.
This xorg.conf file works absolutely fine with X.Org X Server 1.6.1

The key attributes to review are:

.  Section "Monitor"
        HorizSync    30-62
        VertRefresh  50-60

.  Section "Device"
        Driver      "intel"

.  Section "Screen"
                Modes     "1280x800" "1024x768" "800x600"

.  
Please place this 'xorg.conf' file in the /etc/X11/ directory.


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

Section "ServerFlags"
        Option  "DontZap" "Off"
        Option  "AllowEmptyInput" "false"
        Option  "AllowEmptyInput" "false"
#       Option  "AllowMouseOpenFail"    "on"
EndSection

Section "Files"
        FontPath        "unix/:7101"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/Speedo/"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/URW/"
        FontPath     "/usr/local/lib/X11/fonts/artviz-fonts/"
        FontPath     "/usr/local/lib/X11/fonts/avifonts/"
        FontPath     "/usr/local/lib/X11/fonts/bistream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/cyberbit-ttfonts/"
        FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
        FontPath     "/usr/local/lib/X11/fonts/dejavu/"
        FontPath     "/usr/local/lib/X11/fonts/freefont/"
        FontPath     "/usr/local/lib/X11/fonts/Liberation/"
        FontPath     "/usr/local/lib/X11/fonts/local/"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
        FontPath     "/usr/local/lib/X11/fonts/indic-ttf/"
        FontPath     "/usr/local/lib/X11/fonts/urwfonts-ttf/"
        FontPath     "/usr/local/lib/X11/fonts/util/"
        FontPath     "/usr/local/lib/X11/fonts/unifont/"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"
        FontPath     "/usr/local/share/ghostscript/fonts/"
        FontPath     "/usr/local/lib/X11/fonts/sharefont/"
        FontPath     "/usr/local/lib/X11/fonts/texcm-ttf/"
        FontPath     "/usr/local/lib/X11/fonts/local/sgi/"
        FontPath     "/usr/local/lib/X11/fonts/ppantsfonts/"
        ModulePath   "/usr/local/lib/xorg/modules"
EndSection


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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option  "Protocol"      "Standard"
        Option  "XkbLayout"     "us"
        Option  "XkbModel"      "pc104"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "synaptics"
        Option      "Device" "/dev/sysmouse"
        Option  "Emulate3Buttons"       "on"
        Option  "SHMConfig"     "on"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30-62
        VertRefresh  50-60
        Option       "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
        Option          "FramebufferCompression"        "false"
        Option          "AccelMethod"   "XAA"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1280x800" "1024x768" "800x600"
        EndSubSection
EndSection

#Section "DRI"
#       Group   "video"
#       Mode    0660
#EndSection


thanks
Saifi.






More information about the Users mailing list