Slow login to desktop

Help with issues regarding installation of Debian

Slow login to desktop

Postby benj111 » 2020-04-26 11:07

Just done a new install of LXQT, and im getting a 20 second delay between login and the desktop being usable.

I've tried switching to LXDE and lightDM to see if it was either of those causing the issue.

this is the journalctl output from login to desktop
Code: Select all
Apr 26 12:22:06 ben-pc lightdm[651]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Apr 26 12:22:06 ben-pc systemd[1]: session-c1.scope: Killing process 587 (lightdm) with signal SIGTERM.
Apr 26 12:22:06 ben-pc systemd[1]: session-c1.scope: Killing process 603 (lightdm-gtk-gre) with signal SIGTERM.
Apr 26 12:22:06 ben-pc systemd[1]: session-c1.scope: Killing process 646 (uim-helper-serv) with signal SIGTERM.
Apr 26 12:22:06 ben-pc systemd[1]: Stopping Session c1 of user lightdm.
Apr 26 12:22:06 ben-pc lightdm[587]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Apr 26 12:22:06 ben-pc systemd[1]: session-c1.scope: Succeeded.
Apr 26 12:22:06 ben-pc systemd[1]: Stopped Session c1 of user lightdm.
Apr 26 12:22:06 ben-pc lightdm[651]: pam_unix(lightdm:session): session opened for user ben by (uid=0)
Apr 26 12:22:06 ben-pc systemd-logind[420]: Removed session c1.
Apr 26 12:22:06 ben-pc systemd[1]: Created slice User Slice of UID 1000.
Apr 26 12:22:06 ben-pc systemd[1]: Starting User Runtime Directory /run/user/1000...
Apr 26 12:22:06 ben-pc systemd-logind[420]: New session 2 of user ben.
Apr 26 12:22:06 ben-pc systemd[1]: Started User Runtime Directory /run/user/1000.
Apr 26 12:22:06 ben-pc systemd[1]: Starting User Manager for UID 1000...
Apr 26 12:22:06 ben-pc systemd[656]: pam_unix(systemd-user:session): session opened for user ben by (uid=0)
Apr 26 12:22:07 ben-pc systemd[656]: Listening on GnuPG network certificate management daemon.
Apr 26 12:22:07 ben-pc systemd[656]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Apr 26 12:22:07 ben-pc systemd[656]: Listening on Sound System.
Apr 26 12:22:07 ben-pc systemd[656]: Listening on GnuPG cryptographic agent and passphrase cache.
Apr 26 12:22:07 ben-pc systemd[656]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Apr 26 12:22:07 ben-pc systemd[656]: Reached target Timers.
Apr 26 12:22:07 ben-pc systemd[656]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Apr 26 12:22:07 ben-pc systemd[656]: Starting D-Bus User Message Bus Socket.
Apr 26 12:22:07 ben-pc systemd[656]: Reached target Paths.
Apr 26 12:22:07 ben-pc systemd[656]: Listening on D-Bus User Message Bus Socket.
Apr 26 12:22:07 ben-pc systemd[656]: Reached target Sockets.
Apr 26 12:22:07 ben-pc systemd[656]: Reached target Basic System.
Apr 26 12:22:07 ben-pc systemd[656]: Reached target Default.
Apr 26 12:22:07 ben-pc systemd[656]: Startup finished in 102ms.
Apr 26 12:22:07 ben-pc systemd[1]: Started User Manager for UID 1000.
Apr 26 12:22:07 ben-pc systemd[1]: Started Session 2 of user ben.
Apr 26 12:22:07 ben-pc systemd[656]: Started D-Bus User Message Bus.
Apr 26 12:22:09 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.4' (uid=1000 pid=734 comm="/usr/bin/ibus-daemon --daemonize --xim ")
Apr 26 12:22:09 ben-pc systemd[656]: Starting Virtual filesystem service...
Apr 26 12:22:09 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.gtk.vfs.Daemon'
Apr 26 12:22:09 ben-pc systemd[656]: Started Virtual filesystem service.
Apr 26 12:22:09 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating service name='org.freedesktop.portal.IBus' requested by ':1.4' (uid=1000 pid=734 comm="/usr/bin/ibus-daemon --daemonize --xim ")
Apr 26 12:22:09 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.freedesktop.portal.IBus'
Apr 26 12:22:09 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.9' (uid=1000 pid=754 comm="/usr/lib/ibus/ibus-ui-gtk3 ")
Apr 26 12:22:09 ben-pc systemd[656]: Starting Accessibility services bus...
Apr 26 12:22:10 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.a11y.Bus'
Apr 26 12:22:10 ben-pc systemd[656]: Started Accessibility services bus.
Apr 26 12:22:10 ben-pc at-spi-bus-launcher[766]: dbus-daemon[771]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=754 comm="/usr/lib/ibus/ibus-ui-gtk3 ")
Apr 26 12:22:10 ben-pc at-spi-bus-launcher[766]: dbus-daemon[771]: Successfully activated service 'org.a11y.atspi.Registry'
Apr 26 12:22:10 ben-pc at-spi-bus-launcher[766]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Apr 26 12:22:12 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating service name='org.xfce.Xfconf' requested by ':1.19' (uid=1000 pid=803 comm="/usr/bin/xfwm4 ")
Apr 26 12:22:12 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.xfce.Xfconf'
Apr 26 12:22:14 ben-pc polkitd(authority=local)[513]: Registered Authentication Agent for unix-session:2 (system bus name :1.28 [/usr/bin/lxqt-policykit-agent], object path /org/lxqt/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
Apr 26 12:22:14 ben-pc systemd[656]: Starting Sound Service...
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.23' (uid=1000 pid=820 comm="/usr/bin/pcmanfm-qt --desktop --profile=lxqt ")
Apr 26 12:22:15 ben-pc systemd[656]: Starting Virtual filesystem service - disk device monitor...
Apr 26 12:22:15 ben-pc dbus-daemon[422]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.29' (uid=1000 pid=860 comm="/usr/bin/pulseaudio --daemonize=no ")
Apr 26 12:22:15 ben-pc systemd[1]: Starting RealtimeKit Scheduling Policy Service...
Apr 26 12:22:15 ben-pc dbus-daemon[422]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Apr 26 12:22:15 ben-pc systemd[1]: Started RealtimeKit Scheduling Policy Service.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Successfully called chroot.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Successfully dropped privileges.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Successfully limited resources.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Running.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Watchdog thread running.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Canary thread running.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Successfully made thread 860 of process 860 (n/a) owned by '1000' high priority at nice level -11.
Apr 26 12:22:15 ben-pc rtkit-daemon[862]: Supervising 1 threads of 1 processes of 1 users.
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Apr 26 12:22:15 ben-pc systemd[656]: Started Virtual filesystem service - disk device monitor.
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.23' (uid=1000 pid=820 comm="/usr/bin/pcmanfm-qt --desktop --profile=lxqt ")
Apr 26 12:22:15 ben-pc systemd[656]: Starting Virtual filesystem service - Media Transfer Protocol monitor...
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
Apr 26 12:22:15 ben-pc systemd[656]: Started Virtual filesystem service - Media Transfer Protocol monitor.
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.23' (uid=1000 pid=820 comm="/usr/bin/pcmanfm-qt --desktop --profile=lxqt ")
Apr 26 12:22:15 ben-pc systemd[656]: Starting Virtual filesystem service - Apple File Conduit monitor...
Apr 26 12:22:15 ben-pc gvfs-afc-volume-monitor[872]: Volume monitor alive
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
Apr 26 12:22:15 ben-pc systemd[656]: Started Virtual filesystem service - Apple File Conduit monitor.
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.23' (uid=1000 pid=820 comm="/usr/bin/pcmanfm-qt --desktop --profile=lxqt ")
Apr 26 12:22:15 ben-pc systemd[656]: Starting Virtual filesystem service - GNOME Online Accounts monitor...
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Apr 26 12:22:15 ben-pc systemd[656]: Started Virtual filesystem service - GNOME Online Accounts monitor.
Apr 26 12:22:15 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by ':1.23' (uid=1000 pid=820 comm="/usr/bin/pcmanfm-qt --desktop --profile=lxqt ")
Apr 26 12:22:15 ben-pc systemd[656]: Starting Virtual filesystem service - digital camera monitor...
Apr 26 12:22:16 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
Apr 26 12:22:16 ben-pc systemd[656]: Started Virtual filesystem service - digital camera monitor.
Apr 26 12:22:17 ben-pc systemd[1]: Stopping User Manager for UID 115...
Apr 26 12:22:17 ben-pc systemd[591]: Stopped target Default.
Apr 26 12:22:17 ben-pc systemd[591]: Stopping Accessibility services bus...
Apr 26 12:22:17 ben-pc systemd[591]: Stopping D-Bus User Message Bus...
Apr 26 12:22:17 ben-pc systemd[591]: Stopping Virtual filesystem service...
Apr 26 12:22:17 ben-pc systemd[591]: at-spi-dbus-bus.service: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Stopped Accessibility services bus.
Apr 26 12:22:17 ben-pc systemd[591]: dbus.service: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Stopped D-Bus User Message Bus.
Apr 26 12:22:17 ben-pc systemd[591]: gvfs-daemon.service: Main process exited, code=killed, status=15/TERM
Apr 26 12:22:17 ben-pc systemd[656]: run-user-115-gvfs.mount: Succeeded.
Apr 26 12:22:17 ben-pc systemd[1]: run-user-115-gvfs.mount: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: run-user-115-gvfs.mount: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: gvfs-daemon.service: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Stopped Virtual filesystem service.
Apr 26 12:22:17 ben-pc systemd[591]: Stopped target Basic System.
Apr 26 12:22:17 ben-pc systemd[591]: Stopped target Paths.
Apr 26 12:22:17 ben-pc systemd[591]: Stopped target Sockets.
Apr 26 12:22:17 ben-pc systemd[591]: dbus.socket: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Closed D-Bus User Message Bus Socket.
Apr 26 12:22:17 ben-pc systemd[591]: pulseaudio.socket: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Closed Sound System.
Apr 26 12:22:17 ben-pc systemd[591]: gpg-agent-browser.socket: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Apr 26 12:22:17 ben-pc systemd[591]: gpg-agent.socket: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Closed GnuPG cryptographic agent and passphrase cache.
Apr 26 12:22:17 ben-pc systemd[591]: gpg-agent-ssh.socket: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Apr 26 12:22:17 ben-pc systemd[591]: dirmngr.socket: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Closed GnuPG network certificate management daemon.
Apr 26 12:22:17 ben-pc systemd[591]: gpg-agent-extra.socket: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Apr 26 12:22:17 ben-pc systemd[591]: Reached target Shutdown.
Apr 26 12:22:17 ben-pc systemd[591]: systemd-exit.service: Succeeded.
Apr 26 12:22:17 ben-pc systemd[591]: Started Exit the Session.
Apr 26 12:22:17 ben-pc systemd[591]: Reached target Exit the Session.
Apr 26 12:22:17 ben-pc systemd[591]: Stopped target Timers.
Apr 26 12:22:17 ben-pc systemd[592]: pam_unix(systemd-user:session): session closed for user lightdm
Apr 26 12:22:17 ben-pc systemd[1]: user@115.service: Succeeded.
Apr 26 12:22:17 ben-pc systemd[1]: Stopped User Manager for UID 115.
Apr 26 12:22:17 ben-pc systemd[1]: Stopping User Runtime Directory /run/user/115...
Apr 26 12:22:17 ben-pc systemd[1]: run-user-115.mount: Succeeded.
Apr 26 12:22:17 ben-pc systemd[656]: run-user-115.mount: Succeeded.
Apr 26 12:22:17 ben-pc systemd[1]: user-runtime-dir@115.service: Succeeded.
Apr 26 12:22:17 ben-pc systemd[1]: Stopped User Runtime Directory /run/user/115.
Apr 26 12:22:17 ben-pc systemd[1]: Removed slice User Slice of UID 115.
Apr 26 12:22:21 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Activating service name='org.kde.kglobalaccel' requested by ':1.36' (uid=1000 pid=807 comm="/usr/bin/yakuake ")
Apr 26 12:22:21 ben-pc dbus-daemon[681]: [session uid=1000 pid=681] Successfully activated service 'org.kde.kglobalaccel'
Apr 26 12:22:25 ben-pc rtkit-daemon[862]: Supervising 1 threads of 1 processes of 1 users.
Apr 26 12:22:25 ben-pc rtkit-daemon[862]: Successfully made thread 906 of process 860 (n/a) owned by '1000' RT at priority 5.
Apr 26 12:22:25 ben-pc rtkit-daemon[862]: Supervising 2 threads of 1 processes of 1 users.
Apr 26 12:22:25 ben-pc rtkit-daemon[862]: Supervising 2 threads of 1 processes of 1 users.
Apr 26 12:22:25 ben-pc rtkit-daemon[862]: Successfully made thread 907 of process 860 (n/a) owned by '1000' RT at priority 5.
Apr 26 12:22:25 ben-pc rtkit-daemon[862]: Supervising 3 threads of 1 processes of 1 users.
Apr 26 12:22:26 ben-pc systemd[656]: Started Sound Service.
Apr 26 12:22:27 ben-pc dbus-daemon[422]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.35' (uid=1000 pid=823 comm="/usr/bin/lxqt-panel ")
Apr 26 12:22:27 ben-pc systemd[1]: Starting Daemon for power management...
Apr 26 12:22:27 ben-pc dbus-daemon[422]: [system] Successfully activated service 'org.freedesktop.UPower'
Apr 26 12:22:27 ben-pc systemd[1]: Started Daemon for power management.
Apr 26 12:22:27 ben-pc ofonod[426]: parse_devices_reply: found 1st battery device: /org/freedesktop/UPower/devices/battery_BAT1
Apr 26 12:22:48 ben-pc sudo[941]:      ben : TTY=pts/0 ; PWD=/home/ben ; USER=root ; COMMAND=/usr/bin/journalctl
Apr 26 12:22:48 ben-pc sudo[941]: pam_unix(sudo:session): session opened for user root by ben(uid=0)
Apr 26 12:30:01 ben-pc CRON[1219]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 26 12:30:01 ben-pc CRON[1220]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Apr 26 12:30:01 ben-pc CRON[1219]: pam_unix(cron:session): session closed for user root
Apr 26 12:31:32 ben-pc sudo[941]: pam_unix(sudo:session): session closed for user root
Apr 26 12:32:04 ben-pc sudo[1348]:      ben : TTY=pts/0 ; PWD=/home/ben ; USER=root ; COMMAND=/usr/bin/journalctl
Apr 26 12:32:04 ben-pc sudo[1348]: pam_unix(sudo:session): session opened for user root by ben(uid=0)


Considering I've moved from a single core celeron with shonky ex #! linux install to a shiny new (to me) quad core I3 on a clean install, I'd have expected a performance improvement even though, yes, this is probably more IO bottlenecked than processor bottlenecked.
benj111
 
Posts: 1
Joined: 2020-04-26 10:39

Re: Slow login to desktop

Postby pylkko » 2020-04-26 18:28

anacron?

did you try

systemd-anayze, you can use it to analyze what is the time spent doing what specific things during boot.
see man systemd-analyze
User avatar
pylkko
 
Posts: 1793
Joined: 2014-11-06 19:02

Re: Slow login to desktop

Postby Head_on_a_Stick » 2020-04-27 09:09

Do you still see a delay if you drop the display manager? See viewtopic.php?f=16&t=123694 for the method (which has the added benefit of running X under the normal user instead of the root user).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12821
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Installation

Who is online

Users browsing this forum: No registered users and 17 guests

fashionable