Notes on how to run BOINC on Opensuse (Leap 42.2) from command line as deamon.
Install the packages from packman repository
zypper in boinc-client boinc-manager
After installation verify that user and group boinc is created
cat /etc/passwd | grep boinc
cat /etc/groups | grep boinc
Add the user boinc to the group boinc.
usermod -G boinc -a boinc (repeat with any other user if necessary)
verify that boinc-client is already running as a daemon
ps -aux | grep boinc or systemctl status -l boinc-client.service
verify that all files under /var/lib/boinc are owned boinc:boinc
change permissions of /var/lib/boinc/gui_rpc_auth.cfg
chmod 664 /var/lib/boinc/gui_rpc_auth.cfg
Optional, create simbolic link for user account logged in while running boinc
ls -s /var/lib/boinc/gui_rpc_auth.cfg /home/<user>/gui_rpc_auth.cfg
Now, if previously attached to a project, retrieve your key:
boinccmd –lookup_account <project url> <email> <password>
Or create an account if needed:
boinccomd –create_account <project url> <email> <password> <name>
Attach to the project
boinccmd –project_attach <project url> <key>
Voila! you should be running now as a daemon and connected to the project.
Verify by issuing:
boinccmd –get_project_status or boinccmd –get_state