Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission issue with ksysguard #138611

Open
ghost opened this issue Sep 20, 2021 · 3 comments
Open

Permission issue with ksysguard #138611

ghost opened this issue Sep 20, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 20, 2021

Describe the bug

Network traffic pane of ksysguard is empty. Ksysguard prints this to stdout:

Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kglobalaccel was not provided by any .service files")
Icon theme "breeze" not found.
Icon theme "breeze" not found.
org.kde.ksysguard.plugin.network: Helper process terminated abnormally!
org.kde.ksysguard.plugin.network: "The process doesn't have permission to open the capture source\n"
org.kde.ksysguard.plugin.network: Helper process terminated abnormally!
org.kde.ksysguard.plugin.network: "The process doesn't have permission to open the capture source\n"

The helper executable in the ksysguard package fails with the same error message:

$ /nix/store/9d55kjm189a5rxp6c6dz0h8r2lmlpbkg-ksysguard-5.21.5/libexec/ksysguard/ksgrd_network_helper
The process doesn't have permission to open the capture source

The executable works correctly if ran as root:

[root@nixos:/home/fctorial]# /nix/store/9d55kjm189a5rxp6c6dz0h8r2lmlpbkg-ksysguard-5.21.5/libexec/ksysguard/ksgrd_network_helper
12:43:55
12:43:56
12:43:57
12:43:58
12:43:59

The main user is in the following groups:

$ groups
users audio video networkmanager docker adbusers

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.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.14.5, NixOS, 21.05.3248.6120ac5cd20 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@ghost ghost added the 0.kind: bug label Sep 20, 2021
@stale
Copy link

stale bot commented Apr 25, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Apr 25, 2022
@nixos-discourse
Copy link

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

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 29, 2023
@Zahrun
Copy link
Contributor

Zahrun commented Jan 29, 2023

This issue also affects systemmonitor and plasma-systemmonitor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants