1. 首页 > 知识 > 数据库

Oracle 安装时遇到“display at least 256 colors”及 xhost: unable to open display ""

Oracle 安装时遇到“display at least 256 colors”

5.png

解决方法:

1、第一步解决办法可执行  xhost +

切换到root用户

su - root
password
DISPLAY=:0.0
export DISPLAY
echo $DISPLAY
xhost
xhost +

切换回oracle

su - oracle
DISPLAY=:0.0
export DISPLAY
echo $DISPLAY

2、若执行xhost +报错 xhost: unable to open display "" 按以下步骤操作

yum search tigervnc-server (debian系列执行apt-get下载,或去官网下载deb包进行安装)

yum -y install 相应的版本

5.png

在oracle执行vncserver 出现下图(需输入密码)

4 - 副本.png

再执行export DISPLAY=localhost.localdomain:4

最后xhost +执行成功


本文由傻鸟发布,不代表傻鸟立场,转载联系作者并注明出处:https://www.shaniao.net/database/143.html

加载中~

联系我们

在线咨询:点击这里给我发消息

微信号:

工作日:10:30-15:30,节假日休息