按下电源按钮后桌面运行非常慢

按下电源按钮后桌面运行非常慢

打开很慢。我等待你的建议。我的 kubuntu 安装在 ssd 上。

ahmet@ahmet:~$ systemd-analyze
Startup finished in 7.298s (kernel) + 34.948s (userspace) = 42.246s
graphical.target reached after 34.938s in userspace
ahmet@ahmet:~$ systemd-analyze blame
30.049s NetworkManager-wait-online.service
2.404s dev-sda2.device
1.742s [email protected]
1.304s snapd.service
1.240s dev-loop0.device
1.211s dev-loop1.device
1.201s dev-loop2.device
1.174s dev-loop3.device
1.010s systemd-journal-flush.service
788ms mpd.service
784ms systemd-udevd.service
646ms systemd-logind.service
640ms avahi-daemon.service
636ms lm-sensors.service
630ms pppd-dns.service
608ms NetworkManager.service
583ms ModemManager.service
568ms networkd-dispatcher.service
483ms udisks2.service
457ms grub-common.service
448ms systemd-resolved.service
420ms systemd-timesyncd.service
393ms accounts-daemon.service
392ms gpu-manager.service
384ms wpa_supplicant.service
372ms rsyslog.service
344ms apparmor.service
268ms upower.service
224ms phpsessionclean.service
222ms systemd-fsck@dev-disk-by\x2duuid-B044\x2d884E.service
189ms thermald.service
187ms apport.service
177ms swapdosya.swap
175ms swapfile.swap
156ms alsa-restore.service
156ms keyboard-setup.service
155ms bluetooth.service
145ms systemd-rfkill.service
137ms systemd-udev-trigger.service
113ms systemd-journald.service
111ms polkit.service
lines 1-41

答案1

在我看来:

ahmet@ahmet:~$ systemd-analyze blame
30.049s NetworkManager-wait-online.service

您已将一个(或多个)网络接口配置为“ Require IPv4 (or IPv6) addressing for this connection to be complete”(在IPv4 SettingsIPv6 Settings`` tabs, or you've configured one of the "Automatic" choices in the常规`选项卡中;并且建立连接需要半分钟的时间。

您还应该查看journalctl -b 0并比较行间时间戳,以了解有关问题的更详细信息。

相关内容