![Fedora 23 更新後黑屏](https://rvso.com/image/89149/Fedora%2023%20%E6%9B%B4%E6%96%B0%E5%BE%8C%E9%BB%91%E5%B1%8F.png)
幾天前,我在我的筆記型電腦上安裝了 fedora 23 xfce 桌面,它運作得很好。
幾天後我做到了sudo dnf update
。更新後,我無法更改壁紙,因此我重新啟動了筆記型電腦,啟動後我有兩個選項。我嘗試了 Booth,但它一直顯示黑屏,除了閃爍的下劃線 (-) 之外什麼都沒有。
我可以點擊e
編輯啟動項目並在某處添加 3 以到達終端。我嘗試降級xorg-x11-server-Xorg
,但沒有解決問題。
更新
我嘗試使用 startx 從終端啟動 x,這就是我得到的。
xauth: file /home........./.serverauth.2093 does not exist.
xauth: (stdin):2 unknown command "some random characters"
X.Org X Server 1.18.3
Bunch of info about xorg and my machine
Parse on line 2 of section InputClass in file /etc/X11/xorg.conf .d/70-synaptics.conf
"..." Is not a valid keyword in this section.
EE fatal server erro
EE no screen found(EE)
xinit: giving up
xinit: unable to connect to X server: connection refused
xinit: server error
[Ali@Almoullim ~]$ _
我在 nano 中編輯了這個檔案/etc/X11/xorg.conf .d/70-synaptics.conf
並刪除了裡面的內容,現在我明白了。
得到。
xauth: file /home........./.serverauth.2277 does not exist.
xauth: (stdin):2 unknown command "some random characters"
X.Org X Server 1.18.3
Bunch of info about xorg and my machine
Waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
[Ali@Almoullim ~]$ _
參考這是日誌:
更新2
我刪除了 xorg conf.d 目錄並從以前的內核啟動了 X,現在我可以進入登入畫面,但我無法使用鍵盤或滑鼠。
我相信日誌檔案中有相關內容,請參閱這部分:
我猜它說它找不到鍵盤、滑鼠、wifi 等的適當驅動程式
所以我安裝xorg-x11-drv-evdev && xorg-x11-drv-synaptics
以啟用鍵盤、滑鼠和觸控板。
但有些錯誤仍然發生,startx 需要大約 1-2 分鐘才能啟動!
更新3
我剛剛在我的第二台筆記型電腦上安裝了 Fedora,但這次是 Fedora 24。
猜猜問題出在 Fedora ……我不想再嘗試解決這個問題,而且我不喜歡使用舊版本的 Fedora……我要回到 Arch!
PS:我有一台 Lenovo Z500 i7,配備 8GB 記憶體和 nvidia Geforce 740m(我的筆記型電腦不可能太弱而無法處理 Fedora)
答案1
不確定,但您所描述的內容聽起來有點像最近的問題,即係統在大多數情況下無法加載 X(即圖形桌面),除非有時在幾分鐘後。
您應該檢查 Fedora 24 live 系統是否也會發生這種情況,而無需安裝任何東西。
如果是這個問題,以下引導選項可能會有所幫助:
iomem=relaxed
(像往常一樣,在啟動選單中按 E,並將其附加到「linux」行。)
答案2
我有類似的問題。事實證明,這不是由於升級,而是因為我在 /etc/environment 檔案中聲明了環境變量,就像我以前在 ubuntu 中所做的那樣。刪除這些變數解決了問題。
如何修復:在 Fedora 登入畫面上,按 ctrl+Alt+F2 並前往終端機。使用 vi 編輯器編輯該檔案。您可能必須提供命令的完整路徑,例如/usr/bin/sudo /usr/bin/vi /etc/environment
編輯檔案。刪除您新增的所有條目。不要刪除系統新增的條目!