首先在“系统”→“管理”→“显示”→“硬件”中将显示器类型改为“Monitor 1024*768”
再修改以下文件:
######################################################
# Xorg configuration created by system-config-display
# /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "VMMouse" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "VMMouse"
Driver "vmmouse"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
ModelName "Monitor 1024x768"
HorizSync 31.5 - 71.0 #根据自己的显示器设置
VertRefresh 60.0 - 85.0 #垂直刷新率,根据自己的显示器设置
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vmware"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection