视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
基于VirtualBOX的OracleLinux分辨率设置
2020-11-09 08:00:33 责编:小采
文档

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

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


点击"System"-->"Administrator"-->"Display",将分辨率由0x480调整至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" "0x480"
EndSubdiv
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
Enddiv

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

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


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


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

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用户执行。


下载本文
显示全文
专题