Open ghost opened 3 years ago
I marked this as stale due to inactivity. → More info
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/ksysguard-network-helper-process-terminated-abnormally/14582/2
This issue also affects systemmonitor
and plasma-systemmonitor
The issue is that ksysguard needs the cap_net_raw capability. https://discuss.kde.org/t/in-system-monitor-why-the-app-specific-upload-download-rates-might-not-work/5860/5
To get plasma-systemmonitor to show the app-specific download/upload rates I added the following to my configuration:
security.wrappers.plasma-systemmonitor = {
source = "${pkgs.kdePackages.plasma-systemmonitor}/bin/plasma-systemmonitor";
capabilities = "cap_net_raw+ep";
owner = "root";
group = "root";
};
Describe the bug
Network traffic pane of ksysguard is empty. Ksysguard prints this to stdout:
The helper executable in the ksysguard package fails with the same error message:
The executable works correctly if ran as root:
The main user is in the following groups:
This used to work correctly but stopper working a couple months ago.
Expected behavior
ksysguard displays network traffic correctly when started as a normal user.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.