当前位置: 技术问答>linux和unix
求诸位帮个忙,红帽linux怎么该屏幕分辨率
来源: 互联网 发布时间:2016-06-20
本文导语: 我用VMWare虚拟机安装了红帽9.0,用root身份进入,想改屏幕分辨率,可是屏幕分辨率改不了,说是重启后就可以了,但我试了很多次,依然不行。 | 最好在图形界面中更改,显卡太PP的请不要向...
我用VMWare虚拟机安装了红帽9.0,用root身份进入,想改屏幕分辨率,可是屏幕分辨率改不了,说是重启后就可以了,但我试了很多次,依然不行。
|
最好在图形界面中更改,显卡太PP的请不要向windows里那样改,因为linux不高兴就不让进桌面
[root@bogon ~]# cd /etc/X11
[root@bogon X11]# ls
applnk lbxproxy starthere xdm xorg.conf xserver
dm prefdm sysconfig xinit xorg.conf.backup xsm
fs proxymngr twm xkb Xresources
gdm serverconfig X Xmodmap X.rpmsave
[root@bogon X11]# vi xorg.conf
更改下面的参数
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 30.0 - 70.0 使之支持更高的分辨率
VertRefresh 85.0 - 85.0 刷新率
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vmware"
VendorName "Videocard vendor"
BoardName "VMWare"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
保存退出
重新启动即可。
[root@bogon ~]# cd /etc/X11
[root@bogon X11]# ls
applnk lbxproxy starthere xdm xorg.conf xserver
dm prefdm sysconfig xinit xorg.conf.backup xsm
fs proxymngr twm xkb Xresources
gdm serverconfig X Xmodmap X.rpmsave
[root@bogon X11]# vi xorg.conf
更改下面的参数
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 30.0 - 70.0 使之支持更高的分辨率
VertRefresh 85.0 - 85.0 刷新率
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vmware"
VendorName "Videocard vendor"
BoardName "VMWare"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
保存退出
重新启动即可。