>  기사  >  데이터 베이스  >  基于Virtual BOX的Oracle Linux分辨率设置

基于Virtual BOX的Oracle Linux分辨率设置

WBOY
WBOY원래의
2016-06-07 15:19:221217검색

在基于Virtual BOX的Oracle Linux上布署11G RAC,执行grid Infrastructure 集群件安装的时候,OUI界面显示不全,右下角缺少next与cancel按钮,显示如下 点击System--Administrator--Display,将分辨率由640x480调整至800x600,然后logout重新登陆,问题依旧

在基于Virtual BOX的Oracle Linux上布署11G RAC,执行grid Infrastructure 集群件安装的时候,OUI界面显示不全,右下角缺少"next"与"cancel"按钮,显示如下

基于Virtual BOX的Oracle Linux分辨率设置

点击"System"-->"Administrator"-->"Display",将分辨率由640x480调整至800x600,然后logout重新登陆,问题依旧。

编辑/etc/X11/xorg.cnf文件,设置分辨率参数Modes,显示如下

div "InputDevice"
  Identifier   "Keyboard[0]"
  Driver       "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
  Option       "Protocol" "Standard"
  Option       "CoreKeyboard"
Enddiv


div "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "9"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "VirtualBox Mouse Buttons"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Oracle Corporation"
  Option       "ZAxisMapping" "4 5"
  Option       "CorePointer"
Enddiv


div "InputDevice"
  Driver       "vboxmouse"
  Identifier   "Mouse[2]"
  Option       "Device" "/dev/vboxguest"
  Option       "Name" "VirtualBox Mouse"
  Option       "Vendor" "Oracle Corporation"
  Option       "SendCoreEvents"
Enddiv


div "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[2]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
Enddiv


div "Monitor"
  Identifier   "Monitor[0]"
  ModelName    "VirtualBox Virtual Output"
  VendorName   "Oracle Corporation"
Enddiv


div "Device"
  BoardName    "VirtualBox Graphics"
  Driver       "vboxvideo"
  Identifier   "Device[0]"
  VendorName   "Oracle Corporation"
Enddiv


div "Screen"
  Subdiv "Display"
    Depth      24

    Modes "1024x768" "800x600" "640x480"
  EndSubdiv
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
Enddiv

然后重启系统,问题依旧,并且点击"System"-->"Administrator"-->"Display",发现可选分辨率还是只有640x480和800x600

百度了一下,网上说要安装Virtual Box增强功能,具体操作如下

基于Virtual BOX的Oracle Linux分辨率设置

点击“安装增强功能”后,桌面会出现VBOXADDITIONS _4.3.10_93012光盘图标,点击图标后,找到“VBOXLinuxAdditions.run”文件

基于Virtual BOX的Oracle Linux分辨率设置

双击运行,屏幕输出以下信息

Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.10 Guest Additions for Linux............
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module                   [  OK  ]
Building the shared folder support module                  [  OK  ]
Building the OpenGL 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  ]
然后重启系统解决问题。

备注:如果双击“VBOXLinuxAdditions.run”文件,屏幕没有输出上面的信息,可以在命令行下进去文件所在路径,以root用户执行。


성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.