So I have a CentOS 6 VM running on a VMWare ESXI host. I can not set the resolution above 800x600. Despite the fact that the vmware Xorg drive is installed, it does not seem to be able to support higher resolutions. First things first, I have installed VMWare tools, and have installed the xorg vmwarea driver:
Code: Select all
rpm -qa | grep vmware
Result: xorg-x11-drv-vmware-13.1.0-2.el6.x86_64
Code: Select all
Go to Preferences > Display and set a higher resolution
Code: Select all
Use the command "xrandr --output Virtual1 --mode 1024x768"
Code: Select all
Use the command "xrandr -s 5" (5 being the config for 1024x768 in xrandr command)
I used
Code: Select all
xorg -configure
To generate an xorg.conf file which I put in /etc/X11/xorg.conf.d/xorg.conf. As you can see it has the "driver" set to vmware under Device.
Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "HWcursor" # [<bool>]
#Option "Xinerama" # [<bool>]
#Option "StaticXinerama" # <str>
#Option "GuiLayout" # <str>
#Option "AddDefaultMode" # [<bool>]
#Option "RenderAccel" # [<bool>]
#Option "DRI" # [<bool>]
#Option "DirectPresents" # [<bool>]
#Option "HWPresents" # [<bool>]
#Option "RenderCheck" # [<bool>]
Identifier "Card0"
Driver "vmware"
BusID "PCI:0:15:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection