There are two ways to control BOINC on Linux:
Each of these requires a 'key' to communicate with the BOINC client.
The client creates this key and stores it in a file
gui_rpc_auth.cfg
in the BOINC data directory.
To locate the key file, boincmgr
and boinccmd
do the following:
boincmgr
looks in a directory specified with the --datadir
command-line option (boinccmd
doesn't have this option).
/etc/boinc-client/config.properties
and look for a line of the form
data_dir=PATHThis tells them where the data directory is. If you install BOINC using a package manager, this is set up automatically.
/var/lib/boinc
.
gui_rpc_auth.cfg
you get a 'not found' error message.
To fix this, either reinstall BOINC, or create a configuration file as above,
or run the program in the BOINC data directory,
or use the --datadir
option in the Manager.
If you get an error message like
gui_rpc_auth.cfg exists but can't be read
,
the problem is file permissions.
You can generally fix this by adding yourself to the 'boinc' group:
sudo usermod -a -G boinc $USER exec su $USER
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.