oracle输出dpms,Screen Resolution Oracle Virtual Box

I installed Oracle virtual Box for Windows 7 and then I installed

Oracle Enterprise Linux guest OS for Virtual Box. When i open my

Guest OS, This Screen Resolution is 800×600 and below.so my screen

was very small .So that i plan to modify screen

resolution for Guest OS.

Method 1 : Install Guest Additions

For Oracle Enterprise Linux 5.

After Started Gust OS at  Virtual

Box, Choose Devices

–> Install guest Additions.

It should be appear in guest operating system.

Step 1:

[root@localhost media]# ls

TOSHIBA VBOXADDITIONS_3.2.10_66523

[root@localhost media]# cd VBOXADDITIONS_3.2.10_66523

[root@localhost VBOXADDITIONS_3.2.10_66523]# ls

32Bit VBoxLinuxAdditions-amd64.run VBoxWindowsAdditions.exe 64Bit VBoxLinuxAdditions-x86.runVBoxWindowsAdditions-x86.exe

AUTORUN.INF VBoxSolarisAdditions.pkg autorun.sh VBoxWindowsAdditions-amd64.exe

[root@localhost VBOXADDITIONS_3.2.10_66523]# cp VBoxLinuxAdditions-x86.run /tmp

[root@localhost ~]# cd /tmp

[root@localhost tmp]# ls

gconfd-root mapping-root ssh-ZMDjDI2464 virtual-root.Ob9cyx

keyring-xmJ5Gd orbit-root VBoxLinuxAdditions-x86.runxorg.conf

Step 2: Run x86 VBox linux additions

[root@localhost tmp]# ./VBoxLinuxAdditions-x86.run

Verifying archive integrity... All good.

Uncompressing VirtualBox 3.2.10 Guest Additions for Linux........VirtualBox Guest Additions installer

Uninstalling old VirtualBox DKMS kernel modules [ OK ]

Building the VirtualBox Guest Additions kernel modules [FAILED]

Your system does not seem to be set up to build kernel modules.

Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it,

you can

run

/etc/init.d/vboxadd setup

to build them.

Doing non-kernel setup of the Guest Additions [ OK ]

Installing the Window System drivers Installing X.Org 7.1 modules [ OK ]

Setting up the Window System to use the Guest Additions [ OK ]

You may need to restart the hal service and the Window System (or just restart

the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services component[ OK ]

Oops

:!…….It shows Kernel modules Errors, I just looked and spent some

few minutes and fix it, What Errors need, Some Packages

Yes.

The Following package need to install , Using rpm -Uvh

libstdc++-devel-4.1.2-48.el5.i386.rpm

libgomp-4.4.0-6.el5.i386.rpm

libaio-devel-0.3.106-3.2.i386.rpm

kernel-headers-2.6.18-194.el5.i386.rpm

kernel-devel-2.*

glibc-devel-2.5-49.i386.rpm

glibc-headers-2.5-49.i386.rpm

gcc-4.1.2-48.el5.i386.rpm

gcc-c++-4.1.2-48.el5.i386.rpm

Note : You must installed all packages, Otherwise the above Kernel

module Errors will be appear. you can get this package from your

OEL CD or DVD /server folder.

After installed Package, you can run

[root@localhost tmp]# ./VBoxLinuxAdditions-x86.run

Verifying archive integrity... All good. Uncompressing VirtualBox 3.2.10 Guest Additions for Linux........

VirtualBox Guest Additions installer Removing installed version 3.2.10 of VirtualBox Guest Additions...

Uninstalling old VirtualBox DKMS kernel modules [ OK ]

Building the VirtualBox Guest Additions kernel modules

Your guest system does not seem to have sufficient OpenGL support to enable

accelerated 3D effects (this requires Linux 2.6.27 or later in the guest

system). This Guest Additions feature will be disabled.

Building the main Guest Additions module [ OK ]

Building the shared folder support module [ OK ]

Doing non-kernel setup of the Guest Additions [ OK ]

Starting the VirtualBox Guest Additions [ OK ]

Installing the Window System drivers Installing X.Org 7.1 modules [ OK ]

Setting up the Window System to use the Guest Additions [ OK ]

You may need to restart the hal service and the Window System (or just restart

the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services componen[ OK ]

[root@localhost tmp]#

Now Guest Additions successfully Installed…. Now I want to set

Screen resolution, Unfortunately I rebooted my machine, During

Restart It shows some error for Display.I set again old values like

“800×600″ , After I set it, I started the machine, the old value

appear.I thinked Why its not appear Display screen resoltion after

installed Guest Addtions.

The answer is , We need to add one line for

/etc/X11/xorg.conf Not Like Ubuntu. OEL some needs.

so I again Startup my

vbox X11 setup, [no need this

setup, if once your installed Guset additions before reboot, By

mistake I rebooted, so the I ran again. you just add one line, its

enough ]

#/etc/init.d/vbox-add-X11 setup

'''''''

After run it, you just go

to ADD ”Modes “1024×768″ “800×600″ ”

for/etc/X11/xorg.conf

#gedit /etc/X11/xorg.conf

Section "Screen"

SubSection "Display"

Depth 24

Modes "1024x768" "800x600"

EndSubSection

Device "Device[0]"

Identifier "Screen[0]"

Monitor "Monitor[0]"

EndSection

Now After Rebooted, Your screen resolution Should be

changed. a4c26d1e5885305701be709a3d33442f.png

——-

Method 2: Without Install Guest Additions, But Oracle Recommand ,

Install guest Additions.

you can modify from here /etc/X11/xorg.conf

AS a root

user,

Before Copy xorg.conf

#cp /etc/X11/xorg.conf /tmp

then

Write a new line for xorg.conf

#gedit /etc/X11/xorg.conf

# Xorg configuration created by system-config-display

Section “Device” Identifier “Videocard0″ Driver “vesa” EndSection

Section “Monitor” Identifier “WXGA+

Inspiron” HorizSync 31.5-90.0 VertRefresh 60.0-60.0 Option “DPMS” EndSection

Section “Screen” Identifier “Screen0″ Device “Videocard0″ Monitor “WXGA+ Inspiron” DefaultDepth 16 SubSection “Display” Viewport 0

0 Depth 16 Modes “1280×1024″ “1024×768″

“800×600″ “640×480″ EndSubSection SubSection “Display” Viewport 0

0 Depth 24 Modes “1280×1024″ “1024×768″

“800×600″ “640×480″ EndSubSection EndSection

After modified, you just reboot your Guest OS.

Now you can see your screen resolution.

a4c26d1e5885305701be709a3d33442f.png

# Enable USB Device For Oracle Virtual Box.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值