Stop job closing sessions and multiple sessions running

Running TW with KDE desktop I had a new problem as I found an NFS connection was not available. I checked both ends of the connection. Server and client and all appeared correct but not connected.

In desperation I rebooted the client machine and after the reboot the NFS connection was working again but rebooting is taking ages.

When shutting down I am getting a notice:-

Stop job is running for User alastair 1m 30sec

It seems that on this occasion as many as 8 Sessions had been running. What are these? Why are they running when I do not have any apps running and why do I have to wait 90 seconds for this process to complete.
Could the running sessions be preventing my NFS connection before re-boot?

Please can somebody explain what is going on and tell me if I should change my shutdown/reboot procedures?

As you do not explain them, how can others even hint at possible changes?

I use the restart button from the “start” button at the left hand end of my Task Manager.

Show the output of the following command:

journalctl --user --boot -1 --unit init.scope

The above assumes the previous boot to experience the wait.

… and will only work if your journal-data is persistent (i.e. non-volatile).

Hi Karl,
Sorry for the delay. As I recall I shut down one more time after the delay problem so should I use the command with -2?

Well here is the file with -1 as per Karl’s command:-

https://paste.opensuse.org/pastes/c24b31bb35c2

Hope this works.
Budgie2

A timeout occurs in background.slice. Check for units by running cgls:

karl@erlangen:~> systemd-cgls /user.slice/user-1000.slice/user@1000.service/background.slice
CGroup /user.slice/user-1000.slice/user@1000.service/background.slice:
├─plasma-kactivitymanagerd.service
│ └─1696 /usr/libexec/kactivitymanagerd
├─plasma-polkit-agent.service
│ └─1698 /usr/libexec/polkit-kde-authentication-agent-1
├─plasma-kscreen.service
│ └─1840 /usr/libexec/kf5/kscreen_backend_launcher
├─plasma-xembedsniproxy.service
│ └─1701 /usr/bin/xembedsniproxy
├─plasma-kglobalaccel.service
│ └─1640 /usr/bin/kglobalaccel5
├─plasma-gmenudbusmenuproxy.service
│ └─1697 /usr/bin/gmenudbusmenuproxy
├─plasma-powerdevil.service
│ └─1699 /usr/libexec/org_kde_powerdevil
├─kde-baloo.service
│ └─1574 /usr/libexec/baloo_file
└─plasma-dolphin.service
  └─3625 /usr/bin/dolphin --daemon
karl@erlangen:~> 

On your machine one of its services refuses to terminate and gets killed after a 90 second timeout.

Hi Karl,
A bit too difficult for me. I have no idea how to use systemd-cgls and nothing gave me any clues.

There was a large TW update today which required a re-boot and I had the same 90 second delay as usual but only 1 service causing problem. How do I find which service is causing the problem. The action pauses always when Network activity is mentioned on the line before the Stop job warning.

Please can you give me another hint on where to look and how!

systemd-cgls and systemd-cgtop are similar to ps and top. According to post #7 trouble occurs in the background slice. Run the commands below and help identify the culprit by reducing the number of candidates efficiently. Use copy and paste to execute the commands. Post both the command and its output. Don’t edit!

Sample post:

karl@erlangen:~> systemd-cgls /user.slice/user-1000.slice/user@1000.service/background.slice
CGroup /user.slice/user-1000.slice/user@1000.service/background.slice:
├─plasma-kactivitymanagerd.service
│ └─1696 /usr/libexec/kactivitymanagerd
├─plasma-polkit-agent.service
│ └─1698 /usr/libexec/polkit-kde-authentication-agent-1
├─plasma-kscreen.service
│ └─1840 /usr/libexec/kf5/kscreen_backend_launcher
├─plasma-xembedsniproxy.service
│ └─1701 /usr/bin/xembedsniproxy
├─plasma-kglobalaccel.service
│ └─1640 /usr/bin/kglobalaccel5
├─plasma-gmenudbusmenuproxy.service
│ └─1697 /usr/bin/gmenudbusmenuproxy
├─plasma-krunner.service
│ └─24927 /usr/bin/krunner
├─plasma-powerdevil.service
│ └─1699 /usr/libexec/org_kde_powerdevil
├─kde-baloo.service
│ └─1574 /usr/libexec/baloo_file
└─plasma-dolphin.service
  └─3625 /usr/bin/dolphin --daemon
karl@erlangen:~> 
erlangen:~ # systemd-cgtop user.slice/user-1000.slice/user@1000.service/background.slice |cat
user.slice/user-1000.slice/user@1000.service/background.slice                                        55      -   650.2M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/kde-baloo.service                       3      -   511.8M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-dolphin.service                  7      -    18.9M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-gmenudbusmenuproxy.service       3      -     4.0M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kactivitymanagerd.service        6      -    13.3M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kglobalaccel.service             3      -     5.6M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-krunner.service                 10      -    54.4M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kscreen.service                  3      -     3.8M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-polkit-agent.service            10      -    21.7M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-powerdevil.service               7      -    11.6M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-xembedsniproxy.service           3      -     3.8M        -        -
erlangen:~ # 

Commands to run:

systemd-cgls /user.slice/user-1000.slice/user@1000.service/background.slice
systemd-cgtop user.slice/user-1000.slice/user@1000.service/background.slice |cat

Hi Karl and many thanks. Here is the result:-

alastair@HP-Z640-1:~> systemd-cgls /user.slice/user-1000.slice/user@1000.service/background.slice
CGroup /user.slice/user-1000.slice/user@1000.service/background.slice:
├─plasma-kactivitymanagerd.service
│ └─4211 /usr/libexec/kactivitymanagerd
├─plasma-polkit-agent.service
│ └─4214 /usr/libexec/polkit-kde-authentication-agent-1
├─plasma-kscreen.service
│ └─4321 /usr/libexec/kf5/kscreen_backend_launcher
├─plasma-xembedsniproxy.service
│ └─4217 /usr/bin/xembedsniproxy
├─plasma-ksystemstats.service
│ └─4238 /usr/bin/ksystemstats
├─plasma-kglobalaccel.service
│ └─4148 /usr/bin/kglobalaccel5
├─plasma-gmenudbusmenuproxy.service
│ └─4213 /usr/bin/gmenudbusmenuproxy
├─plasma-powerdevil.service
│ └─4215 /usr/libexec/org_kde_powerdevil
└─kde-baloo.service
  └─4070 /usr/libexec/baloo_file
alastair@HP-Z640-1:~> 
alastair@HP-Z640-1:~> systemd-cgtop user.slice/user-1000.slice/user@1000.service/background.slice |cat
user.slice/user-1000.slice/user@1000.service/background.slice                                        41      -   909.8M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/kde-baloo.service                       3      -   511.5M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-gmenudbusmenuproxy.service       3      -     3.2M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kactivitymanagerd.service        6      -    10.3M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kglobalaccel.service             3      -     4.8M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kscreen.service                  3      -     3.3M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-ksystemstats.service             3      -     6.6M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-polkit-agent.service            10      -    18.3M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-powerdevil.service               7      -     8.9M        -        -
user.slice/user-1000.slice/user@1000.service/background.slice/plasma-xembedsniproxy.service           3      -     3.2M        -        -
alastair@HP-Z640-1:~> 

Great! The above confirms your setup is pretty standard. Confirm the trouble in background.slice persists. Reboot the machine and check as follows:

karl@erlangen:~> journalctl -b -1 --user -u background.slice -g 'slice' # Reduce output by searching for string "slice"
Nov 13 09:16:00 erlangen systemd[1226]: Created slice User Background Tasks Slice.
Nov 14 06:33:55 erlangen systemd[1226]: Removed slice User Background Tasks Slice.
Nov 14 06:33:55 erlangen systemd[1226]: background.slice: Consumed 33.697s CPU time.
karl@erlangen:~> 

Unfiltered output of the command is pretty verbose, some 18,000 lines on infamous host erlangen. You may either post everything or filter by shutdown time:

karl@erlangen:~> journalctl -b -1 --user -u background.slice --since '2023-11-14 05:00:00' --no-pager
Nov 14 05:49:31 erlangen org_kde_powerdevil[1734]: org.kde.powerdevil: The profile  "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
Nov 14 06:33:54 erlangen kglobalaccel5[1677]: The X11 connection broke (error 1). Did the X11 server die?
Nov 14 06:33:54 erlangen kactivitymanagerd[1713]: The X11 connection broke (error 1). Did the X11 server die?
Nov 14 06:33:55 erlangen systemd[1226]: Removed slice User Background Tasks Slice.
Nov 14 06:33:55 erlangen systemd[1226]: background.slice: Consumed 33.697s CPU time.
karl@erlangen:~> 

You may want to experiment with the time stamp and thus omit the lines issued before initializing the shutdown.

This is fun. Not sure what I am doing but tried setting time from before I just rebooted as per your last instruction and had nothing so tried with time set to noon yesterday and here are the results:-

alastair@HP-Z640-1:~> journalctl -b -1 --user -u background.slice -g 'slice' # Reduce output by searching for string "slice"
Nov 15 21:30:18 HP-Z640-1 systemd[4538]: Created slice User Background Tasks Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Background Tasks Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: background.slice: Consumed 8min 14.760s CPU time.
alastair@HP-Z640-1:~> journalctl -b -1 --user -u background.slice --since '2023-11-16 17:10:00' --no-pager
-- No entries --
alastair@HP-Z640-1:~> journalctl -b -1 --user -u background.slice --since '2023-11-16 17:00:00' --no-pager
-- No entries --
alastair@HP-Z640-1:~> journalctl -b -1 --user -u background.slice --since '2023-11-15 12:00:00' --no-pager

Nov 15 21:30:18 HP-Z640-1 systemd[4538]: Created slice User Background Tasks Slice.
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_cpu" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_cpu.so"
Nov 15 21:30:19 HP-Z640-1 polkit-kde-authentication-agent-1[4801]: New PolkitAgentListener  0x5581d02db600
Nov 15 21:30:19 HP-Z640-1 polkit-kde-authentication-agent-1[4801]: Adding new listener  PolkitQt1::Agent::Listener(0x7f59cc011e80) for  0x5581d02db600
Nov 15 21:30:19 HP-Z640-1 polkit-kde-authentication-agent-1[4801]: Listener online
Nov 15 21:30:19 HP-Z640-1 polkit-kde-authentication-agent-1[4801]: Authentication agent result: true
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_disk" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_disk.so"
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Fan %1" msgid_plural: "" msgctxt: "@title %1 is a number"
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_gpu" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_gpu.so"
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_lmsensors" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_lmsensors.so"
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_memory" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_memory.so"
Nov 15 21:30:19 HP-Z640-1 org_kde_powerdevil[4802]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Nov 15 21:30:19 HP-Z640-1 org_kde_powerdevil[4802]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_network" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_network.so"
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_osinfo" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_osinfo.so"
Nov 15 21:30:19 HP-Z640-1 ksystemstats[4829]: Loaded plugin "ksystemstats_plugin_power" from file "/usr/lib64/qt5/plugins/ksystemstats/ksystemstats_plugin_power.so"
Nov 15 21:30:19 HP-Z640-1 org_kde_powerdevil[4802]: org.kde.powerdevil: Handle button events action could not check for screen configuration
Nov 15 21:30:19 HP-Z640-1 org_kde_powerdevil[4802]: org.kde.powerdevil: The profile  "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
Nov 15 21:30:19 HP-Z640-1 org_kde_powerdevil[4802]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Connected output 71 to CRTC 62
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: Detected XRandR 1.6
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: Event Base:  89
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: Event Error:  147
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: XRandR::setConfig
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Requested screen size is QSize(2560, 1440)
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Needed CRTCs:  1
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Actions to perform:
                                                                   Priorities: true
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr:         Output 71 
                                                                           Old: "0" 
                                                                           New: "1"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr:         Change Screen Size: false
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr:         Disable outputs: false
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr:         Change outputs: false
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr:         Enable outputs: false
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: RRSetOutputPrimary 
                                                                   New priority: 0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: RRSetOutputPrimary 
                                                                   New priority: 0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: RRSetOutputPrimary 
                                                                   New priority: 0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: RRSetOutputPrimary 
                                                                   New priority: 1
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: XRandR::setConfig done!
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Timestamp:  30059
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Output:  71
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Property:  _KDE_SCREEN_INDEX
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         State (newValue, Deleted):  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Timestamp:  30059
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Output:  71
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Property:  _KDE_SCREEN_INDEX
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         State (newValue, Deleted):  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: RRNotify_OutputChange
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Timestamp:  19259
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Output:  68
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         CRTC:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Mode:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Connection:  "Disconnected"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Subpixel Order:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: RRNotify_OutputChange
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Timestamp:  19259
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Output:  71
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         CRTC:  62
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Mode:  73
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Connection:  "Connected"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Subpixel Order:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: RRScreenChangeNotify
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Timestamp:  19259
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Config_timestamp:  19259
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Window: 25165829
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Root: 1841
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Size ID: 0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Size:  2560 1440
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         SizeMM:  677 381
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: RRNotify_OutputChange
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Timestamp:  19259
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Output:  68
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         CRTC:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Mode:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Connection:  "Disconnected"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Subpixel Order:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper: RRNotify_OutputChange
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Timestamp:  19259
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Output:  71
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         CRTC:  62
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Mode:  73
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Rotation:  "Rotate_0"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Connection:  "Connected"
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xcb.helper:         Subpixel Order:  0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: XRandROutput 68 update 
                                                                   m_connected: 1 
                                                                   m_crtc QObject(0x0) 
                                                                   CRTC: 0 
                                                                   MODE: 0 
                                                                   Connection: 1
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Output 68 : connected = false , enabled = false
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: XRandROutput 71 update 
                                                                   m_connected: 0 
                                                                   m_crtc XRandRCrtc(0x5611c6034c70) 
                                                                   CRTC: 62 
                                                                   MODE: 73 
                                                                   Connection: 0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Output 71 : connected = true , enabled = true
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: XRandROutput 68 update 
                                                                   m_connected: 1 
                                                                   m_crtc QObject(0x0) 
                                                                   CRTC: 0 
                                                                   MODE: 0 
                                                                   Connection: 1
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Output 68 : connected = false , enabled = false
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: XRandROutput 71 update 
                                                                   m_connected: 0 
                                                                   m_crtc XRandRCrtc(0x5611c6034c70) 
                                                                   CRTC: 62 
                                                                   MODE: 73 
                                                                   Connection: 0
Nov 15 21:30:19 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Output 71 : connected = true , enabled = true
Nov 15 21:30:20 HP-Z640-1 kscreen_backend_launcher[4972]: kscreen.xrandr: Emitting configChanged()
Nov 15 21:30:21 HP-Z640-1 xembedsniproxy[4804]: Container window visible, stack below
Nov 15 21:46:08 HP-Z640-1 kactivitymanagerd[4775]: The X11 connection broke (error 1). Did the X11 server die?
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Background Tasks Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: background.slice: Consumed 8min 14.760s CPU time.
alastair@HP-Z640-1:~> 
alastair@HP-Z640-1:~> 

Once you have explained all this I may understand a little more and very much appreciate your help.

Looks like the second to the last boot terminated around Nov 15 21:47:38. You may check boot times by running:

 erlangen:~ # journalctl --list-boots 
IDX BOOT ID                          FIRST ENTRY                  LAST ENTRY                  
-31 bfd7ec176a1e471ba1887fe82e7806a9 Wed 2023-10-18 11:29:32 CEST Thu 2023-10-19 05:15:04 CEST
 ...
 -2 e2a80fe6a36f4fa08a1b59c2071e6070 Mon 2023-11-13 09:15:22 CET  Tue 2023-11-14 06:33:56 CET
 -1 5ebc3561d44e4b4ca8e878f8287b6bd3 Tue 2023-11-14 06:34:14 CET  Tue 2023-11-14 19:21:33 CET
  0 1b11d5201df947a3951930d20e8edcf3 Tue 2023-11-14 19:26:42 CET  Thu 2023-11-16 20:07:53 CET
erlangen:~ # 

Double check slice creation and removal:

karl@erlangen:~> journalctl -b -1 --user -g slice
Nov 13 09:15:51 erlangen systemd[1226]: Created slice User Application Slice.
Nov 13 09:16:00 erlangen systemd[1226]: Created slice User Core Session Slice.
Nov 13 09:16:00 erlangen systemd[1226]: Created slice User Background Tasks Slice.
Nov 14 06:33:55 erlangen systemd[1226]: app-org.kde.konsole-32f8c5d6918244bdb21a5e98d7cdfe69.scope: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-32f8c5d6918244bdb21a5e98d7cdfe>
Nov 14 06:33:55 erlangen systemd[1226]: app-org.kde.konsole-32f8c5d6918244bdb21a5e98d7cdfe69.scope: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-32f8c5d6918244bdb21a5e98d7cdfe>
Nov 14 06:33:55 erlangen systemd[1226]: Removed slice User Background Tasks Slice.
Nov 14 06:33:55 erlangen systemd[1226]: background.slice: Consumed 33.697s CPU time.
Nov 14 06:33:55 erlangen systemd[1226]: Removed slice User Core Session Slice.
Nov 14 06:33:55 erlangen systemd[1226]: session.slice: Consumed 8min 36.085s CPU time.
Nov 14 06:33:55 erlangen systemd[1226]: Removed slice User Application Slice.
Nov 14 06:33:55 erlangen systemd[1226]: app.slice: Consumed 2h 20min 3.911s CPU time.
karl@erlangen:~> 

On host erlangen all three user slices are removed within one second! Post the corresponding output from your host.

The interesting portion of your journal is presumably where the big delay of 90 seconds occurs:

Nov 15 21:46:08 HP-Z640-1 kactivitymanagerd[4775]: The X11 connection broke (error 1). Did the X11 server die?
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Background Tasks Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: background.slice: Consumed 8min 14.760s CPU time.

The X11 server goes down but the background slice waits until some process hits a timeout.

Seach the journal for timouts:

journalctl -b -1 --user -g timeout

Post the full output by specifying --since and --until:

journalctl --user --since '2023-11-15 21:46:08' --until '2023-11-15 21:47:38'

Refine your search based on the previous outcome.

Hi Karl, I am not following this so have done as you asked and post the lot. With your help I could then refine.

alastair@HP-Z640-1:~> journalctl --list-boots 
Hint: You are currently not seeing messages from other users and the system.
      Users in the 'systemd-journal' group can see all messages. Pass -q to
      turn off this notice.
IDX BOOT ID                          FIRST ENTRY                 LAST ENTRY                 
-25 84dcb650a57146429d8a543f995c7d03 Sun 2023-10-01 22:10:04 BST Sun 2023-10-01 22:17:58 BST
-24 450aad71effb49b1872f1c9150654379 Sun 2023-10-01 22:18:52 BST Sun 2023-10-01 23:05:17 BST
-23 7d3d66ed465641abb43e568f92287c35 Mon 2023-10-02 16:07:42 BST Tue 2023-10-03 17:36:25 BST
-22 31bf4eb3d209449d8fc485c15f2a94cf Tue 2023-10-03 18:29:20 BST Tue 2023-10-03 22:10:00 BST
-21 1f09f1f2111b4045b7d5c8218b94f24c Tue 2023-10-03 22:12:54 BST Tue 2023-10-03 22:44:33 BST
-20 e1df5da2489a441fb9d45f5c58fe3691 Wed 2023-10-04 12:37:27 BST Thu 2023-10-05 23:00:04 BST
-19 10313e6e36e347d9a7adf1ccf35a930c Fri 2023-10-06 08:46:02 BST Fri 2023-10-06 23:34:57 BST
-18 11bb270761214d12bf5568ae2cf49989 Fri 2023-10-06 23:36:00 BST Sat 2023-10-07 12:11:33 BST
-17 98eda9e36b374578b77abaa26a71fc94 Sat 2023-10-07 12:12:23 BST Sun 2023-10-08 09:55:29 BST
-16 9ee3a00cc24a4552802a3065bbdd3ca1 Sun 2023-10-08 09:56:21 BST Wed 2023-10-11 17:14:38 BST
-15 c57f63cf49714c35839463d91b899407 Wed 2023-10-11 17:15:39 BST Thu 2023-10-12 22:11:21 BST
-14 7a496c84c2c2430a9d2a1a8a9df78eed Sun 2023-10-15 14:06:29 BST Mon 2023-10-23 17:39:48 BST
-13 8f0af8e82cfe44b287013a99c37804c0 Mon 2023-10-23 17:40:43 BST Mon 2023-10-23 17:49:10 BST
-12 39412cf12cbc47f7a68e068c3b700e4e Mon 2023-10-23 17:50:07 BST Mon 2023-10-23 17:58:16 BST
-11 b39f0ba3192045cd91d7294d18131058 Mon 2023-10-23 17:59:13 BST Mon 2023-10-23 18:18:00 BST
-10 a97a59ebf1734f6ab49d2bf8b4acfea6 Mon 2023-10-23 18:18:51 BST Tue 2023-10-24 23:36:22 BST
 -9 2debf30a5da742499f873bc4164e424c Tue 2023-10-24 23:37:17 BST Sat 2023-10-28 18:36:06 BST
 -8 2da994d83a2f4125830bac3409a03bea Sat 2023-10-28 18:37:05 BST Wed 2023-11-01 17:48:56 GMT
 -7 d3e342d239874a51bae92863a4ba9f5c Wed 2023-11-01 18:30:25 GMT Thu 2023-11-02 14:51:25 GMT
 -6 355f1f69ba7b459c8d40fd5c1aed6df2 Thu 2023-11-02 17:04:09 GMT Tue 2023-11-07 22:40:57 GMT
 -5 f4b3d3b60ec84c6dbeb2a4d3226f8f36 Tue 2023-11-07 22:48:54 GMT Mon 2023-11-13 18:18:23 GMT
 -4 6ece541d84ad4d33bcb300682fcabb6f Mon 2023-11-13 18:19:25 GMT Mon 2023-11-13 18:22:01 GMT
 -3 4ce28170401e48eca8e1b8367fe92f17 Mon 2023-11-13 18:23:03 GMT Wed 2023-11-15 21:29:13 GMT
 -2 c021f196df874753b0744941e1f82a48 Wed 2023-11-15 21:30:17 GMT Wed 2023-11-15 21:47:38 GMT
 -1 547717302ba54e7996312f2cbc8cb833 Wed 2023-11-15 22:05:34 GMT Thu 2023-11-16 17:12:58 GMT
  0 9e59355c53124b3cac7ee03c1155ba9f Thu 2023-11-16 17:13:59 GMT Thu 2023-11-16 21:57:23 GMT
alastair@HP-Z640-1:~> 
alastair@HP-Z640-1:~> 
alastair@HP-Z640-1:~> journalctl -b -1 --user -g slice
Nov 15 21:30:17 HP-Z640-1 systemd[4538]: Created slice User Application Slice.
Nov 15 21:30:17 HP-Z640-1 systemd[4538]: Created slice User Core Session Slice.
Nov 15 21:30:18 HP-Z640-1 systemd[4538]: Created slice User Background Tasks Slice.
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Background Tasks Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: background.slice: Consumed 8min 14.760s CPU time.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Core Session Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: session.slice: Consumed 49.291s CPU time.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Application Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: app.slice: Consumed 3min 52.000s CPU time.
lines 1-12/12 (END)...skipping...
Nov 15 21:30:17 HP-Z640-1 systemd[4538]: Created slice User Application Slice.
Nov 15 21:30:17 HP-Z640-1 systemd[4538]: Created slice User Core Session Slice.
Nov 15 21:30:18 HP-Z640-1 systemd[4538]: Created slice User Background Tasks Slice.
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service, ignoring: Operation not permitted
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service, ignoring: Operation not permitted
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service, ignoring: Operation not permitted
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Background Tasks Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: background.slice: Consumed 8min 14.760s CPU time.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Core Session Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: session.slice: Consumed 49.291s CPU time.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Application Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: app.slice: Consumed 3min 52.000s CPU time.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Nov 15 21:30:17 HP-Z640-1 systemd[4538]: Created slice User Application Slice.
Nov 15 21:30:17 HP-Z640-1 systemd[4538]: Created slice User Core Session Slice.
Nov 15 21:30:18 HP-Z640-1 systemd[4538]: Created slice User Background Tasks Slice.
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Background Tasks Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: background.slice: Consumed 8min 14.760s CPU time.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Core Session Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: session.slice: Consumed 49.291s CPU time.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: Removed slice User Application Slice.
Nov 15 21:47:38 HP-Z640-1 systemd[4538]: app.slice: Consumed 3min 52.000s CPU time.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
alastair@HP-Z640-1:~> journalctl -b -1 --user -g timeout
Nov 15 21:30:44 HP-Z640-1 kded5[4693]: kf.bluezqt: PendingCall Error: "Failed to activate service 'org.bluez>
alastair@HP-Z640-1:~> 
alastair@HP-Z640-1:~> 
alastair@HP-Z640-1:~> journalctl --user --since '2023-11-15 21:46:08' --until '2023-11-15 21:47:38'
Nov 15 21:46:08 HP-Z640-1 akonadi_control[5212]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadise>
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped target plasma-workspace-x11.target.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped target KDE Plasma Workspace.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped target Startup of XDG autostart applications.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Geoclue Demo agent...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping HP System Tray Service...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Accessibility...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping MinimWatch...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Calendar Reminders...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping pcloud...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Accessibility services bus...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Virtual filesystem service...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping KDE Global Shortcuts Server...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping KScreen...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping KDE Window Manager...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Powerdevil...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Xdg Desktop Portal For KDE...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Portal service...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping flatpak document portal service...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping sandboxed app permission store...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping Baloo File Indexer Daemon...
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped sandboxed app permission store.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped KDE Session Management Server.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped KDE Global Shortcuts Server.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Xdg Desktop Portal For KDE.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped KScreen.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Geoclue Demo agent.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Accessibility.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Calendar Reminders.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: app-org.kde.kalendarac@autostart.service: Consumed 12.902s CPU time.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Accessibility services bus.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Portal service.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Powerdevil.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped HP System Tray Service.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: app-hplip\x2dsystray@autostart.service: Consumed 1.532s CPU time.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped target KDE Plasma Workspace Core.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopping KDE Daemon...
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 kded5[4693]: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(K>
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Virtual filesystem service.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped KDE Window Manager.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: plasma-kwin_x11.service: Consumed 15.135s CPU time.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped KDE Daemon.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: plasma-kded.service: Consumed 1.749s CPU time.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped flatpak document portal service.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped Baloo File Indexer Daemon.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: kde-baloo.service: Consumed 8min 11.888s CPU time.
Nov 15 21:46:08 HP-Z640-1 kactivitymanagerd[4775]: The X11 connection broke (error 1). Did the X11 server di>
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped pcloud.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: app-pcloud@autostart.service: Consumed 28.460s CPU time.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: plasma-kactivitymanagerd.service: Main process exited, code=exited,>
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: plasma-kactivitymanagerd.service: Failed with result 'exit-code'.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: Stopped KActivityManager Activity manager Service.
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, s>
Nov 15 21:46:08 HP-Z640-1 systemd[4538]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Nov 15 21:46:09 HP-Z640-1 systemd[4538]: Stopped MinimWatch.
Nov 15 21:46:09 HP-Z640-1 systemd[4538]: app-minimwatch@autostart.service: Consumed 4.459s CPU time.
Nov 15 21:46:09 HP-Z640-1 systemd[4538]: Stopped target Current graphical user session.
Nov 15 21:46:09 HP-Z640-1 systemd[4538]: Stopped target Session services which should run early before the g>
alastair@HP-Z640-1:~> 

  1. Output of journal seems to be inconsistent. Boot numbers don’t match. Try to verify by running:
journalctl --user --verify
  1. Trouble with plasmashell exists. Show the full output of:
journalctl --user -b -1 -u plasma-plasmashell.service

Hi Karl, You did ask for full output!

alastair@HP-Z640-1:~> journalctl --user --verify
408658: Unused data (entry_offset==0)                                                 
4086a8: Unused data (entry_offset==0)                                                 
408700: Unused data (entry_offset==0)                                                 
408778: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@1b6414fdf6d54944a2337ee44eca9ff8-00000000000cb4ce-000606ae14d80c36.journal
43df90: Unused data (entry_offset==0)                                                 
43dfe0: Unused data (entry_offset==0)                                                 
43e038: Unused data (entry_offset==0)                                                 
43e0b0: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@fe4f85214dea428bb921208a15d607e8-00000000000cc1a7-000606ae345ee91f.journal
4bd658: Unused data (entry_offset==0)                                                 
4bd6a8: Unused data (entry_offset==0)                                                 
4bd700: Unused data (entry_offset==0)                                                 
4bd778: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@356b4d6c96c44379bca67a09299a4b14-00000000000cd0cd-000606bd22c5e25d.journal
40bdc8: Unused data (entry_offset==0)                                                 
40be18: Unused data (entry_offset==0)                                                 
40be70: Unused data (entry_offset==0)                                                 
40bee8: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@43faa1743c644437b18d49485b3b7833-00000000000ce545-000606d33b24a46a.journal
41c638: Unused data (entry_offset==0)                                                 
41c688: Unused data (entry_offset==0)                                                 
41c6e0: Unused data (entry_offset==0)                                                 
41c758: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@fc3c1eadb78549e580c370b0cda60585-00000000000d3366-000606d65aaf3465.journal
8788c8: Unused data (entry_offset==0)                                                 
878918: Unused data (entry_offset==0)                                                 
878970: Unused data (entry_offset==0)                                                 
8789e8: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@9f8ceb65c40e4cbebad418c0f29b4125-00000000000d4193-000606e26e8f38fc.journal
638518: Unused data (entry_offset==0)                                                 
638568: Unused data (entry_offset==0)                                                 
6385c0: Unused data (entry_offset==0)                                                 
638638: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@d0beb5079dc849ec8ef0b1a975e2d6d4-00000000000d8c4f-000607076ea873e0.journal
4ccd58: Unused data (entry_offset==0)                                                 
4ccda8: Unused data (entry_offset==0)                                                 
4cce00: Unused data (entry_offset==0)                                                 
4cce78: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@528f191ec11d432bb95bccbd1bc9532a-00000000000db266-00060713dd61323f.journal
50a100: Unused data (entry_offset==0)                                                 
50a150: Unused data (entry_offset==0)                                                 
50a1a8: Unused data (entry_offset==0)                                                 
50a220: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@4a6f9fb5853a4125ba07d5cebc36d5e2-00000000000dc773-0006071e6e6dc6b8.journal
14d0878: Unused data (entry_offset==0)                                                
14d08c8: Unused data (entry_offset==0)                                                
14d0920: Unused data (entry_offset==0)                                                
14d0998: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@5d70697c69284d6db07b71526788ac4d-00000000000de1cd-00060730a5c320d2.journal
42b3c40: Unused data (entry_offset==0)                                                
42b3c90: Unused data (entry_offset==0)                                                
42b3ce8: Unused data (entry_offset==0)                                                
42b3d60: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@e388d6e6b67140abb82570eeca9326fe-00000000000e9a0e-00060773225986a5.journal
1694fe0: Unused data (entry_offset==0)                                                
1695030: Unused data (entry_offset==0)                                                
1695088: Unused data (entry_offset==0)                                                
1695100: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@f0dd924cb9774ba6b41c6b50fa73a7a0-000000000010aea4-000607c0f531f526.journal
424518: Unused data (entry_offset==0)                                                 
424568: Unused data (entry_offset==0)                                                 
4245c0: Unused data (entry_offset==0)                                                 
424638: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@fabbd537de3f46489195f18bee84de39-00000000001175ac-00060864e219c6d8.journal
419ff8: Unused data (entry_offset==0)                                                 
41a048: Unused data (entry_offset==0)                                                 
41a0a0: Unused data (entry_offset==0)                                                 
41a118: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@eae7e6696cf24fdda2a70bd49885d780-00000000001184cb-0006086503c06f43.journal
49da00: Unused data (entry_offset==0)                                                 
49da50: Unused data (entry_offset==0)                                                 
49daa8: Unused data (entry_offset==0)                                                 
49db20: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@5dc7b1c14914430399b01820c49715bb-0000000000119271-000608652444c711.journal
1ca3490: Unused data (entry_offset==0)                                                
1ca34e0: Unused data (entry_offset==0)                                                
1ca3538: Unused data (entry_offset==0)                                                
1ca35b0: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@e535354bed21436d8f3107283b69d00e-000000000011a424-000608656a7e05b5.journal
3965740: Unused data (entry_offset==0)                                                
3965790: Unused data (entry_offset==0)                                                
39657e8: Unused data (entry_offset==0)                                                
3965860: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@e2fa36c4e77540d699c26b8ed43145b1-0000000000127933-0006087dfb20f77f.journal
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@24affc2f615e44f8ae10fbc60fe5a3ca-000000000014904e-000608ca40e845eb.journal
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@24affc2f615e44f8ae10fbc60fe5a3ca-000000000018bb2c-000608e04f890d3b.journal
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@24affc2f615e44f8ae10fbc60fe5a3ca-00000000001ca340-000608e1ac30728e.journal
6c14a8: Unused data (entry_offset==0)                                                 
6c14f8: Unused data (entry_offset==0)                                                 
6c1550: Unused data (entry_offset==0)                                                 
6c15c8: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@3b79ad9a0d8b46f9b3a30d3e6f702b6c-00000000001f2f6d-0006091b76f8a611.journal
178f2b8: Unused data (entry_offset==0)                                                
178f308: Unused data (entry_offset==0)                                                
178f370: Unused data (entry_offset==0)                                                
178f3c8: Unused data (entry_offset==0)                                                
178f430: Unused data (entry_offset==0)                                                
178f4b0: Unused data (entry_offset==0)                                                
178f5a0: Unused data (entry_offset==0)                                                
178f5f8: Unused data (entry_offset==0)                                                
178f658: Unused data (entry_offset==0)                                                
178f6e8: Unused data (entry_offset==0)                                                
178f7e8: Unused data (entry_offset==0)                                                
178f860: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@40937ab9de4347629ab6b122cb1328c7-00000000001f5659-0006092e6059bb92.journal
14e5960: Unused data (entry_offset==0)                                                
14e59b0: Unused data (entry_offset==0)                                                
14e5a08: Unused data (entry_offset==0)                                                
14e5a80: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@fe4ef7543e9e44d7889d108885c36a5b-00000000002004f6-00060997c66d9890.journal
4152b0: Unused data (entry_offset==0)                                                 
415300: Unused data (entry_offset==0)                                                 
415358: Unused data (entry_offset==0)                                                 
4153d0: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@b02a1be738c848b498926c70068cd1ea-000000000020a00a-00060a0cb5bb3a9b.journal
1956d50: Unused data (entry_offset==0)                                                
1956da0: Unused data (entry_offset==0)                                                
1956df8: Unused data (entry_offset==0)                                                
1956e70: Unused data (entry_offset==0)                                                
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@91d01fe5758c46b3b260737db3b770dc-000000000020ad90-00060a0cc2bb895a.journal
42a0f0: Unused data (entry_offset==0)                                                 
42a140: Unused data (entry_offset==0)                                                 
42a198: Unused data (entry_offset==0)                                                 
42a210: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@280212a23d974327bdf7f58bf778bb59-0000000000216644-00060a379c0061f8.journal
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000.journal             
535918: Unused data (entry_offset==0)                                                 
535968: Unused data (entry_offset==0)                                                 
5359c0: Unused data (entry_offset==0)                                                 
535a38: Unused data (entry_offset==0)                                                 
PASS: /var/log/journal/c3da95f43d994bb4b5664c8dc37a88dd/user-1000@e3cac7f5bf5b4813a9f1f5519aa0b8ed-00000000002174d7-00060a381a2f73d2.journal
alastair@HP-Z640-1:~> journalctl --user -b -1 -u plasma-plasmashell.service
Nov 15 21:30:18 HP-Z640-1 systemd[4538]: Starting KDE Plasma Workspace...
Nov 15 21:30:19 HP-Z640-1 systemd[4538]: Started KDE Plasma Workspace.
Nov 15 21:30:19 HP-Z640-1 plasmashell[4739]: Aborting shell load: The activity manager daemon (kactivitymana>
Nov 15 21:30:19 HP-Z640-1 plasmashell[4739]: If this Plasma has been installed into a custom prefix, verify >
Nov 15 21:30:19 HP-Z640-1 plasmashell[4739]: Aborting shell load: The activity manager daemon (kactivitymana>
Nov 15 21:30:19 HP-Z640-1 plasmashell[4739]: If this Plasma has been installed into a custom prefix, verify >
Nov 15 21:30:19 HP-Z640-1 plasmashell[4739]: kf.plasma.quick: Applet preload policy set to 1
Nov 15 21:30:20 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/templates/InlineMe>
Nov 15 21:30:20 HP-Z640-1 plasmashell[4739]: org.kde.plasma.containmentlayoutmanager: Error: cannot change t>
Nov 15 21:30:20 HP-Z640-1 kioslave5[5123]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirectio>
Nov 15 21:30:20 HP-Z640-1 kioslave5[5123]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirectio>
Nov 15 21:30:20 HP-Z640-1 kioslave5[5173]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirectio>
Nov 15 21:30:20 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: org.kde.plasma.kicker: DragHelper is deprecated and will be rem>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: org.kde.plasma.kicker: Kicker.WindowSystem is deprecated and wi>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linec>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linec>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linec>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: false
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net mobile: false
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: false
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is on battery: true
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: Cyclic dependency detected between "file:///usr/share/plasma/pl>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: Cyclic dependency detected between "file:///usr/share/plasma/pl>
Nov 15 21:30:21 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanage>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net mobile: false
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Daemon changed
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanage>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is on battery: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net mobile: false
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.syste>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: Both point size and pixel size set. Using pixel size.
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: org.kde.plasma.containmentlayoutmanager: Error: cannot change t>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linec>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linec>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linec>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.linec>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponent>
Nov 15 21:30:22 HP-Z640-1 kioslave5[5173]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirectio>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be great>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net mobile: false
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Daemon changed
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/conte>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: acPlugged initial state true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is on battery: false
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Checking for updates
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "waiting-for-aut>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "waiting-for-aut>
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "setup" "(101%)"
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "setup" "(101%)"
Nov 15 21:30:22 HP-Z640-1 plasmashell[4739]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci->
Nov 15 21:30:23 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "refresh-cache" >
Nov 15 21:30:23 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Last check successful: false
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: qml: Populating model
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: qml: Updating state of selection
Nov 15 21:30:24 HP-Z640-1 plasmashell[4739]: qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponent>
Nov 15 21:30:25 HP-Z640-1 plasmashell[4739]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMess>
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction "/1_eebddcad" finished with stat>
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Cache transaction finished successfully
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "finished" "(100>
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Updates changed, getting updates!
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/>
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.printmanager/>
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "wait" "(101%)"
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "setup" "(101%)"
Nov 15 21:30:27 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "query" "(101%)"
Nov 15 21:30:28 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "refresh-cache" >
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction status changed: "finished" "(100>
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Transaction "/2_abebdcee" finished with stat>
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Check updates transaction finished successfu>
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Total number of updates:  0
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: plasma-pk-updates: Is net online: true
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: qml: Populating model
Nov 15 21:30:34 HP-Z640-1 plasmashell[4739]: qml: Updating state of selection
Nov 15 21:30:41 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:30:41 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:31:00 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/c>
Nov 15 21:42:52 HP-Z640-1 kdesud[8508]: kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgi>
Nov 15 21:42:52 HP-Z640-1 kdesud[8508]: kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgi>
Nov 15 21:42:52 HP-Z640-1 kdesud[8508]: kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgi>
Nov 15 21:42:52 HP-Z640-1 kdesud[8508]: kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgi>
Nov 15 21:42:52 HP-Z640-1 kdesud[8508]: kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgi>
Nov 15 21:42:52 HP-Z640-1 su[8511]: pam_kwallet5(su:auth): pam_kwallet5: pam_sm_authenticate
Nov 15 21:42:52 HP-Z640-1 su[8511]: pam_kwallet5(su:auth): pam_kwallet5: we were already executed
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:42:52 HP-Z640-1 plasmashell[4739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/c>
Nov 15 21:42:56 HP-Z640-1 su[8517]: pam_kwallet5(su:auth): pam_kwallet5: pam_sm_authenticate
Nov 15 21:42:56 HP-Z640-1 su[8517]: pam_kwallet5(su:auth): pam_kwallet5: we were already executed
Nov 15 21:42:56 HP-Z640-1 su[8517]: (to root) alastair on pts/3
Nov 15 21:42:56 HP-Z640-1 su[8517]: pam_kwallet5(su:setcred): pam_kwallet5: pam_sm_setcred
Nov 15 21:42:56 HP-Z640-1 su[8517]: pam_unix(su:session): session opened for user root(uid=0) by alastair(ui>
Nov 15 21:42:56 HP-Z640-1 su[8517]: pam_kwallet5(su:session): pam_kwallet5: pam_sm_open_session
Nov 15 21:42:56 HP-Z640-1 su[8517]: pam_kwallet5(su:session): pam_kwallet5: we were already executed
Nov 15 21:42:57 HP-Z640-1 su[8517]: pam_unix(su:session): session closed for user root
Nov 15 21:42:57 HP-Z640-1 su[8517]: pam_kwallet5(su:session): pam_kwallet5: pam_sm_close_session
Nov 15 21:42:57 HP-Z640-1 su[8517]: pam_kwallet5(su:setcred): pam_kwallet5: pam_sm_setcred
Nov 15 21:42:57 HP-Z640-1 su[8522]: pam_kwallet5(su:auth): pam_kwallet5: pam_sm_authenticate
Nov 15 21:42:57 HP-Z640-1 su[8522]: pam_kwallet5(su:auth): pam_kwallet5: we were already executed
Nov 15 21:42:57 HP-Z640-1 su[8522]: (to root) alastair on pts/3
Nov 15 21:42:57 HP-Z640-1 su[8522]: pam_kwallet5(su:setcred): pam_kwallet5: pam_sm_setcred
Nov 15 21:42:57 HP-Z640-1 su[8522]: pam_unix(su:session): session opened for user root(uid=0) by alastair(ui>
Nov 15 21:42:57 HP-Z640-1 su[8522]: pam_kwallet5(su:session): pam_kwallet5: pam_sm_open_session
Nov 15 21:42:57 HP-Z640-1 su[8522]: pam_kwallet5(su:session): pam_kwallet5: we were already executed
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:04 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:43:34 HP-Z640-1 su[8522]: pam_unix(su:session): session closed for user root
Nov 15 21:43:34 HP-Z640-1 su[8522]: pam_kwallet5(su:session): pam_kwallet5: pam_sm_close_session
Nov 15 21:43:34 HP-Z640-1 su[8522]: pam_kwallet5(su:setcred): pam_kwallet5: pam_sm_setcred
Nov 15 21:46:02 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:46:02 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:46:02 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:46:02 HP-Z640-1 plasmashell[4739]: kf.service.services: The desktop entry file "/usr/share/applica>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8554 (dbus-launch.x11) >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8555 (dbus-daemon) with>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8557 (xdg-desktop-por) >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8564 (xdg-document-po) >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8569 (xdg-permission-) >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8576 (fusermount3) with>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8582 (xdg-desktop-por) >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8604 (xdg-desktop-por) >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8609 (gvfsd) with signa>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Killing process 8615 (gvfsd-fuse) with >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Failed to kill control group /user.slic>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8554 (dbus-launch.x11) rem>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8555 (dbus-daemon) remains>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8557 (xdg-desktop-por) rem>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8564 (xdg-document-po) rem>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8569 (xdg-permission-) rem>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8576 (fusermount3) remains>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8582 (xdg-desktop-por) rem>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8604 (xdg-desktop-por) rem>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8609 (gvfsd) remains runni>
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Unit process 8615 (gvfsd-fuse) remains >
Nov 15 21:46:04 HP-Z640-1 systemd[4538]: plasma-plasmashell.service: Consumed 28.196s CPU time.

Change the 90 second timeout to something smaller - I did - now the worse case is 20 seconds. 90 seconds was right for the old single core processors. The default needs to be less.

vi /etc/systemd/system.conf

look for these lines


#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=journal
#DefaultStandardError=inherit
DefaultTimeoutStartSec=20s                        <change # and 90s to 20s
DefaultTimeoutStopSec=20s                         <change # and 90s to 20s
#DefaultRestartSec=100ms
#DefaultStartLimitIntervalSec=10s
#DefaultStartLimitBurst=5

Shorten the timeout won’t fix the issue. What’s actually needed is identifying and removing the root cause of the timeout.

journal --user shows no relevant timeout. It may occur in the system slice. Alastair may run as root:

erlangen:~ # journalctl -b -1 -g timeout --no-pager
Nov 17 17:22:44 erlangen kernel: nvme nvme1: Shutdown timeout set to 8 seconds
Nov 17 17:22:44 erlangen kernel: nvme nvme0: Shutdown timeout set to 8 seconds
Nov 17 17:22:54 erlangen NetworkManager[1138]: <info>  [1700238174.8579] dhcp4 (enp8s0): activation: beginning transaction (timeout in 45 seconds)
Nov 17 17:22:56 erlangen NetworkManager[1138]: <info>  [1700238176.8203] dhcp6 (enp8s0): activation: beginning transaction (timeout in 45 seconds)
Nov 17 17:23:27 erlangen kded5[1620]: kf.bluezqt: PendingCall Error: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
Nov 17 17:23:27 erlangen dbus-daemon[1038]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Nov 17 17:47:58 erlangen NetworkManager[1138]: <info>  [1700239678.0200] dhcp4 (enp8s0): activation: beginning transaction (timeout in 45 seconds)
Nov 17 17:47:58 erlangen NetworkManager[1138]: <info>  [1700239678.0201] dhcp6 (enp8s0): activation: beginning transaction (timeout in 45 seconds)
erlangen:~ # 

There is a way to search in the journalctl output by entering the word you think is causing the problem.

At the end of the journalctl lines do search like:

/Killing

That’s probably the word you will search which is related to the thread title.