This xorg.conf file yields a 1080p (1920x1080) resolution display. To use it, copy and paste this text in to /etc/X11/xorg.conf.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "dri2"
Load "extmod"
Load "glx"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "vmmouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
ModeLine "1920x1080" 148.50 1920 2008 2052 2200 1080 1084 1089 1125
EndSection
Section "Device"
Identifier "Card0"
Driver "vmware"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1920x1080"
EndSubSection
EndSection
Running vmwh makes the mouse work better. Once
it's running, moving the pointer to the VM screen's edge
automatically causes focus to leave the VM, just like guests running
VMware Tools.
First, install vmwh like this:
Then edit your .xinitrc file to have vmwh start automatically with X.
If you're using a session manager, you may need to edit a different file
to have vmwh automatically start. Here's my .xinitrc file:
# export PKG_PATH=ftp://ftp.usa.openbsd.org/pub/OpenBSD/5.2/packages/i386
# pkg_add vmwh
vmwh &
fvwm