Xlib: connection to ":0.0" refused by server(openSUSE)
If you get error messages like this
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified xhost: unable to open display ":0.0"
when running a program, you probably need to add the user to the X server access list.
You can add a user to the X server access list with
# xhost +local:username
This allows "username" to connect to the local running X server.
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/786540/viewspace-1009276/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- nacos Connection refused (Connection refused)
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- The connection to the server 10.10.0.2:6443 was refused - did you specify the right host or port?Server
- go get報錯connect: connection refusedGo
- SSH出現Connection refused錯誤
- CM agent 傳送heartbeat給CM server 不斷髮生 connection refused:timed outServer
- nameko shell 報錯 : [Errno 111] Connection refused
- raw.githubusercontent.com port 443: Connection refusedGithub
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- java.net.ConnectException: Connection refused 異常JavaException
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- Linux啟動tomcat後執行shutdown.sh關閉時出現異常:Connection refused (Connection refused)LinuxTomcat
- kubernetes應用flannel失敗 Connection refused.
- telnet localhost 44444 telnet: connect to address ::1: Connection refusedlocalhost
- 解決 Android studio Connect to 127.0.0.1:[/127.0.0.1] failed: Connection refusedAndroid127.0.0.1AI
- Listener refused the connection with the following error:ORA-12514, TNS:listenerError
- OGG-01224 error 111:Connection refused - retries exceeded.Error
- 坑:ssh: connect to host github.com port 22: Connection refusedGithub
- Solaris SSH 服務處於maintenance模式,ssh connection refusedAINaN模式
- Jedis 連線 Redis報JedisConnectionException: java.net.ConnectException: Connection refusedRedisExceptionJava
- 異常解決——GitLab : ssh: connect to host port 22: Connection refusedGitlab
- MySQL:Lost connection to MySQL server at 'readingMySqlServer
- (20200916 Solved)Docker||redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refusedDockerRedis127.0.0.1
- 連線資料庫提示sqlstate[hy000] [2002] Connection refused資料庫SQL
- idea報錯資料庫connection refused【杭州多測師_樹哥】Idea資料庫
- [network][easy case]troubleshoting the connection to a remote serverREMServer
- Lost connection to MySQL server at 'reading authorization packet'MySqlServer
- 解決telnet: connect to address 127.0.0.1: Connection refused的錯誤資訊問題127.0.0.1
- The connection to the server localhost:8080 was refused在WSL/WSL2環境下使用DockerDesktop的kubectl無法連線叢集(缺少config的解決ServerlocalhostDocker
- pa_simple_new() failed: Connection refused ubuntu 開啟root使用者的聲音AIUbuntu
- MySQL異常刨析:ata source rejected establishment of connection, message from server: “Too many connectionMySqlServer
- 【故障處理】ORA-28547: connection to server failed, probableServerAI
- Establishing SSL connection without server's identity verification is not recommended.ServerIDE
- OpenSUSE 使用指南
- mysqldump: Error 2013: Lost connection to MySQL server during query when dumpingMySqlErrorServer
- 解決Mac終端下載報錯 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refusedMacAIGithub
- 使用putty遠端登入Ubuntu時,報Network error:Connection refused錯誤及解決(記錄)UbuntuError
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer