로그인 속도가 매우 느리고 검은 화면이 나타납니다.

로그인 속도가 매우 느리고 검은 화면이 나타납니다.

KDE가 설치된 데비안이 있고 가장 최근 로그인 시간을 제외하고는 모든 것이 정상입니다. 컴퓨터를 시작하는 데는 문제가 없으며 특별한 지연도 없습니다. 하지만 비밀번호를 입력하고 "Enter"를 누르면 검은색 화면이 나타나고 2분 정도 지연된 후 시작 화면이 나타나고 세션이 올바르게 시작됩니다. 나는 이 2분 지연에 대한 설명을 찾으려고 노력했지만 아무것도 얻지 못했습니다.

제가 현재 M.2 SSD를 사용하고 있다는 점은 주목할 가치가 있는데, 이로 인해 대기 시간이 매우 이례적입니다. 스플래시 화면을 비활성화해 보았으나 아무런 변화가 없었습니다. lightdm에서 sddm으로 전환을 시도했지만 아무 것도 변경되지 않았습니다.

systemd-analyze평범하지 않은 것을 반환하지 않는 것 같습니다.

Startup finished in 37.061s (firmware) + 6.377s (loader) + 4.699s (kernel) + 9.528s (userspace) = 57.666s 
graphical.target reached after 9.489s in userspace

KSystemLog를 설치했는데 로그인할 때의 로그입니다.

2021-08-09 11:31 A.M.   systemd Closed Sound System.
2021-08-09 11:31 A.M.   systemd snapd.session-agent.socket: Succeeded.
2021-08-09 11:31 A.M.   systemd Closed REST API socket for snapd user session agent.
2021-08-09 11:31 A.M.   systemd Removed slice User Application Slice.
2021-08-09 11:31 A.M.   systemd Reached target Shutdown.
2021-08-09 11:31 A.M.   systemd systemd-exit.service: Succeeded.
2021-08-09 11:31 A.M.   systemd Finished Exit the Session.
2021-08-09 11:31 A.M.   systemd Reached target Exit the Session.
2021-08-09 11:31 A.M.   systemd [email protected]: Succeeded.
2021-08-09 11:31 A.M.   systemd Stopped User Manager for UID 117.
2021-08-09 11:31 A.M.   systemd Stopping User Runtime Directory /run/user/117...
2021-08-09 11:31 A.M.   systemd run-user-117.mount: Succeeded.
2021-08-09 11:31 A.M.   systemd run-user-117.mount: Succeeded.
2021-08-09 11:31 A.M.   systemd [email protected]: Succeeded.
2021-08-09 11:31 A.M.   systemd Stopped User Runtime Directory /run/user/117.
2021-08-09 11:31 A.M.   systemd Removed slice User Slice of UID 117.
2021-08-09 11:31 A.M.   systemd user-117.slice: Consumed 1.303s CPU time.
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Activating service name='org.kde.KSplash' requested by ':1.9' (uid=1000 pid=2387 comm="/usr/bin/startplasma-x11 ")
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Successfully activated service 'org.kde.KSplash'
2021-08-09 11:33 A.M.   dbus-daemon [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.63' (uid=1000 pid=2506 comm="/usr/bin/kded5 ")
2021-08-09 11:33 A.M.   systemd Starting Daemon for power management...
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Activating service name='org.kde.ActivityManager' requested by ':1.16' (uid=1000 pid=2511 comm="/usr/bin/kwin_x11 ")
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Successfully activated service 'org.kde.ActivityManager'
2021-08-09 11:33 A.M.   dbus-daemon [system] Successfully activated service 'org.freedesktop.UPower'
2021-08-09 11:33 A.M.   systemd Started Daemon for power management.
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Activating via systemd: service name='org.kde.kglobalaccel' unit='plasma-kglobalaccel.service' requested by ':1.17' (uid=1000 pid=2561 comm="/usr/lib/x86_64-linux-gnu/libexec/kactivitymanager")
2021-08-09 11:33 A.M.   systemd Created slice User Background Tasks Slice.
2021-08-09 11:33 A.M.   systemd Starting KDE Global Shortcuts Server...
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Successfully activated service 'org.kde.kglobalaccel'
2021-08-09 11:33 A.M.   systemd Started KDE Global Shortcuts Server.
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Activating service name='ca.desrt.dconf' requested by ':1.20' (uid=1000 pid=2506 comm="/usr/bin/kded5 ")
2021-08-09 11:33 A.M.   dbus-daemon [session uid=1000 pid=2380] Successfully activated service 'ca.desrt.dconf'

답변1

느린 로그인 문제를 볼 때마다 DNS를 비난합니다. /etc/resolv.conf를 확인하고 IP가 유효한지 확인하세요.

관련 정보