Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

# Xlib: connection to & quot;:0.0" refused by server Xlib: No protocol specified

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

When running asmca on a redhat5 system, the following error is prompted:

# Xlib: connection to ": 0.0" refused by server

Xlib: No protocol specified

The reason is the permission problem of xhost.

Search on the Internet, are using root to implement the local:username way to solve!

However, after my own experiments, sometimes when root is executed, it also prompts the above error:

# Xlib: connection to ": 0.0" refused by server

Xlib: No protocol specified

Therefore, it is recommended that it is best to use what user to log in to the xserver, that is, the graphical interface, then use what user to execute: local:username

It's safer this way.

Because one of my cluster machines can be executed with root, but the other is not, because I am a graphical interface logged in by the oracle user, the execution is successful with the oracle user.

The asmca runs successfully.

In the end why the implementation of root is not successful, I wait for the losers temporarily do not understand ah, if there are experts know the reasons, the following post, thank you for your advice.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report