Posts by braiam

InfoMessage
1) Message boards : BOINC Manager : Opinions requested from home Linux users
Message 92428
Posted 9 Aug 2019 by braiam
That wouldn't work for me on Debian because sudo isn't installed by default. But of course I have a way to do something like that


Systemd has a way to do activate the polkit authorization dialog box. Most software that wants to start/stop services, could just ask systemd to ask permission in their behalf. I'm not sure if systemd has an api, most Gnome software I have use dbus calls. And despite all these solutions, I recommend the manager to not have those, since there's no guarantee that the manager and client would run in the same system (bare metal or virtualized one).

Personally, I think the manager should become instead a GUI interface to an RPC listener. Deluge is an excellent example of that. There's a single paragraph about the way deluged built their gui https://dev.deluge-torrent.org/wiki/Development/1.3/UIClient but it's enough to know what they are doing in high level.


Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.