Ubuntu在VirtualBox中不能全屏的问…

来源:互联网 发布:oa java大型源码 编辑:程序博客网 时间:2024/06/01 09:58
ubuntu的分辨率只能调到800×600,不能全屏,解决如下:

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(选“设备”-“安装虚拟电脑工具包”)
进入目录

zhangkai@zhangkai-desktop:~$cd /media

zhangkai@zhangkai-desktop:/media$ls
VBOXADDITIONS_3.2.6_63112
zhangkai@zhangkai-desktop:/media$cd VBOXADDITIONS_3.2.6_63112/(这里进入你自己的目录)

运行

---------------------------------
sudo ./VBoxLinuxAdditions-x86.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 "1280x800" "800x600" #按屏幕需要改就可以了
EndSubSection
EndSection

-------------------------------
3.重启Ubuntu,这样就可以全屏了。(操作完毕能与主机XP进行相互的复制粘贴操作了

原创粉丝点击