升級失敗後如何設定systemd

升級失敗後如何設定systemd

我最近透過更新管理器將 Kubuntu 從 14.04 升級到 15.10。顯然是個壞主意。我現在只能看到登入畫面。

Startx 結果:

(EE)
Fatal server error:
(EE)could not create lock file in /tmp/.tx0-lock
(EE)
(EE)please consult the The X.Org Foundation support at http://wiki.x.org for help 
(EE)
xinit:giving up
xinit:unable to connect to xserver: connection refused
xinit:server error
xauth: error in locking authority file home/xx/xauthority

我了解到 15.10 使用 systemd 而不是 upstart。我該如何設定systemd?或恢復到14.04?或者如果使用其中之一,則升級到 15.04?

答案1

這不是systemd的問題,而是sddm的問題。有類似的問題,結果是缺少 sddm.conf。您的安裝是可恢復的,只需要您提供更多詳細資訊才能找到最佳方法。

只需按 ALT+CTRL+F1 即可存取虛擬終端嗎? (使用 ALT+F7 返回)- 如果您在啟動時只能看到當前問題的遊標,則應該是這種情況。

如果是這樣,只需使用使用者名稱/密碼登入(密碼不會回顯!)

然後輸入“startx”

這將啟動桌面會話

然後只需安裝 sddm-theme-maldives:

sudo apt-get install sddm-theme-maldives

然後轉到系統設定並選擇該主題。這將呼叫 /etc/ 中 sddm.conf 的建立。然後只需重新啟動即可恢復並報告。

由於您要求使用 systemd:

sudo systemctl disable sddm# 禁用 SDDM 進行維護

sudo systemctl enable sddm# 維護後啟用SDDM

Ubuntu 論壇(2015 年 10 月)也討論了這個問題:

http://ubuntuforums.org/showthread.php?t=2299714&page=2&s=55054a7434483a59376b5851fb269374&highlight=sddm

可能對同時安裝其他 DE(Gnome、Ubuntu)的人有幫助。

相關內容