Created attachment 8744 error dialog. Hello! I am using xfce4-taskmanager 1.2.2-1 on Debian Buster. When I try, for example, to set priority to "Very High" in a task then I get an error "It is likely you don't have the required privileges". It should normally ask for my password using xfce4 polkit like `gnome-system-monitor` does. Steps to Reproduce: 1. Open xfce4-taskmanager 2. Try to do an action which requires elevated privileges like setting priority, killing root task, etc... 3. See that it throws an error instead of asking your password Please find the attached screenshot of the error dialog.
(In reply to Avinash Sonawane from comment #0) > Created attachment 8744 > error dialog. > > Hello! > > I am using xfce4-taskmanager 1.2.2-1 on Debian Buster. > > When I try, for example, to set priority to "Very High" in a task then I get > an error "It is likely you don't have the required privileges". It should > normally ask for my password using xfce4 polkit like `gnome-system-monitor` > does. > > Steps to Reproduce: > 1. Open xfce4-taskmanager > 2. Try to do an action which requires elevated privileges like setting > priority, killing root task, etc... > 3. See that it throws an error instead of asking your password > > Please find the attached screenshot of the error dialog. Here on Crux Linux the problem is the same, the program can't elevate priviliges...
taskmanager calls setpriority[1] at https://git.xfce.org/apps/xfce4-taskmanager/tree/src/task-manager.c?id=876515a#n550, it fails to me with errno EACCES. I don't know what would be the solution here, I mean if it's possible to elevate permissions just when the user tries to set the priority of a process. 1 - https://linux.die.net/man/2/setpriority
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-taskmanager/-/issues/21. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev