刚刚在linux下安装完db2 db2inst1没权限启动db2cc
2012-06-28 16:18
417 查看
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: Can’t open display: :0.0 这是老问题了,不过这次对我来说却有些不同。想在自己的本本ubuntu上安装oracle10,结果新增加的用户oracle不能运行X程序。 查了查资料和手册,以日常工作用的那个用户登录,在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的问题的。
相关文章推荐
- linux下安装mongodb并以权限方式启动
- 【Linux】服务安装、启动、停止和卸载
- 安装windows后linux无法启动的解决方案
- 谢烟客---------Linux之CentOS系统安装启动流程
- linux安装tomcat以及启动多个tomcat
- Mongodb在Linux下的安装和启动和配置
- linux下redis快速安装和开机启动
- linux系统安装Tomcat并设置开机启动
- Linux的安装和启动流程详细解析
- linux下svn服务器安装配置与启动
- elasticsearch学习之路---Linux 下安装并启动elasticsearch
- linux下nginx编译安装启动
- linux安装redis服务,添加服务,开机启动
- linux安装部署mysql5.6及ip设置权限、密码修改
- Linux下安装/启动/退出/命令行使用Memcached
- MongoDB的安装与启动(linux平台)
- 如何在安装双启动后卸载 Windows 或者 Linux
- linux上面是否有安装redis,redis启动
- Linux 下的 Redis 安装 && 启动 && 关闭 && 卸载
- Linux下Mongodb安装和启动配置