码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2018-08-24 22:56:15      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:any   led   access   1.0   var   用户登录   disabled   安装   ESS   

安装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就可以出安装界面了。

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

标签:any   led   access   1.0   var   用户登录   disabled   安装   ESS   

原文地址:https://www.cnblogs.com/Dev0ps/p/9532258.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!