So I decided to set up BOINC on me Arch. Of I went to the wiki and followed the instructions.
Seemed simple enough.
Install the boinc program.
Create a boinc group.
Add meself to the boinc group. The wiki gives this command which I do not fully understand.
# usermod -a -G boinc $(whoami)
It is the last part I do not recognise. So I used a different method.
Start the boinc.service.
So far so good. I checked that I had done all the initial set up, made the group,added members to the group and checked the service was running.
Not being a geek I wanted to use the gui option so followed the wiki as below,
$ cd ~/
$ ln -s /var/lib/boinc/gui_rpc_auth.cfg gui_rpc_auth.cfg
# chmod 640 gui_rpc_auth.cfg
Which does not work.
It creates a symlink which does not work and you can not alter the permissions to make it work. So is the wiki is wrong or am I missing something.
To get boinc working after the initial set up phase I did ,
# cd /var/lib/boinc
# cp gui_rpc_auth.cfg /home/youruser
# cd /home/youruser
# chmod 440 gui_rpc_auth.cfg
# ls -l gui_rpc_auth.cfg
-r--r----- 1 boinc boinc 32 Jul 20 13:04 gui_rpc_auth.cfg
That got me a working gui and boinc is running and producing results.
I do not want boinc running at full speed or at the default of 60% so I made some changes,
To set cpu usage to less than the default 60% you need to alter " /var/lib/boinc/global_prefs.xml"
Both sections "global prefferences" and "venue name="home". I set mine to
I also did this
# systemctl enable boinc
Which makes boinc run when I boot the pc. I have turned the pc of and on twice and boinc starts and runs without any intervention so it looks like I have a automatically working boinc.
So I have a boinc that sort of works but I have questions.
As you can see above the "gui_rpc_auth.cfg" in /var/lib/boinc is set at 600. I set the copied file in my home to 440. I could not see why the file neede to be changed so I made it read only.
Does the file need to have write permissions ?
Boinc starts when I boot and runs. Only for so long , every now and againg it stops and tells me "Suspended comptuer not in use" which is ridiculous as I am working on the pc. I can start it again with "systemctl start boinc" but that is not ideal. When boinc stops I have left it to see if it will restart but as far as I can tell it does not.
What can I do to keep boinc running ?
Lastly and this is not important but it is puzling. When I first got the gui up viewing the "advanced view" looking at the "disk" tab I had a graphic showing. Now the graphic has disappeared.
Where has the graphic gone and can I get it back ?
Any comments or help would be most welcome.