在VMWare中配XFree86的Demo( 二 )



# Identifier and driver

Identifier "VMware-Mouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
Option "ChordMiddle"

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "VMWare Virtual Monitor"
HorizSync 31.5 - 57.0
VertRefresh 50-100

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VMWare Virtual Card"
Driver "vmware"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "VMware Screen"
Device "VMWare Virtual Card"
Monitor "VMware Virtual Monitor"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

Identifier "Simple Layout"
Screen "VMware Screen"
InputDevice "VMware-Mouse" "CorePointer"
InputDevice "VMware-Keyboard" "CoreKeyboard"

EndSection

# Section "DRI"
# Mode 0666
# EndSection

推荐阅读