From Gentoo Linux Wiki
Section "ServerLayout"
Identifier "real"
Screen 0 "real-screen"
InputDevice "real-mouse" "CorePointer"
InputDevice "real-keyboard" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "virtual"
Screen "virtual-screen" 0 0
InputDevice "virtual-mouse" "CorePointer"
InputDevice "virtual-keyboard" "CoreKeyboard"
EndSection
Section "Files"
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 "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "real-keyboard"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "real-mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "virtual-keyboard"
Driver "keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbCompat" ""
EndSection
Section "InputDevice"
Identifier "virtual-mouse"
Driver "vmmouse"
Option "Protocol" "ps/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "real-monitor"
VendorName "QDS"
ModelName "15"
EndSection
Section "Monitor"
Identifier "virtual-monitor"
VendorName "VMware, Inc"
HorizSync 1.0 - 10000.0
VertRefresh 1.0 - 10000.0
ModeLine "640x480" 100.0 640 700 800 900 480 500 600 700
ModeLine "800x600" 100.0 800 900 1000 1100 600 700 800 900
ModeLine "1024x768" 100.0 1024 1100 1200 1300 768 800 900 1000
ModeLine "1152x864" 100.0 1152 1200 1300 1400 864 900 1000 1100
ModeLine "1152x900" 100.0 1152 1200 1300 1400 900 1000 1100 1200
ModeLine "1280x1024" 100.0 1280 1300 1400 1500 1024 1100 1200 1300
ModeLine "1376x1032" 100.0 1376 1400 1500 1600 1032 1100 1200 1300
ModeLine "1600x1200" 100.0 1600 1700 1800 1900 1200 1300 1400 1500
ModeLine "2364x1773" 100.0 2364 2400 2500 2600 1773 1800 1900 2000
EndSection
Section "Device"
Identifier "real-card"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "virtual-card"
Driver "vmware"
EndSection
Section "Screen"
Identifier "real-screen"
Device "real-card"
Monitor "real-monitor"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
Depth 24
EndSubSection
EndSection
Section "Screen"
# Don't specify DefaultColorDepth unless you know what you're
# doing. It will override the driver's preferences which can
# cause the X server not to run if the host doesn't support the
# depth.
Identifier "virtual-screen"
Device "virtual-card"
Monitor "virtual-monitor"
SubSection "Display"
# VGA mode: better left untouched
Viewport 0 0
Depth 4
Modes "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection