![ubuntu 22.04 图形会话启动缓慢 - 如何改进](https://linux22.com/image/1199094/ubuntu%2022.04%20%E5%9B%BE%E5%BD%A2%E4%BC%9A%E8%AF%9D%E5%90%AF%E5%8A%A8%E7%BC%93%E6%85%A2%20-%20%E5%A6%82%E4%BD%95%E6%94%B9%E8%BF%9B.png)
我希望从“开机”到“登录并准备启动应用程序”的时间更短。主要的“耗时”似乎是启动 gdm 和/或 gnome-shell。我说得对吗?如果正确,为什么 gnome 启动需要那么长时间?有什么办法吗(除了购买更新/更好的硬件)?:)
非常感谢您的帮助/想法/建议!:D
## hardware: ##
laptop multi-boot (win10/linux)
core i3-4005U CPU @ 1.70GHz
8GB memory
mechanical HD (no SSD)
## critycal chain: ##
graphical.target @1min 42.018s
└─multi-user.target @1min 42.017s
└─plymouth-quit-wait.service @44.318s +57.698s
└─systemd-user-sessions.service @44.254s +58ms
└─network.target @44.192s
└─NetworkManager.service @34.344s +9.846s
└─dbus.service @34.339s
└─basic.target @34.276s
└─sockets.target @34.276s
└─snapd.socket @34.234s +41ms
└─sysinit.target @34.104s
└─systemd-timesyncd.service @1min 17.327s +126ms
└─systemd-tmpfiles-setup.service @30.356s +1.012s
└─local-fs.target @30.095s
└─snap-cups-980.mount @1min 34.443s +26ms
└─local-fs-pre.target @9.513s
└─systemd-tmpfiles-setup-dev.service @8.179s +1.334s
└─systemd-sysusers.service @4.665s +3.485s
└─systemd-remount-fs.service @4.468s +168ms
└─systemd-journald.socket @4.354s
└─system.slice @4.327s
└─-.slice @4.327s
## blame: ##
57.698s plymouth-quit-wait.service
46.023s dev-loop11.device
42.884s e2scrub_reap.service
23.673s systemd-journal-flush.service
21.921s snapd.service
21.346s apt-daily-upgrade.service
18.956s dev-sda6.device
18.529s networkd-dispatcher.service
15.345s accounts-daemon.service
14.366s fwupd.service
13.852s cups.service