Subject: Re: VMWare 4
To: Juergen Tritthardt <juergent@sun0.mpimf-heidelberg.mpg.de>
From: Thomas Bieg <tomsbsd03@t-email.de>
List: netbsd-help
Date: 10/23/2003 00:09:15
Juergen Tritthardt wrote:
> I try to use netbsd-1.6.1 as guest in VMWare 4 under WinXP. Installing the
> base system I had no trouble, but I need X. It seems I have to install the
> VMWare tools.

I haven't actually tried VMWare 4, but at least for VMWare 3 you don't
need VMWare tools just to get X running.

Below is a XF86Config file that should work out of the box (again: at
least for VMWare 3...). If it doesn't you could try to first let X
auto-configure a new file for you and then add the missing lines
(ModeLines etc.) from the file below.

(Don't ask me about those ModeLines, I copied them from somewhere
else...)

Tom



Section "ServerLayout"
         Identifier     "XFree86 Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
         RgbPath      "/usr/X11R6/lib/X11/rgb"
         ModulePath   "/usr/X11R6/lib/modules"
         FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
         FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
         FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
         Load  "dbe"
         Load  "extmod"
         Load  "glx"
         Load  "record"
         Load  "xtrap"
         Load  "speedo"
         Load  "type1"
EndSection

Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "keyboard"
         Option      "AutoRepeat" "200 50"
         Option      "XkbModel" "pc105"
         Option      "XkbLayout" "de"
EndSection

Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "wsmouse"
         Option      "Device" "/dev/wsmouse0"
         Option      "Buttons" "5"
         Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
         Identifier "vmware"
         VendorName "VMware"
         ModelName "Virtual Monitor"
         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  "Card0"
         Driver      "vmware"
         VendorName  "VMware"
         BoardName   "PCI SVGA (FIFO)"
         BusID       "PCI:0:15:0"
EndSection

Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "vmware"
         DefaultDepth 24
         SubSection "Display"
                 Modes     "1280x960"
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Modes     "1280x960"
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Modes     "1280x960"
                 Depth     16
         EndSubSection
         SubSection "Display"
                 Modes     "1280x960"
                 Depth     24
         EndSubSection
EndSection