如何修复桌面视图上显示的 ubuntu 启动加载栏?

如何修复桌面视图上显示的 ubuntu 启动加载栏?

无法从实际问题中获得正确的屏幕截图,但似乎在桌面视图加载后这些点闪烁的动画循环并没有停止。

在此处输入图片描述

这些点在屏幕中间闪烁

答案1

短期修复

这是 Plymouth 启动画面。作为短期修复,您可以通过使用权限编辑文件并搜索以下行来禁用/etc/default/grubsudo

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

删除splash参数,使其看起来像这样:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

笔记:除 之外,您可能还有其他选项quite splash。仅删除该splash选项。

保存文件并退出编辑器。然后使用:

 sudo update-grub

下次重新启动时,您会看到一个纯黑屏,而不是带有移动点的紫色启动画面。


长期解决方案

从终端使用:

$ systemctl list-units --all plymouth-quit-wait.service
UNIT                       LOAD   ACTIVE   SUB  DESCRIPTION
plymouth-quit-wait.service loaded inactive dead Hold until boot process finishes up

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.

以上是正常输出。请比较一下您的输出并报告问题中的任何差异。

下一步是使用以下方法查找错误消息:

$ journalctl -b-1 | grep -i plymouth
Apr 03 05:36:13 alien systemd[1]: Starting Show Plymouth Boot Screen...
Apr 03 05:36:14 alien systemd[1]: Started Show Plymouth Boot Screen.
Apr 03 05:36:14 alien systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
Apr 03 05:36:14 alien systemd[1]: Received SIGRTMIN+20 from PID 389 (plymouthd).
Apr 03 05:36:15 alien systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
Apr 03 05:36:15 alien systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
Apr 03 05:36:15 alien systemd[1]: Received SIGRTMIN+21 from PID 389 (plymouthd).
Apr 03 05:39:32 alien systemd[1]: Starting Show Plymouth Reboot Screen...
Apr 03 05:39:33 alien systemd[1]: Received SIGRTMIN+20 from PID 20980 (plymouthd).
Apr 03 05:39:33 alien systemd[1]: Started Show Plymouth Reboot Screen.
Apr 03 05:39:34 alien systemd[1]: Stopped Forward Password Requests to Plymouth Directory Watch.

再次,以上是正常输出。

相关内容