Bug 489389

Summary: system monitor applications view won't show apps under a non-systemd based system
Product: [Applications] plasma-systemmonitor Reporter: Sylens <oat-lip-confront>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: ahiemstra, kdedev, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: git-stable-Plasma/5.27   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: App view is unsupported on sysVinit

Description Sylens 2024-06-28 17:42:42 UTC
Created attachment 171138 [details]
App view is unsupported on sysVinit

SUMMARY
Hi, I'm testing on MX Linux now, and they are known to use sysvinit by default. 
What I noticed, is that plasma-systemmonitor is unable to show applications ("Applications view is unsupported on your system") when I'm in an init session, but it works when I'm in a systemd session. Is it possible to somehow bridge the two, so applications would show up on an init based system too?

STEPS TO REPRODUCE
1. Boot into a sysV init system
2. Launch System Monitor
3. Applications won't show up

OBSERVED RESULT
Applications view is unsupported on your system

EXPECTED RESULT
Applications view should be displayed on a non-systemd based system too.

Operating System: MX Linux 23
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.9.6-1-liquorix-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 3.8 GiB of RAM
Graphics Processor: SVGA3D; build: RELEASE; LLVM;
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2
Comment 1 Nate Graham 2024-07-02 23:54:14 UTC
Yup, this feature requires features in systemd.
Comment 2 Arjen Hiemstra 2024-07-03 10:14:53 UTC
To elaborate a bit, what it requires specifically is a cgroup layout for processes that so far is only exposed by systemd. See https://systemd.io/DESKTOP_ENVIRONMENTS/ for the details, especially the section "XDG standardisation for Applications".