oracle 用户图形化提示 no protocol specified

本文介绍了解决Oracle用户在尝试运行图形化应用如xclock时遇到的“noprotocol specified”错误的方法。解决方案是直接使用Oracle用户通过xshell登录,而不是从root用户切换,并展示了具体的命令行操作步骤。

用root 用户可以正常xhost +  ,xclock 显示图形化界面,

而oracle  用户图形化提示 no protocol specified  

 办法是:直接用oracle 用户xshell登录,不要root 切换过去。

Connecting to 192.168.56.131:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
/usr/bin/xauth:  creating new authority file /home/oracle/.Xauthority
[oracle@hdp-03 ~]$ xhost +
access control disabled, clients can connect from any host
[oracle@hdp-03 ~]$ cd /opt/database/
[oracle@hdp-03 database]$ ls
install  response  rpm  runInstaller  sshsetup  stage  welcome.html
[oracle@hdp-03 database]$ env|grep DISPLAY
DISPLAY=localhost:10.0
[oracle@hdp-03 database]$ xhost +
access control disabled, clients can connect from any host

转载于:https://www.cnblogs.com/vzhangxk/p/11233812.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值