Xlib: connection to ":0.0" refused by server Xlib: No protocol specified解决方案

Xlib:
connection to ":0.0" refused by server

Xlib:
 No protocol specified

解决办法:

1.
退出oracle,用root登陆;

2.
root命令行下输入:

[[email protected] ~]# xhost local:oracle non-network local connections being added to access control list

屏幕提示

xhost:
   bad hostname "non-network"

xhost:
   bad hostname"local"

xhost:
   bad hostname "connetcions"

xhost:
   bad hostname "being"

xhost:
   bad hostname "added"

xhost:
   bad hostname "access"

xhost:
   bad hostname "control"

xhost:
   bad hostname "list"

3.
再试试su oracle

[[email protected]
~]# su - oracle

Xlib: connection to ":0.0" refused by server Xlib: No protocol
specified解决方案,布布扣,bubuko.com

Xlib: connection to ":0.0" refused by server Xlib: No protocol
specified解决方案

时间: 2024-10-08 21:46:57

Xlib: connection to ":0.0" refused by server Xlib: No protocol specified解决方案的相关文章

Linux 出现telnet: 127.0.0.1: Connection refused错误解决办法

Linux 出现telnet: connect to address 127.0.0.1: Connection refused错误解决办法 没有xinetd服务: 1./etc/init.d目录中放置了系统中各个daemon服务的脚本,xinetd是其中之一. 2.xinetd是一种特殊的daemon服务(super daemon),它本身管理了一系列的daemon服务,这些服务只有在用户调用时才由xinetd启动,它们启动速度稍慢于独立的daemon服务,这些服务在/etc/xinetd.c

centos解决bash: telnet: command not found...&& telnet: connect to address 127.0.0.1: Connection refused拒绝连接

检查telnet是否已安装: [[email protected] src]# rpm -q telnet-serverpackage telnet-server is not installed[[email protected] src]# telnet 192.168.81.129bash: telnet: command not found... rpm -qa |grep telnet 没有则安装,有跳过 yum install telnet-server -y && yum i

android 127.0.0.1/localhost connection refused,在模拟器上应该用10.0.2.2访问你的电脑本机

调试中通过android simulator模拟器链接localhost或者127.0.0.1,因为我在电脑上面建立了apache,我的代码大概就是URL url = new URL(urlString);     URLConnection urlconn = url.openConnection(); 但是报错了!! Exception 1:java.net.ConnectException: localhost/127.0.0.1:8080 - Connection refused 问题是

[转]android访问网络:java.net.ConnectException: localhost/127.0.0.1:8888 - Connection refused

这对刚学会向tomcat模拟的本地服务器发送请求的同学非常重要! 转自:http://wing123.iteye.com/blog/1873763 描述:在做注册功能的时候,向本地服务器:127.0.0.1发送注册请求,logcat显示出错信息: java.net.ConnectException: localhost/127.0.0.1:8888 - Connection refused 解决办法:弃用127.0.0.1来访问服务器,改用本机的真实IP. 问题解释:摘自:http://80x8

我遇到的错误curl: (7) Failed to connect to 127.0.0.1 port 1086: Connection refused

今天我用curl命令,无论如何都是出现: curl: (7) Failed to connect to 127.0.0.1 port 1086: Connection refused 找了很久,不知道是什么问题,后来发现curl有一个配置文件: p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff } span.s1 { } ~/.curlrc 里

No connection could be made because the target machine actively refused it 127.0.0.1:8888

No connection could be made because the target machine actively refused it 127.0.0.1:8888 你妹的微软 用的Win7系统,今天打开WindowsUpdate,升级了几个补丁,然后安装了最新的IE11,结果发现VS调用WebApi的时候老报这个错误,Google之后没有发现任何有价值的东西. 然后开始检查IE浏览器的代理,发现是这个球德行:,去掉那个SB勾就可以了! 再次向微软的XX致敬! No connect

Redis 服务端配置——Could not connect to Redis at 127.0.0.1:6379: Connection refused

[[email protected] 桌面]# redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refused Could not connect to Redis at 127.0.0.1:6379: Connection refused not connected> exit [[email protected] 桌面]# redis-server /etc/redis.conf [[email prote

Celery 提示[ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 61] Connection refused.

[2015-12-27 13:59:14,206: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 61] Connection refused.Trying again in 2.00 seconds... [2015-12-27 13:59:16,222: ERROR/MainProcess] consumer: Cannot connect to amqp://g

Redis连接时报错:Could not connect to Redis at 127.0.0.1:6379: Connection refused

Could not connect to Redis at 127.0.0.1:6379: Connection refused [[email protected] bin]# redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refused [[email protected] /]# redis-server /etc/redis.conf [[email protected] /]# redis-cli