Xlib: connection to ":0.0" refused by server解决方法
来源:互联网 发布:优化资本结构 编辑:程序博客网 时间:2024/06/11 15:42
果然革命的道路是曲折的,前两天刚搞定SQL > startup的毛病,今天又出问题了。
在linux系统中用Oracle帐号执行DBCA或其他JAVA图形界面程序时,报错:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0
解决办法:用root登陆,在#提示符后输入:
xhost local:oracle non-network local connections being added to access control list
敲回车运行后出现:
non-network local connections being added to access control list
xhost: bad hostname "non-network"
xhost: bad hostname "local"
xhost: bad hostname "connections"
xhost: bad hostname "being"
xhost: bad hostname "added"
xhost: bad hostname "to"
xhost: bad hostname "access"
xhost: bad hostname "control"
xhost: bad hostname "list"
此时再 su - oracle 切换到Oracle用户执行图形界面任务就可以了
man xhost中有这样一段
A complete name has the syntax ‘‘family:name’’ where the families are as follows:
inet Internet host (IPv4)
inet6 Internet host (IPv6)
dnet DECnet host
nis Secure RPC network name
krb Kerberos V5 principal
local contains only one name, the empty string
si Server Interpreted
在linux系统中用Oracle帐号执行DBCA或其他JAVA图形界面程序时,报错:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0
解决办法:用root登陆,在#提示符后输入:
xhost local:oracle non-network local connections being added to access control list
敲回车运行后出现:
non-network local connections being added to access control list
xhost: bad hostname "non-network"
xhost: bad hostname "local"
xhost: bad hostname "connections"
xhost: bad hostname "being"
xhost: bad hostname "added"
xhost: bad hostname "to"
xhost: bad hostname "access"
xhost: bad hostname "control"
xhost: bad hostname "list"
此时再 su - oracle 切换到Oracle用户执行图形界面任务就可以了
man xhost中有这样一段
A complete name has the syntax ‘‘family:name’’ where the families are as follows:
inet Internet host (IPv4)
inet6 Internet host (IPv6)
dnet DECnet host
nis Secure RPC network name
krb Kerberos V5 principal
local contains only one name, the empty string
si Server Interpreted
其中local那个是用来解决同一台机器的不同用户访问X的问题的。
- Xlib: connection to ":0.0" refused by server解决方法
- Xlib: connection to ":0.0" refused by server的解决方法
- Xlib: connection to ":0.0" refused by server解决方法
- Xlib: connection to ":0.0" refused by server解决方法
- Xlib: connection to ":0.0" refused by server解决方法
- Xlib: connection to ":0.0" refused by server解决方法
- Xlib: connection to ":0.0" refused by server解决方法
- 【转载学习】Xlib: connection to ":0.0" refused by server解决方法
- Xlib: connection to ":0.0" refused by server解决方法(转)
- Xlib: connection to ":0.0" refused by server解决方法
- Xlib: connection to ":0.0" refused by server, Xlib: No protocol specified, Xlib: No protocol specified 解决方法
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to "0.0" refused by server
- Xlib: connection to ":0.0" refused by server。
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to ":0.0" refused by server
- python练习
- DirectUI 2D/3D 界面库集合 分析之总结
- tomcat6详解
- uva 193 - Graph Coloring
- diy微波雷达~~~新手,求指导,求大腿啊~~~~~
- Xlib: connection to ":0.0" refused by server解决方法
- 【PHP】Smarty 模板引擎的使用总结
- oracle_base 和 oracle_home 的区别
- Arcgis api for android V2.0模拟器调试问题
- Nutch 2.0 终于来了
- 写给想成为Linux 高手的人们
- 将自己的程序永久写入Android的/system/bin的方法
- 制作kernel内核时make menuconfig出错关于 ncurses
- 二叉排序树的应用(基于二叉排序树的个人通信录)