How to auto-start BOINC Mgr in Linux Mint?

Questions and Answers : Unix/Linux : How to auto-start BOINC Mgr in Linux Mint?
Message board moderation

To post messages, you must log in.

AuthorMessage
Kieron Walsh

Send message
Joined: 2 Mar 00
Posts: 72
Credit: 43,103,332
RAC: 53,800
United Kingdom
Message 2006066 - Posted: 6 Aug 2019, 22:56:38 UTC

Help please:
I recently installed Linux and the fantastic ‘All-in-one’ package but am still having to launch BOINC Manager manually so would like to have it start when I boot into Linux (as it does when I choose Windows from my dual-boot options).

I've tried adding BOINC Manager to the Startup Applications. Unfortunately, this simply trashes my cache of work units, downloads/installs a new version of the client (i.e. Not the All in one!), and requests CUDA 60 instead of 90 units. I then had to delete all of that and re-run the All in one package. Apologies to the wingmen for the trashed units.

There are several options I’ve read about:

a) Use Software Manager to install the BOINC Manager , so it overwrites that already installed.
b) Run the binstall.sh script to install the service and start the daemon.
c) Delete a file in the Home directory called ‘BOINC Manager username’ as it allegedly can become corrupted(?).

Will any of these achieve my goal, or will they instead ruin my newly turbo-charged set-up?
ID: 2006066 · Report as offensive
Profile Mr. Kevvy Crowdfunding Project Donor*Special Project $250 donor
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 3163
Credit: 1,105,147,575
RAC: 1,792,821
Canada
Message 2006071 - Posted: 6 Aug 2019, 23:11:21 UTC - in response to Message 2006066.  
Last modified: 6 Aug 2019, 23:15:10 UTC

You can't install from Software Manager or Synaptic or any other package manager... that is the "repository" BOINC and it spreads files in multiple folders. If you did, uninstall it. Then reinstall the AIO, which is as easy as dragging the BOINC folder out of the .7z into your Home folder or anywhere else you like as long as it's not on an NTFS or FAT volume (no executables there.) I recommend Home though for simplicity.

Edit run_manager in the BOINC folder. It contains
cd "/home/user/BOINC" && exec ./boincmgr $@

Change that "user" to your logon name and save.
Exit, right-click, Properties > Permissions and make sure "Allow executing..." is checked.

To autostart: Go into the start menu and type "start" and launch "Startup Applications" when it appears. Click + > Custom Command. Click Browse and find that run_manager.
You may have to put a "./" in the path so that Linux doesn't look elsewhere for the command. For example if it's:
/home/kieron/BOINC/run_manager

change it to
/home/kieron/BOINC/./run_manager

(no space before the ./)

You can follow this process to recover lost work units.

Hope this helps. :^)
ID: 2006071 · Report as offensive
Kieron Walsh

Send message
Joined: 2 Mar 00
Posts: 72
Credit: 43,103,332
RAC: 53,800
United Kingdom
Message 2006073 - Posted: 6 Aug 2019, 23:15:41 UTC - in response to Message 2006071.  

Thanks, I'll give that a try tomorrow.
ID: 2006073 · Report as offensive
Kieron Walsh

Send message
Joined: 2 Mar 00
Posts: 72
Credit: 43,103,332
RAC: 53,800
United Kingdom
Message 2006115 - Posted: 7 Aug 2019, 7:30:36 UTC

Thanks Mr. Kevvy; the auto-start instructions were very clear and worked perfectly!

I'll take a look at the ghost recovery link too.

Thanks again for the help.
ID: 2006115 · Report as offensive
Profile Mr. Kevvy Crowdfunding Project Donor*Special Project $250 donor
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 3163
Credit: 1,105,147,575
RAC: 1,792,821
Canada
Message 2006123 - Posted: 7 Aug 2019, 9:41:58 UTC

You're welcome and glad it worked. :^)
ID: 2006123 · Report as offensive

Questions and Answers : Unix/Linux : How to auto-start BOINC Mgr in Linux Mint?


 
©2020 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.