Ubuntu作为guest分辨率只能调到800×600,全屏后仍然如此,如何使其全屏呢?(我的本子分辨率是1366*768)
1.安装VboxLinuxadditions
a)安装make gcc lib等
sudo apt-get install build-essential
b)安装module-assistant
sudo apt-get install module-assistant
c)运行
sudo m-a prepare
d)安装VboxLinuxadditions(选“设备”-“安装虚拟电脑工具包”)
进入目录后运行
sudo ./VBoxLinuxAdditions.run
2.修改VBOX在Ubuntu里的设置(这步跳过直接重启也可以)
运行
sudo gedit /etc/X11/xorg.conf
后如下把部分修改
Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24 #我这里颜色质量只能开到24
SubSection "Display"
Modes "1366x768" "800x600" #按屏幕需要改就可以了
EndSubSection
EndSection
3.重启Ubuntu,然后分辨率就可以设置成1366×768了