CentOS7 通过VNC 下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法
来源:互联网 发布:ubuntu lamp环境搭建 编辑:程序博客网 时间:2024/06/05 18:59
【问题描述】:
安装Oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again。
如下图所示:
【解决办法】:
切换到root用户,执行以下命令:
[root@localhost ~]# export DISPLAY=:0.0
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host
[root@localhost ~]#
执行以上命令后,再次切换到oracle用户执行安装即可。
[root@localhost database]# ./runInstaller
补充: 如果你用VNC连接的话,请注意CentOS7的VNC需要单独为Oracle配置。
cd /lib/systemd/system
cp -ap vncserver@.service vncserver@:2.service
vim vncserver@\:2.service
ExecStart=/usr/sbin/runuser -l oracle -c "/usr/bin/vncserver %i"
PIDFile=/home/oracle/.vnc/%H%i.pid
阅读全文
0 0
- CentOS7 通过VNC 下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法
- Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法
- Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法
- Linux 平台 Oracle 安装 报错 Check if the DISPLAY variable is set 解决方法
- Oracle Aix下安装实例DISPLAY not set.错误解决 dbca
- DISPLAY environment variable not set!
- Windows Setup could not set the display language
- JENKINS: Xvnc does not set the DISPLAY environment
- oracle安装之check if the DISPLAY variable is set错误
- 解决The file XXX can not be found.Please check the location and try again!
- Debian下安装rrdtool时出现 : configure: error: Please fix the library issues listed above and try again. 解决方案。
- can not be found.please check the location and try again
- Myeclipse出现can not be found.please check the location and try again
- VirtualBox is not installed. Please re-run the Toolbox Installer and try again.
- VirtualBox is not installed. Please re-run the Toolbox Installer and try again.
- configure: error: Please fix the library issues listed above and try again错误解决方法
- DCS (Display Command Set)
- linux下安装PHP的CI框架,出现Your view folder path does not appear to be set correctly. Please open the following file and correct this: i
- js全选和全不选的代码
- iOS在Xcode中重命名项目名称
- 06.19 MySQL数据库含义与安装(初级)
- 5-2 排座位 (25分)
- Java实现爬取网页数据:PhantomJS+Webdriver
- CentOS7 通过VNC 下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法
- HDU5727(贪心)
- Boost库的安装
- 从零开始学前端1
- 银行调度系统
- layer.js源码分析
- mysql系统时间获取
- spring ThreadPoolTaskExecutor 实现线程阻塞
- VMware下,虚拟机时间同步设置