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

Xhost: install oracle under unable to open display linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

1. Log in as root user

Enter the command xdpyinfo and record the string after name of display:, such as name of display:127.0.0.1:1.0

Executing the xhost + command (making it accessible to all customers)

The returned information is:

Access control disabled,clients can connect from any host

If xhost + cannot be executed, you can execute it by typing the command export DISPLAY=:0

Execute xhost + again

Xhost + ip (name indicates that the ip machine can use the service)

2. Log in as oracle user

If the string after name of display: is 127.0.0.1 after performing xdpyinfo under root login, the string is 127.0.0.1

Then execute export DISPLAY=:1.0 under the oracle user

Then execute the xdpyinfo command. If a message appears, you have succeeded.

It is estimated that the xhost problem of installing oracle under linux can be solved.

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