oracle 用戶圖形化提示 no protocol specified


用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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM