I'm using Debian testing with Gnome. For some reason it takes around a three minutes to login, after I have typed in the password and pressed enter. What could the reason be? I would love to provide more details, but I have no idea about where to even start.
$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 klutt-desktop.klutt klutt-desktop # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
On demand 2:
$ systemd-analyze blame | head -n3 1min 25.769s ssh.service 6.764s NetworkManager-wait-online.service 612ms udisks2.service
Seems to be ssh. Checking journaltcl
$ sudo journalctl | grep ssh Dec 17 10:09:53 klutt-desktop systemd: Listening on GnuPG cryptographic agent (ssh-agent emulation). Dec 17 10:10:03 klutt-desktop systemd: Listening on GnuPG cryptographic agent (ssh-agent emulation). Dec 17 10:11:22 klutt-desktop systemd: ssh.service: Start-pre operation timed out. Terminating. Dec 17 10:11:22 klutt-desktop systemd: ssh.service: Failed with result 'timeout'. Dec 17 10:11:22 klutt-desktop systemd: ssh.service: Service RestartSec=100ms expired, scheduling restart. Dec 17 10:11:22 klutt-desktop systemd: ssh.service: Scheduled restart job, restart counter is at 1. Dec 17 10:12:48 klutt-desktop sshd: Server listening on 0.0.0.0 port 22. Dec 17 10:12:48 klutt-desktop sshd: Server listening on :: port 22. Dec 17 10:12:50 klutt-desktop gnome-keyring-ssh.desktop: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
A piece from journalctl from a later reboot, after I ran
systemctl disable ssh.service:
Dec 17 11:12:37 klutt-desktop systemd: Startup finished in 3.587s (kernel) + 13.916s (userspace) = 17.504s. Dec 17 11:12:56 klutt-desktop systemd-timesyncd: Synchronized to time server 18.104.22.168:123 (2.debian.pool. Dec 17 11:12:57 klutt-desktop dbus-daemon: [system] Failed to activate service 'org.bluez': timed out (service Dec 17 11:12:57 klutt-desktop pulseaudio: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freed Dec 17 11:13:33 klutt-desktop geoclue: Service not used for 60 seconds. Shutting down.. Dec 17 11:13:34 klutt-desktop realmd: quitting realmd service after timeout Dec 17 11:13:34 klutt-desktop realmd: stopping service Dec 17 11:15:17 klutt-desktop kernel: random: crng init done
geoclue and realmd seems to be candidates.