您的位置:首页 > 其它

Xlib: connection to ":0.0" refused by server, Xlib: No protocol specified, Xlib: No protocol specifi

2011-12-20 16:34 393 查看
linux 安装oracle

新建用户oracle

以日常工作用的那个用户登录,在shell中运行

xhost local:oracle

non-network local connections being added to access control list

然后oracle身份就能运行X程式了。

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的问题的。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: