Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.


安装oracle数据时需要用到图形界面安装,当我们用root用户登录后切换到oracle用户时运行./runInstaller
提示报错: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.

这是因为没有赋予oracle运行图形界面的权限,这时只要在root下运行xhost + 然后回车即可解决问题。
[root@oracle ~]# xhost +
access control disabled, clients can connect from any host
[root@oracle ~]#
[root@oracle ~]# su - oracle
 再运行./runInstaller就可以出安装界面了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM