You are not logged in.

#1 2025-04-10 05:56:09

js
Member
Registered: 2025-04-10
Posts: 5

Slow logout

Hi,

I installed a Bunsenlabs on my old PC and it runs great, but I have one minor problem that I am wresteling with.  When I logout it takes about 3-4 minutes for me to logout. It displays only the cursor and wallpaper for several minutes, before showing the login screen.

1) Rebooting takes seconds
2) a restart of LightDM (sudo systemctl restart lightdm) restarts also right away.
3) I  can't see any obvious processes that are taking up CPU time.
4) I also tried reinstalling lightdm, but the problem presisted
5) Logout on TTY1 works straight away too.

Does anyone know what would cause this delay or in what direction I should be looking?

Offline

#2 2025-04-10 07:44:53

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: Slow logout

Hi js, welcome to the forum. smile

This looks like a mysterious longstanding issue with lightdm. It hits me sometimes too - but not on every logout.
You seem to have tried the usual workarounds.
I sometimes find that switching to a different TTY and back to TTY7 works, sometimes I lose patience and run 'systemctl reboot' on another TTY (in fact 'sudo systemctl restart lightdm' ought to work better), sometimes the login screen is there but black and invisible, and sometimes the login screen does finally show up, after yes 3-4 minutes. roll

Personally I seldom log out, but go directly to shutdown, but this will be annoying for people on multi-user systems.

Anyone who has found a better workaround, please post!


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2025-04-10 09:34:50

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,694

Re: Slow logout

That is interesting.
I know these problems (with systemd?) from siduction a few years ago.

I suggest two things to narrow it down:
1. the following entry should be in /etc/default/grub so that the logoff and login messages are visible.

GRUB_CMDLINE_LINUX_DEFAULT=“quiet systemd.show_status=1”

instead of

GRUB_CMDLINE_LINUX_DEFAULT=“quiet”

2. If the error has occurred, check the last journal messages after the restart.

journalctl -b -1 -e

The -e causes the output to jump to the end.

A good candidate for the error are also incorrect entries in the fstab.  wink

Offline

#4 2025-04-10 12:30:04

js
Member
Registered: 2025-04-10
Posts: 5

Re: Slow logout

Thank you both for your reply.

My logout takes +/- 2.5 minutes. A full reboot takes 30sec.

The command "journalctl | grep CPU" shows that when logging there are delays:

Apr 11 09:14:30 PC systemd[1]: session-5.scope: Consumed 50.702s CPU time.
Apr 11 09:14:40 PC systemd[1882]: app.slice: Consumed 8.819s CPU time.
Apr 11 09:14:40 PC systemd[1]: user@1000.service: Consumed 9.690s CPU time.
Apr 11 09:14:40 PC systemd[1]: user-1000.slice: Consumed 1min 412ms CPU time.
Apr 11 09:14:45 PC systemd[1]: session-c3.scope: Consumed 1.116s CPU time.
Apr 11 09:14:55 PC systemd[1]: user-103.slice: Consumed 1.626s CPU time.

An interesting note is that within the live-cd environment the login / logout functions works fine and takes only a second or so. smile

Last edited by js (2025-04-10 23:21:48)

Offline

#5 2025-04-13 18:56:23

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Slow logout

Filtering the journal misses important context. If you share a full journal (from a brief single boot) we might be able to spot something relevant.

Offline

#6 2025-04-13 22:28:19

js
Member
Registered: 2025-04-10
Posts: 5

Re: Slow logout

This is the output of the logout.

Apr 14 08:19:49 PC systemd[1]: Stopping session-5.scope - Session 5 of User jorgen...
Apr 14 08:19:49 PC polkitd[707]: Unregistered Authentication Agent for unix-session:5 (system bus name :1.125, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_AU.UTF-8) (disconnected from bus)
Apr 14 08:19:49 PC systemd[1025]: app-com.google.Chrome-2568.scope: Consumed 17.198s CPU time.
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/ldac_hq
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/ldac_sq
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/ldac_mq
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSink/aptx_hd
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/aptx_hd
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSink/aptx
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/aptx
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSink/sbc
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/sbc
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Apr 14 08:19:49 PC bluetoothd[699]: Endpoint unregistered: sender=:1.152 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Apr 14 08:21:19 PC systemd[1]: session-5.scope: Stopping timed out. Killing.
Apr 14 08:21:19 PC systemd[1]: session-5.scope: Killing process 1847 (lightdm) with signal SIGKILL.
Apr 14 08:21:19 PC systemd[1]: session-5.scope: Killing process 1860 (openbox) with signal SIGKILL.
Apr 14 08:21:19 PC systemd[1]: session-5.scope: Killing process 1857 (gdbus) with signal SIGKILL.
Apr 14 08:21:19 PC systemd[1]: session-5.scope: Failed with result 'timeout'.
Apr 14 08:21:19 PC systemd[1]: Stopped session-5.scope - Session 5 of User jorgen.
Apr 14 08:21:19 PC systemd[1]: session-5.scope: Consumed 2min 36.196s CPU time.
Apr 14 08:21:19 PC systemd-logind[711]: Removed session 5.
Apr 14 08:21:19 PC at-spi-bus-launcher[1967]: X connection to :0 broken (explicit kill or server shutdown).
Apr 14 08:21:19 PC systemd[1025]: xfce4-notifyd.service: Main process exited, code=exited, status=1/FAILURE
Apr 14 08:21:19 PC systemd[1025]: xfce4-notifyd.service: Failed with result 'exit-code'.
Apr 14 08:21:20 PC lightdm[3464]: 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 14 08:21:20 PC lightdm[3464]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=103) by (uid=0)
Apr 14 08:21:20 PC systemd[1]: Created slice user-103.slice - User Slice of UID 103.
Apr 14 08:21:20 PC systemd[1]: Starting user-runtime-dir@103.service - User Runtime Directory /run/user/103...
Apr 14 08:21:20 PC systemd-logind[711]: New session c3 of user lightdm.
Apr 14 08:21:20 PC systemd[1]: Finished user-runtime-dir@103.service - User Runtime Directory /run/user/103.
Apr 14 08:21:20 PC systemd[1]: Starting user@103.service - User Manager for UID 103...
Apr 14 08:21:20 PC (systemd)[3468]: pam_unix(systemd-user:session): session opened for user lightdm(uid=103) by (uid=0)
Apr 14 08:21:20 PC systemd[3468]: Queued start job for default target default.target.
Apr 14 08:21:20 PC systemd[3468]: Created slice app.slice - User Application Slice.
Apr 14 08:21:20 PC systemd[3468]: Created slice session.slice - User Core Session Slice.
Apr 14 08:21:20 PC systemd[3468]: Started bunsen-apt-update-checker.timer - Run bl-apt-update-check 10min after login and daily thereafter..
Apr 14 08:21:20 PC systemd[3468]: Reached target paths.target - Paths.
Apr 14 08:21:20 PC systemd[3468]: Reached target timers.target - Timers.
Apr 14 08:21:20 PC systemd[3468]: Starting dbus.socket - D-Bus User Message Bus Socket...
Apr 14 08:21:20 PC systemd[3468]: Listening on dirmngr.socket - GnuPG network certificate management daemon.
Apr 14 08:21:20 PC systemd[3468]: Listening on gcr-ssh-agent.socket - GCR ssh-agent wrapper.
Apr 14 08:21:20 PC systemd[3468]: Listening on gnome-keyring-daemon.socket - GNOME Keyring daemon.
Apr 14 08:21:20 PC systemd[3468]: Listening on gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Apr 14 08:21:20 PC systemd[3468]: Listening on gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Apr 14 08:21:20 PC systemd[3468]: Listening on gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Apr 14 08:21:20 PC systemd[3468]: Listening on gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Apr 14 08:21:20 PC systemd[3468]: Listening on pk-debconf-helper.socket - debconf communication socket.
Apr 14 08:21:20 PC systemd[3468]: Listening on pulseaudio.socket - Sound System.
Apr 14 08:21:20 PC systemd[3468]: Listening on dbus.socket - D-Bus User Message Bus Socket.
Apr 14 08:21:20 PC systemd[3468]: Reached target sockets.target - Sockets.
Apr 14 08:21:20 PC systemd[3468]: Reached target basic.target - Basic System.
Apr 14 08:21:20 PC systemd[1]: Started user@103.service - User Manager for UID 103.
Apr 14 08:21:20 PC systemd[3468]: Starting pulseaudio.service - Sound Service...
Apr 14 08:21:20 PC systemd[1]: Started session-c3.scope - Session c3 of User lightdm.
Apr 14 08:21:20 PC systemd[3468]: Starting dbus.service - D-Bus User Message Bus...
Apr 14 08:21:20 PC systemd[3468]: Started dbus.service - D-Bus User Message Bus.
Apr 14 08:21:20 PC dbus-daemon[3488]: [session uid=103 pid=3488] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.2' (uid=103 pid=3486 comm="/usr/sbin/lightdm-gtk-greeter")
Apr 14 08:21:20 PC systemd[3468]: Starting at-spi-dbus-bus.service - Accessibility services bus...
Apr 14 08:21:20 PC dbus-daemon[3488]: [session uid=103 pid=3488] Successfully activated service 'org.a11y.Bus'
Apr 14 08:21:20 PC systemd[3468]: Started at-spi-dbus-bus.service - Accessibility services bus.
Apr 14 08:21:20 PC dbus-daemon[3488]: [session uid=103 pid=3488] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.5' (uid=103 pid=3486 comm="/usr/sbin/lightdm-gtk-greeter")
Apr 14 08:21:20 PC systemd[3468]: Starting gvfs-daemon.service - Virtual filesystem service...
Apr 14 08:21:20 PC dbus-daemon[3488]: [session uid=103 pid=3488] Successfully activated service 'org.gtk.vfs.Daemon'
Apr 14 08:21:20 PC systemd[3468]: Started gvfs-daemon.service - Virtual filesystem service.
Apr 14 08:21:20 PC systemd[3468]: Started pulseaudio.service - Sound Service.
Apr 14 08:21:20 PC systemd[3468]: Reached target default.target - Main User Target.
Apr 14 08:21:20 PC systemd[3468]: Startup finished in 651ms.
Apr 14 08:21:20 PC pulseaudio[3485]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/ldac_hq
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/ldac_sq
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/ldac_mq
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSink/aptx_hd
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/aptx_hd
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSink/aptx
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/aptx
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Apr 14 08:21:20 PC bluetoothd[699]: Endpoint registered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Apr 14 08:21:21 PC at-spi-bus-launcher[3497]: dbus-daemon[3497]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=103 pid=3486 comm="/usr/sbin/lightdm-gtk-greeter")
Apr 14 08:21:21 PC at-spi-bus-launcher[3497]: dbus-daemon[3497]: Successfully activated service 'org.a11y.atspi.Registry'
Apr 14 08:21:21 PC at-spi-bus-launcher[3542]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Apr 14 08:21:29 PC systemd[1]: Stopping user@1000.service - User Manager for UID 1000...
Apr 14 08:21:29 PC systemd[1025]: Activating special unit exit.target...
Apr 14 08:21:29 PC systemd[1025]: Stopped target default.target - Main User Target.
Apr 14 08:21:29 PC systemd[1025]: Stopping at-spi-dbus-bus.service - Accessibility services bus...
Apr 14 08:21:29 PC at-spi-bus-launcher[1164]: Invalid MIT-MAGIC-COOKIE-1 key
Apr 14 08:21:29 PC gvfsd[1135]: A connection to the bus can't be made
Apr 14 08:21:29 PC systemd[1025]: Stopping dbus.service - D-Bus User Message Bus...
Apr 14 08:21:29 PC systemd[1025]: Stopping dconf.service - User preferences database...
Apr 14 08:21:29 PC systemd[1025]: Stopping gnome-keyring-daemon.service - GNOME Keyring daemon...
Apr 14 08:21:29 PC systemd[1025]: Stopping gvfs-daemon.service - Virtual filesystem service...
Apr 14 08:21:29 PC systemd[1025]: Stopping obex.service - Bluetooth OBEX service...
Apr 14 08:21:29 PC systemd[1025]: Stopped gnome-keyring-daemon.service - GNOME Keyring daemon.
Apr 14 08:21:29 PC systemd[1]: run-user-1000-gvfs.mount: Deactivated successfully.
Apr 14 08:21:29 PC systemd[1025]: Stopped dbus.service - D-Bus User Message Bus.
Apr 14 08:21:29 PC systemd[1025]: Stopped gvfs-daemon.service - Virtual filesystem service.
Apr 14 08:21:29 PC systemd[1025]: Stopped at-spi-dbus-bus.service - Accessibility services bus.
Apr 14 08:21:29 PC systemd[1025]: Stopped dconf.service - User preferences database.
Apr 14 08:21:29 PC systemd[1025]: obex.service: Main process exited, code=exited, status=1/FAILURE
Apr 14 08:21:29 PC systemd[1025]: obex.service: Failed with result 'exit-code'.
Apr 14 08:21:29 PC systemd[1025]: Stopped obex.service - Bluetooth OBEX service.
Apr 14 08:21:29 PC systemd[1025]: Removed slice session.slice - User Core Session Slice.
Apr 14 08:21:29 PC systemd[1025]: session.slice: Consumed 1.340s CPU time.
Apr 14 08:21:29 PC systemd[1025]: Stopped target basic.target - Basic System.
Apr 14 08:21:29 PC systemd[1025]: Stopped target paths.target - Paths.
Apr 14 08:21:29 PC systemd[1025]: Stopped target sockets.target - Sockets.
Apr 14 08:21:29 PC systemd[1025]: Stopped target timers.target - Timers.
Apr 14 08:21:29 PC systemd[1025]: Stopped bunsen-apt-update-checker.timer - Run bl-apt-update-check 10min after login and daily thereafter..
Apr 14 08:21:29 PC systemd[1025]: Closed dbus.socket - D-Bus User Message Bus Socket.
Apr 14 08:21:29 PC systemd[1025]: Closed dirmngr.socket - GnuPG network certificate management daemon.
Apr 14 08:21:29 PC systemd[1025]: Closed gcr-ssh-agent.socket - GCR ssh-agent wrapper.
Apr 14 08:21:29 PC systemd[1025]: Closed gnome-keyring-daemon.socket - GNOME Keyring daemon.
Apr 14 08:21:29 PC systemd[1025]: Closed gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Apr 14 08:21:29 PC systemd[1025]: Closed gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Apr 14 08:21:29 PC systemd[1025]: Closed gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Apr 14 08:21:29 PC systemd[1025]: Closed gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Apr 14 08:21:29 PC systemd[1025]: Closed pk-debconf-helper.socket - debconf communication socket.
Apr 14 08:21:29 PC systemd[1025]: Closed pulseaudio.socket - Sound System.
Apr 14 08:21:29 PC systemd[1025]: Removed slice app.slice - User Application Slice.
Apr 14 08:21:29 PC systemd[1025]: app.slice: Consumed 17.679s CPU time.
Apr 14 08:21:29 PC systemd[1025]: Reached target shutdown.target - Shutdown.
Apr 14 08:21:29 PC systemd[1025]: Finished systemd-exit.service - Exit the Session.
Apr 14 08:21:29 PC systemd[1025]: Reached target exit.target - Exit the Session.
Apr 14 08:21:29 PC systemd[1]: user@1000.service: Deactivated successfully.
Apr 14 08:21:29 PC systemd[1]: Stopped user@1000.service - User Manager for UID 1000.
Apr 14 08:21:29 PC systemd[1]: user@1000.service: Consumed 19.251s CPU time.
Apr 14 08:21:29 PC systemd[1]: Stopping user-runtime-dir@1000.service - User Runtime Directory /run/user/1000...
Apr 14 08:21:29 PC systemd[1]: run-user-1000.mount: Deactivated successfully.
Apr 14 08:21:29 PC systemd[1]: user-runtime-dir@1000.service: Deactivated successfully.
Apr 14 08:21:29 PC systemd[1]: Stopped user-runtime-dir@1000.service - User Runtime Directory /run/user/1000.
Apr 14 08:21:29 PC systemd[1]: Removed slice user-1000.slice - User Slice of UID 1000.
Apr 14 08:21:29 PC systemd[1]: user-1000.slice: Consumed 3min 11.815s CPU time.
Apr 14 08:21:36 PC lightdm[3540]: gkr-pam: unable to locate daemon control file
Apr 14 08:21:36 PC lightdm[3540]: gkr-pam: stashed password to try later in open session
Apr 14 08:21:36 PC lightdm[3540]: 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 14 08:21:37 PC systemd[1]: Stopping session-c3.scope - Session c3 of User lightdm...
Apr 14 08:21:37 PC lightdm[3464]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Apr 14 08:21:37 PC systemd[1]: session-c3.scope: Deactivated successfully.
Apr 14 08:21:37 PC systemd[1]: Stopped session-c3.scope - Session c3 of User lightdm.
Apr 14 08:21:37 PC systemd[1]: session-c3.scope: Consumed 1.382s CPU time.
Apr 14 08:21:37 PC systemd-logind[711]: Removed session c3.
Apr 14 08:21:37 PC lightdm[3540]: pam_unix(lightdm:session): session opened for user jorgen(uid=1000) by (uid=0)
Apr 14 08:21:37 PC pulseaudio[3485]: Error opening PCM device front:0: No such file or directory
Apr 14 08:21:37 PC pulseaudio[3485]: Error opening PCM device front:2: No such file or directory
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/ldac_hq
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/ldac_sq
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/ldac_mq
Apr 14 08:21:37 PC systemd[1]: Created slice user-1000.slice - User Slice of UID 1000.
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSink/aptx_hd
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/aptx_hd
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSink/aptx
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/aptx
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint unregistered: sender=:1.186 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Apr 14 08:21:37 PC systemd[1]: Starting user-runtime-dir@1000.service - User Runtime Directory /run/user/1000...
Apr 14 08:21:37 PC systemd-logind[711]: New session 8 of user jorgen.
Apr 14 08:21:37 PC systemd[1]: Finished user-runtime-dir@1000.service - User Runtime Directory /run/user/1000.
Apr 14 08:21:37 PC systemd[1]: Starting user@1000.service - User Manager for UID 1000...
Apr 14 08:21:37 PC (systemd)[3563]: pam_unix(systemd-user:session): session opened for user jorgen(uid=1000) by (uid=0)
Apr 14 08:21:37 PC systemd[3563]: Queued start job for default target default.target.
Apr 14 08:21:37 PC systemd[3563]: Created slice app.slice - User Application Slice.
Apr 14 08:21:37 PC systemd[3563]: Created slice session.slice - User Core Session Slice.
Apr 14 08:21:37 PC systemd[3563]: Started bunsen-apt-update-checker.timer - Run bl-apt-update-check 10min after login and daily thereafter..
Apr 14 08:21:37 PC systemd[3563]: Reached target paths.target - Paths.
Apr 14 08:21:37 PC systemd[3563]: Reached target timers.target - Timers.
Apr 14 08:21:37 PC systemd[3563]: Starting dbus.socket - D-Bus User Message Bus Socket...
Apr 14 08:21:37 PC systemd[3563]: Listening on dirmngr.socket - GnuPG network certificate management daemon.
Apr 14 08:21:37 PC systemd[3563]: Listening on gcr-ssh-agent.socket - GCR ssh-agent wrapper.
Apr 14 08:21:37 PC systemd[3563]: Listening on gnome-keyring-daemon.socket - GNOME Keyring daemon.
Apr 14 08:21:37 PC systemd[3563]: Listening on gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Apr 14 08:21:37 PC systemd[3563]: Listening on gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Apr 14 08:21:37 PC systemd[3563]: Listening on gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Apr 14 08:21:37 PC systemd[3563]: Listening on gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Apr 14 08:21:37 PC systemd[3563]: Listening on pk-debconf-helper.socket - debconf communication socket.
Apr 14 08:21:37 PC systemd[3563]: Listening on pulseaudio.socket - Sound System.
Apr 14 08:21:37 PC systemd[3563]: Listening on dbus.socket - D-Bus User Message Bus Socket.
Apr 14 08:21:37 PC systemd[3563]: Reached target sockets.target - Sockets.
Apr 14 08:21:37 PC systemd[3563]: Reached target basic.target - Basic System.
Apr 14 08:21:37 PC systemd[1]: Started user@1000.service - User Manager for UID 1000.
Apr 14 08:21:37 PC systemd[3563]: Starting pulseaudio.service - Sound Service...
Apr 14 08:21:37 PC systemd[1]: Started session-8.scope - Session 8 of User jorgen.
Apr 14 08:21:37 PC systemd[3563]: Started gnome-keyring-daemon.service - GNOME Keyring daemon.
Apr 14 08:21:37 PC gnome-keyring-daemon[3581]: GNOME_KEYRING_CONTROL=/run/user/1000/keyring
Apr 14 08:21:37 PC systemd[3563]: Starting dbus.service - D-Bus User Message Bus...
Apr 14 08:21:37 PC systemd[3563]: Started dbus.service - D-Bus User Message Bus.
Apr 14 08:21:37 PC lightdm[3540]: gkr-pam: unlocked login keyring
Apr 14 08:21:37 PC gnome-keyring-daemon[3581]: The Secret Service was already initialized
Apr 14 08:21:37 PC gnome-keyring-daemon[3581]: The PKCS#11 component was already initialized
Apr 14 08:21:37 PC gnome-keyring-d[3581]: The Secret Service was already initialized
Apr 14 08:21:37 PC gnome-keyring-daemon[3665]: discover_other_daemon: 1
Apr 14 08:21:37 PC gnome-keyring-d[3581]: The PKCS#11 component was already initialized
Apr 14 08:21:37 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.7' (uid=1000 pid=3662 comm="/usr/bin/ibus-daemon --daemonize --xim")
Apr 14 08:21:37 PC systemd[3563]: Starting gvfs-daemon.service - Virtual filesystem service...
Apr 14 08:21:37 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Successfully activated service 'org.gtk.vfs.Daemon'
Apr 14 08:21:37 PC systemd[3563]: Started gvfs-daemon.service - Virtual filesystem service.
Apr 14 08:21:37 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Activating service name='org.freedesktop.portal.IBus' requested by ':1.7' (uid=1000 pid=3662 comm="/usr/bin/ibus-daemon --daemonize --xim")
Apr 14 08:21:37 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Successfully activated service 'org.freedesktop.portal.IBus'
Apr 14 08:21:37 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.12' (uid=1000 pid=3682 comm="/usr/libexec/ibus-x11 --kill-daemon")
Apr 14 08:21:37 PC systemd[3563]: Starting at-spi-dbus-bus.service - Accessibility services bus...
Apr 14 08:21:37 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Successfully activated service 'org.a11y.Bus'
Apr 14 08:21:37 PC systemd[3563]: Started at-spi-dbus-bus.service - Accessibility services bus.
Apr 14 08:21:37 PC at-spi-bus-launcher[3705]: dbus-daemon[3705]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=3682 comm="/usr/libexec/ibus-x11 --kill-daemon")
Apr 14 08:21:37 PC at-spi-bus-launcher[3705]: dbus-daemon[3705]: Successfully activated service 'org.a11y.atspi.Registry'
Apr 14 08:21:37 PC at-spi-bus-launcher[3713]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Apr 14 08:21:37 PC polkitd[707]: Registered Authentication Agent for unix-session:8 (system bus name :1.211 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_AU.UTF-8)
Apr 14 08:21:37 PC systemd[3563]: Started pulseaudio.service - Sound Service.
Apr 14 08:21:37 PC systemd[3563]: Reached target default.target - Main User Target.
Apr 14 08:21:37 PC systemd[3563]: Startup finished in 631ms.
Apr 14 08:21:37 PC pulseaudio[3579]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/ldac_hq
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/ldac_sq
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/ldac_mq
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSink/aptx_hd
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/aptx_hd
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSink/aptx
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/aptx
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSink/sbc
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/sbc
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Apr 14 08:21:37 PC bluetoothd[699]: Endpoint registered: sender=:1.217 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Apr 14 08:21:38 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Activating service name='org.xfce.Xfconf' requested by ':1.23' (uid=1000 pid=3793 comm="thunar --daemon")
Apr 14 08:21:38 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Successfully activated service 'org.xfce.Xfconf'
Apr 14 08:21:38 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Activating via systemd: service name='ca.desrt.dconf' unit='dconf.service' requested by ':1.27' (uid=1000 pid=3821 comm="light-locker")
Apr 14 08:21:38 PC systemd[3563]: Starting dconf.service - User preferences database...
Apr 14 08:21:38 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Successfully activated service 'ca.desrt.dconf'
Apr 14 08:21:38 PC systemd[3563]: Started dconf.service - User preferences database.
Apr 14 08:21:38 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Activating via systemd: service name='org.freedesktop.Notifications' unit='xfce4-notifyd.service' requested by ':1.30' (uid=1000 pid=3818 comm="xfce4-power-manager")
Apr 14 08:21:38 PC systemd[3563]: Starting xfce4-notifyd.service - XFCE notifications service...
Apr 14 08:21:39 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Successfully activated service 'org.freedesktop.Notifications'
Apr 14 08:21:39 PC systemd[3563]: Started xfce4-notifyd.service - XFCE notifications service.
Apr 14 08:21:39 PC NetworkManager[748]: <info>  [1744582899.7325] agent-manager: agent[6fde42119f904618,:1.222/org.freedesktop.nm-applet/1000]: agent registered
Apr 14 08:21:39 PC dbus-daemon[701]: [system] Activating via systemd: service name='org.blueman.Mechanism' unit='blueman-mechanism.service' requested by ':1.223' (uid=1000 pid=3826 comm="/usr/bin/python3 /usr/bin/blueman-applet")
Apr 14 08:21:39 PC systemd[1]: Starting blueman-mechanism.service - Bluetooth management mechanism...
Apr 14 08:21:39 PC dbus-daemon[701]: [system] Successfully activated service 'org.blueman.Mechanism'
Apr 14 08:21:39 PC systemd[1]: Started blueman-mechanism.service - Bluetooth management mechanism.
Apr 14 08:21:39 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Activating via systemd: service name='org.bluez.obex' unit='obex.service' requested by ':1.34' (uid=1000 pid=3826 comm="/usr/bin/python3 /usr/bin/blueman-applet")
Apr 14 08:21:39 PC systemd[3563]: Starting obex.service - Bluetooth OBEX service...
Apr 14 08:21:39 PC obexd[4048]: OBEX daemon 5.66
Apr 14 08:21:39 PC dbus-daemon[3585]: [session uid=1000 pid=3585] Successfully activated service 'org.bluez.obex'
Apr 14 08:21:39 PC systemd[3563]: Started obex.service - Bluetooth OBEX service.
Apr 14 08:21:47 PC systemd[1]: Stopping user@103.service - User Manager for UID 103...
Apr 14 08:21:47 PC systemd[3468]: Activating special unit exit.target...
Apr 14 08:21:47 PC systemd[3468]: Stopped target default.target - Main User Target.
Apr 14 08:21:47 PC systemd[3468]: Stopping at-spi-dbus-bus.service - Accessibility services bus...
Apr 14 08:21:47 PC gvfsd[3499]: A connection to the bus can't be made
Apr 14 08:21:47 PC systemd[3468]: Stopping dbus.service - D-Bus User Message Bus...
Apr 14 08:21:47 PC systemd[3468]: Stopping gvfs-daemon.service - Virtual filesystem service...
Apr 14 08:21:47 PC systemd[3468]: Stopped dbus.service - D-Bus User Message Bus.
Apr 14 08:21:47 PC systemd[3468]: Stopped at-spi-dbus-bus.service - Accessibility services bus.
Apr 14 08:21:47 PC systemd[1]: run-user-103-gvfs.mount: Deactivated successfully.
Apr 14 08:21:47 PC systemd[3468]: Stopped gvfs-daemon.service - Virtual filesystem service.
Apr 14 08:21:47 PC systemd[3468]: Removed slice session.slice - User Core Session Slice.
Apr 14 08:21:47 PC systemd[3468]: Stopped target basic.target - Basic System.
Apr 14 08:21:47 PC systemd[3468]: Stopped target paths.target - Paths.
Apr 14 08:21:47 PC systemd[3468]: Stopped target sockets.target - Sockets.
Apr 14 08:21:47 PC systemd[3468]: Stopped target timers.target - Timers.
Apr 14 08:21:47 PC systemd[3468]: Stopped bunsen-apt-update-checker.timer - Run bl-apt-update-check 10min after login and daily thereafter..
Apr 14 08:21:47 PC systemd[3468]: Closed dbus.socket - D-Bus User Message Bus Socket.
Apr 14 08:21:47 PC systemd[3468]: Closed dirmngr.socket - GnuPG network certificate management daemon.
Apr 14 08:21:47 PC systemd[3468]: Closed gcr-ssh-agent.socket - GCR ssh-agent wrapper.
Apr 14 08:21:47 PC systemd[3468]: Closed gnome-keyring-daemon.socket - GNOME Keyring daemon.
Apr 14 08:21:47 PC systemd[3468]: Closed gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
Apr 14 08:21:47 PC systemd[3468]: Closed gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
Apr 14 08:21:47 PC systemd[3468]: Closed gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
Apr 14 08:21:47 PC systemd[3468]: Closed gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
Apr 14 08:21:47 PC systemd[3468]: Closed pk-debconf-helper.socket - debconf communication socket.
Apr 14 08:21:47 PC systemd[3468]: Closed pulseaudio.socket - Sound System.
Apr 14 08:21:47 PC systemd[3468]: Removed slice app.slice - User Application Slice.
Apr 14 08:21:47 PC systemd[3468]: Reached target shutdown.target - Shutdown.
Apr 14 08:21:47 PC systemd[3468]: Finished systemd-exit.service - Exit the Session.
Apr 14 08:21:47 PC systemd[3468]: Reached target exit.target - Exit the Session.
Apr 14 08:21:47 PC systemd[1]: user@103.service: Deactivated successfully.
Apr 14 08:21:47 PC systemd[1]: Stopped user@103.service - User Manager for UID 103.
Apr 14 08:21:47 PC systemd[1]: Stopping user-runtime-dir@103.service - User Runtime Directory /run/user/103...
Apr 14 08:21:47 PC systemd[1]: run-user-103.mount: Deactivated successfully.
Apr 14 08:21:47 PC systemd[1]: user-runtime-dir@103.service: Deactivated successfully.
Apr 14 08:21:47 PC systemd[1]: Stopped user-runtime-dir@103.service - User Runtime Directory /run/user/103.
Apr 14 08:21:47 PC systemd[1]: Removed slice user-103.slice - User Slice of UID 103.
Apr 14 08:21:47 PC systemd[1]: user-103.slice: Consumed 1.932s CPU time.
Apr 14 08:21:50 PC sudo[4215]:   jorgen : TTY=pts/0 ; PWD=/home/jorgen ; USER=root ; COMMAND=/usr/bin/journalctl
Apr 14 08:21:50 PC sudo[4215]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)

Offline

#7 2025-04-13 22:49:54

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,658

Re: Slow logout

Are you connecting to something like a nextcloud account when you boot up/log in?

Some other users have had issues with long logout times with that. They had to disconnect, then log out.


You must unlearn what you have learned.
    -- yoda

Offline

#8 2025-04-14 00:36:24

js
Member
Registered: 2025-04-10
Posts: 5

Re: Slow logout

Hi PackRat, thank you for your reply and suggestion. No, I do not have a Nextcloud account. I do have Dropbox.

Last edited by js (2025-04-14 00:38:53)

Offline

#9 2025-04-14 00:46:16

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: Slow logout

js wrote:

Hi PackRat, thank you for your reply and suggestion. No, I do not have a Nextcloud account. I do have Dropbox.

Try disconnecting Dropbox by killing its daemon first then logging out.


Real Men Use Linux

Offline

#10 2025-04-14 00:54:09

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,658

Re: Slow logout

DeepDayze wrote:
js wrote:

Hi PackRat, thank you for your reply and suggestion. No, I do not have a Nextcloud account. I do have Dropbox.

Try disconnecting Dropbox by killing its daemon first then logging out.

+1


You must unlearn what you have learned.
    -- yoda

Offline

#11 2025-04-14 02:14:28

js
Member
Registered: 2025-04-10
Posts: 5

Re: Slow logout

Try disconnecting Dropbox by killing its daemon first then logging out.

I tried that, but it made no difference to the speed of the logout.

Offline

#12 2025-04-14 16:35:57

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Slow logout

Edit /etc/systemd/logind.conf and un-comment & change this line:

KillUserProcesses=yes

Offline

#13 2025-08-06 21:31:44

swidi
New Member
From: Leicester, UK
Registered: 2025-08-03
Posts: 1

Re: Slow logout

I had exactly the symptom described by the OP (js) and in my case, it was linked to installing IBus:

  • it started after I installed IBus (via Synaptic) and was persistent every time I logged out.

  • Now I've uninstalled IBus and its dependencies, it is back to normal

Can anyone make sense of this?

Offline

#14 2025-08-14 11:06:02

dbvolvox
Member
From: England
Registered: 2015-09-29
Posts: 111
Website

Re: Slow logout

I get this sometimes on laptop never on desktop so I assumed it was to do with loss of network connection too early in the laptop shutdown so its waiting for time out rather than closing a connection. I confess to using the power button!!


volvox.biz a very tedious daily account of life during covid,

Offline

Board footer

Powered by FluxBB