Subject: Re: XF86Config for VMware?
To: Jason R Thorpe <thorpej@zembu.com>
From: Bill Squier <groo@old-ones.com>
List: port-i386
Date: 10/31/2000 13:40:25
--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Oct 30, 2000 at 02:00:25PM -0800, Jason R Thorpe wrote:
> Anybody have an XF86Config that'll work with VMware?  XF86Setup insists
> on creating one that then fails to start the X server...

Attached is what VMWare did under Linux for me.  You'll need to edit in the
appropriate mode for you, however (unless you have a Dell Inspiron 5000e :)

-- 
Bill Squier (groo@old-ones.com)                          http://www.netbsd.org
  I know I don't deserve a second chance; but as an American,
  aren't I entitled to one?  --Sideshow Bob.

--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=XF86Config

# File generated by anaconda.
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **********************************************************************
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType"
    FontPath   "unix/:-1"

EndSection
Section "Keyboard"
    Protocol    "Standard"

    # when using XQUEUE, comment out the above line, and uncomment the
    # following line
    # Protocol   "Xqueue"

    AutoRepeat  500 5

    # Let the server do the NumLock processing.  This should only be 
    # required when using pre-R6 clients
    # ServerNumLock

    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Xleds      1 2 3

    # To set the LeftAlt to Meta, RightAlt key to ModeShift, 
    # RightCtl key to Compose, and ScrollLock key to ModeLock:

    LeftAlt         Meta
    RightAlt        Meta
    ScrollLock      Compose
    RightCtl        Control

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#    XkbDisable

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    XkbModel    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    XkbModel    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    XkbLayout   "de"
# or:
#    XkbLayout   "de"
#    XkbVariant  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    XkbOptions  "ctrl:nocaps"
    XkbRules	"xfree86"
    XkbModel	"pc101"
    XkbLayout	"us"
EndSection
# VMware SVGA


Section "ServerFlags"
#    NoTrapSignals
EndSection


Section "Pointer"
    Protocol "ps/2"
    Device "/dev/mouse"
EndSection

Section "Monitor"
    Identifier "vmware"
    VendorName "VMware"
    ModelName "Virtual Monitor"
#   BandWidth 10000
    HorizSync 1-10000
    VertRefresh 1-10000
    ModeLine "640x480" 100 640 700 800 900 480 500 600 700
    ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900
    ModeLine "1024x768" 100 1024 1100 1200 1300 768 800 900 1000
    ModeLine "1152x864" 100 1152 1200 1300 1400 864 900 1000 1100
    ModeLine "1152x900" 100 1152 1200 1300 1400 900 1000 1100 1200
    ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
    ModeLine "1376x1032" 100 1376 1400 1500 1600 1032 1100 1200 1300
    ModeLine "1600x1200" 100 1600 1700 1800 1900 1200 1300 1400 1500
    ModeLine "2364x1773" 100 2364 2400 2500 2600 1773 1800 1900 2000
EndSection

Section "Device"
    Identifier "SVGA"
    Chipset "generic"
EndSection

Section "Screen"
    Driver "accel"
    Device "SVGA"
    Monitor "vmware"
    Subsection "Display"
	Modes "1600x1200"
#	Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
#	Modes "640x480"
#	Modes "800x600"
#	Modes "1024x768"
#	Modes "1152x864"
#	Modes "1152x900"
#	Modes "1280x1024"
#	Modes "1376x1032"
#	Modes "1600x1200"
#	Modes "2364x1773"
        ViewPort 0 0
    EndSubsection
EndSection

--WIyZ46R2i8wDzkSu--