sudo gedit出現No protocol specified

No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

 

解決方案,

以上的這個問題是在root權限下出現的,

在普通用戶appleyuchi下面

xhost  + master

即可

例:

(python2.7) appleyuchi@master:~$ xhost + master
master being added to access control list

 

這裏的master是自己的hostname,要改成自己的才行

參考鏈接

https://blog.csdn.net/u014529295/article/details/78766073

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章