Virtualbox下修改CentOS分辨率

Virtualbox下修改CentOS分辨率

Virtualbox下安裝CentOS7後先安裝增強功能,要修改分辨率,可以修改/etc/X11/xorg.config配置文件,但CentOS 7版本默認情況下沒有xorg.config文件。
解決方法:

獲得管理員權限:
su root

使用管理員身份運行:
Xorg :1 -configure

把xorg.conf複製到/etc/X11/目錄下:
cp /root/xorg.conf.new /etc/X11/xorg.conf

接下來就可以用vi編輯文件了:
vi /etc/X111/xorg.conf

在文件中找到這一段:

Section "Screen"
	...
	SubSection "Display"
		Viewport	0 0
		Depth      24
	EndSubSection
	...
EndSection

添加字段Modes,增加你要的分辨率,800x600要保留。

Section "Screen"
	...
	SubSection "Display"
		Viewport	0 0
		Depth      24
		Modes "800x600" "1600x900"
	EndSubSection
	...
EndSection

按ESC後 ,輸入:wq保存退出vim編輯器。
重啓後更改分辨率,完成。


圖形界面系統修改CentOS分辨率

應用程序-系統工具-設置-設備-Display-分辨率。
設置-設備-Mouse可以修改鼠標速度。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章