開機黑屏,遊標閃爍!

開機黑屏,遊標閃爍!

我安裝了 ubuntu 20.04.2 LTS。安裝後,我重新啟動,一切正常。今天,當我嘗試再次啟動 ubuntu 時,我遇到了黑屏和閃爍的遊標。

運行journalctl -xe 會產生:

Jan 17 15:01:32 Desktop gnome-keyring-daemon[1566]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Jan 17 15:01:32 Desktop gnome-keyring-d[1566]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Jan 17 15:01:32 Desktop dbus-daemon[1477]: [session uid=1000 pid=1477] Successfully activated service 'org.freedesktop.secrets'
Jan 17 15:01:32 Desktop dbus-daemon[1477]: [session uid=1000 pid=1477] Activating service name='org.gnome.keyring.SystemPrompter' requested by ':1.15' (uid=1000 pid=1566 comm="/usr/bin/gnome-keyring-daemon --start --foreground" label="unconfined")
Jan 17 15:01:32 Desktop org.gnome.keyring.SystemPrompter[1573]: Unable to init server: Could not connect: Connection refused
Jan 17 15:01:32 Desktop gcr-prompter[1573]: cannot open display: 
Jan 17 15:01:32 Desktop dbus-daemon[1477]: [session uid=1000 pid=1477] Activated service 'org.gnome.keyring.SystemPrompter' failed: Process org.gnome.keyring.SystemPrompter exited with status 1
Jan 17 15:01:32 Desktop gnome-keyring-daemon[1566]: couldn't create system prompt: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.keyring.SystemPrompter exited with status 1
Jan 17 15:01:32 Desktop gnome-keyring-d[1566]: couldn't create system prompt: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.keyring.SystemPrompter exited with status 1
Jan 17 15:01:32 Desktop goa-daemon[1528]: secret_password_lookup_sync() returned NULL
Jan 17 15:01:32 Desktop goa-daemon[1528]: /org/gnome/OnlineAccounts/Accounts/account_1598527013_0: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: No credentials found in the keyring (goa-error-quark, 4)
Jan 17 15:01:42 Desktop systemd[1465]: tracker-extract.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit UNIT has successfully entered the 'dead' state.
Jan 17 15:01:56 Desktop pulseaudio[1471]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Jan 17 15:01:56 Desktop dbus-daemon[607]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Jan 17 15:02:04 Desktop tracker-store[1554]: OK
Jan 17 15:02:04 Desktop systemd[1465]: tracker-store.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit UNIT has successfully entered the 'dead' state.

我在同一論壇上找到了具有完全相同的journalctl輸出的人:20.04 黑屏、無桌面會話、org.gnome.keyring.systempropter 問題。但是,修復方法是刪除 nvidia 驅動程式。我的筆記型電腦中只有 AMD 和 INTEL GPU,因此我無法嘗試相同的修復。

我注意到,當我重新啟動 gdm3 時,會彈出登入畫面,一切正常。問題是我幾乎每次啟動 ubuntu 時都必須重新啟動 gdm3!有解決辦法嗎?不確定這是否相關,但這是否是內核導致問題的原因?過去使用 20.04(內核 5.4)時就沒有這個問題。但當更新到 20.10 或 20.04.2(核心為 5.8)時,這個問題就出現了。我還想指出,在 Manjaro 上使用內核 5.9 效果很好。

我嘗試過的:

  1. sudo crontab -e在終端機中輸入,並將:新增@reboot service gdm3 --full-restart至檔案。
  2. 按照此:GDM3 在 Ubuntu 18.04 中無法啟動我在 /etc/gdm3/custom.conf 檔案中取消註解 Wayland=false 。
  3. 我已遵循此 reddit 帖子回復中的所有命令等:https://www.reddit.com/r/Ubuntu/comments/b38d97/i_tried_sudo_systemctl_restart_gdm3_and_it_does/
  4. 重新安裝 ubuntu 並且不選擇安裝第 3 方應用程式

謝謝您的幫忙! :)

編輯:解決了問題! 我能夠獲得有關 ubuntu 不和諧的幫助!為了解決這個問題,我必須停用 gdm3,並啟用 lightdm。啟動時,登入畫面會有所不同。在登入按鈕附近,應該有一個 ubuntu 標誌。選擇標誌並選擇 wayland。這解決了我的問題!謝謝那個很棒的人:D

答案1

我能夠獲得有關 ubuntu 不和諧的幫助!為了解決這個問題,我必須停用 gdm3,並啟用 lightdm。啟動時,登入畫面會有所不同。在登入按鈕附近,應該有一個 ubuntu 標誌。選擇標誌並選擇 wayland。這解決了我的問題!謝謝那個很棒的人:D

相關內容