Linux系统无法全屏,Linux系统在虚拟机VirtualBox不能全屏解决办法

RHEL5.5操作系统(或者Centos亦可)

一.安装完之后发现不能全屏, 分辨率只有800x600。解决如下:

1.点开:系统-管理-显示,硬件,点击配置

81e25c23e10f18bd9e40f755dba1a6f5.png

2.选择LCD Panel 1024x768

43d7663c1153ebdbf9afa8a4470c258c.png

3.注销系统,然后发现屏幕变为全屏,到此解决。

二.发现不能上网

1.在虚拟机VBOX中 点开设置-网络-连接方式改为Bridged Adapter

2.手动设置IP和DNS,重启network或者重启就OK了

Ubuntu系统

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:/media$ls

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

运行

---------------------------------

sudo ./VBoxLinuxAdditions-x86.run(VBOX4.0的不是这个)

---------------------------------

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 #自己设置

SubSection "Display"

Modes "1024x768" "800x600" #按需要设置

EndSubSection

EndSection

-------------------------------

3.重启Ubuntu,这样就可以全屏了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值