Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1947059
  • 博文数量: 424
  • 博客积分: 1291
  • 博客等级: 中尉
  • 技术积分: 2682
  • 用 户 组: 普通用户
  • 注册时间: 2012-08-13 01:34
个人简介

linux oracle 网络安全 编程

文章分类

全部博文(424)

文章存档

2016年(22)

2015年(53)

2014年(57)

2013年(242)

2012年(50)

分类: Oracle

2013-12-29 12:44:37

在linux平台下安装Oracle10g提示 Xlib: connection to ":0.0" refused by server Error: Can't open display: :0.0

解决办法:


     以日常工作用的那个用户登录,在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的问题的。

来源: ChinaUnix博客

阅读(1519) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~