Quantcast
Channel: MX Linux Forum
Viewing all articles
Browse latest Browse all 4142

Security • Best way to kill a root process from a GUI?

$
0
0
So I recently learned how to kill a root process from the terminal. This was because I couldn’t do it from a GUI. I tried xfce4-taskmanager, qps and lxtask. Neither of these task managers would launch with pkexec.

I tried to launch them from the terminal and got various error messages. They were related to either gtk or Qt. I also thought that maybe PolicyKit permission was missing. I remember using xfce4-taskmanager with “pkexec” or “su-to-root -X -c” in MX-21. This doesn’t work in MX-23.

It’s unfortunate that these task managers can’t elevate permission when needed just like the MX apps. I think Ksysguard was able to do it, but it is no longer in the repos. Stacer also seems to have trouble killing root processes (and it will be gone from Trixie it seems). I tried these apps mostly with systemd.

If someone knows how to kill root processes from a GUI in MX-23 I would be interested to know how to do it.

Statistics: Posted by dreamer — Thu Apr 03, 2025 2:40 am



Viewing all articles
Browse latest Browse all 4142

Trending Articles