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

Section "Files"
 ModulePath   "/usr/lib/xorg/modules"
 FontPath     "/usr/share/fonts/misc/"
 FontPath     "/usr/share/fonts/TTF/"
 FontPath     "/usr/share/fonts/OTF/"
 FontPath     "/usr/share/fonts/Type1/"
 FontPath     "/usr/share/fonts/100dpi/"
 FontPath     "/usr/share/fonts/75dpi/"
EndSection

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

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

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

Section "Monitor"
 Identifier   "Monitor0"
 VendorName   "Monitor Vendor"
 ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
 Identifier  "Card0"
 Driver      "vboxvideo"
 BusID       "PCI:0:2:0"
#        Option "HWCursor"    "true"
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
  Modes     "1440x900"
 EndSubSection
 Option "HWcursor" "true"
EndSection

Section "DRI"
        Group "video"
 Mode 0666
EndSection

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

Add a code snippet to your website: www.paste.org