Arch-Linux
系統更新後,啟動在 Arch 上的“到達目標圖形界面”處掛起(無虛擬機)
大約一個月前,我的 Arch 系統開始掛在“到達目標圖形界面”,並且從未啟動 Gnome 顯示管理器 (GDM)。我最終找到了一種解決方法,即簡單地切換到 TTY 2 (ALT + F2),然後切換回 TTY 1 (ALT + F1),這樣就可以正常啟動 GDM。這是卡住/掛起啟動的螢幕截圖:
我查看了這個問題,Arch Linux 卡在啟動時(到達目標圖形界面),但我沒有為此使用 Virtualbox,儘管我在註意到問題時確實安裝了 Virtualbox,然後在我的故障排除步驟中解除安裝了 Virtualbox。我確實嘗試了該問題中的答案來安裝 xorg-server,但它已經安裝 > https://unix.stackexchange.com/a/341293/27902。
我確實啟用了該服務。當我切換到 TTY2 時,這就是
systemctl status gdm.service
:/usr/lib/systemd/system/gdm.service 的內容:
[Unit] Description=GNOME Display Manager # replaces the getty Conflicts=getty@tty1.service After=getty@tty1.service # replaces plymouth-quit since it quits plymouth on its own Conflicts= After= # Needs all the dependencies of the services it's replacing # pulled from getty@.service and # (except for plymouth-quit-wait.service since it waits until # plymouth is quit, which we do) After=rc-local.service plymouth-start.service systemd-user-sessions.service # GDM takes responsibility for stopping plymouth, so if it fails # for any reason, make sure plymouth still stops OnFailure=plymouth-quit.service [Service] ExecStart=/usr/bin/gdm KillMode=mixed Restart=always IgnoreSIGPIPE=no BusName=org.gnome.DisplayManager StandardOutput=syslog StandardError=inherit EnvironmentFile=-/etc/locale.conf ExecReload=/bin/kill -SIGHUP $MAINPID KeyringMode=shared [Install] Alias=display-manager.service
更新:澄清一下,我不使用 Wayland,但仍然使用 X。
K,解決方案是這樣的,感謝@cweagans 幫助我解決這個問題!
systemctl disable gdm.service
yay --remove gdm
yay --sync --refresh gdm
systemctl enable gdm.service
reboot
- 作品!