Running VBox as user boinc on Gentoo Linux
I have been interested in running ATLAS@Home and vLHC@Home on Gentoo Linux for quite a while. There were two main problems: 1) The version of BOINC for Gentoo is rather old, and 2) VirtualBox was practically impossible to set up for running as the BOINC user in the out-of-box configuration. I have managed to solve both of these problems!
/etc/init.d/boincstartup script for OpenRC to change the su command to use a
-loption instead of a
-moption when starting the BOINC subsystem. This makes the BOINC software run as if it were a real logged-in user rather than as some sort of hybrid.
4) Add a
.VirtualBoxdirectory to the
$HOMEdirectory selected for BOINC in step 1 so that VirtualBox has a more normal environment. VirtualBox will still place the virtual machines for ATLAS and vLHC in the
slotsdirectory, but it won't complain at startup about there not being a .VirtualBox directory.
Of additional note: the
boincmgrcommand will open project websits and such as user boinc so one might want to customize the browser used by the boinc user to your taste. [E.g.: set up google-chrome or firefox with settings that match your personal preferences.]
I have been running this way for two weeks now, and ATLAS@Home and vLHC@Home are working correctly on two different Gentoo installations. Enjoy.
|ID: 1754 · Rating: 0 · rate: / Reply Quote|
Gentoo has caught up to a modern version of BOINC (7.6.31) and Atlas@Home is running in VirtualBox (5.0.20) quite well with the setup I previously described.
|ID: 4505 · Rating: 0 · rate: / Reply Quote|
|ID: 4508 · Rating: 0 · rate: / Reply Quote|