
每當我嘗試從 LXTerminal 以 sudo 身分執行 GUI 程式時,都會收到此錯誤:
No protocol specified
** (aptik-gtk:2701): WARNING **: Could not open X display
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
(aptik-gtk:2701): Gtk-WARNING **: cannot open display: :0.0
我知道 Mir 顯示伺服器不屬於那裡。 Lubuntu 僅使用 x.org 顯示伺服器。我確認沒有安裝。因此,由於將 /home 資料從 Ubuntu 14.04 備份傳輸到我的 Lubuntu /home,因此必須有一些 /home 檔案引用它。我嘗試卸載 x11、重新配置 x11、刪除 ~/.config,但沒有任何效果。