Posts by syrphid

1) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95263)
Posted 18 Jan 2020 by syrphid
Post:
So far nothing works and I'll give up now.
Boinc should run silently in the background and not become a major task for me (there are more important others waiting). Anyway if boinc et al want that users run this application and that it starts on a regular base i.e. automatically starts, then they should develop a working application. Just to stab around in the dark to find a solution (or actually not finding it) is just too frustrating.
Cheers.

PS: Comments like: "Normally, when Boinc is installed, the service starts at boot automatically." are not helpful, when the threadstarter described that it's not working in his system.
2) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95241)
Posted 17 Jan 2020 by syrphid
Post:
Normally, with Linux and BOINC, just starting the Manager causes the client to start. It sounds like it is running correctly from your Start Menu selection. Does Mint have .desktop files? I would think so since is it Debian under the covers just like Ubuntu. How about creating a .desktop file for Boinc Manager. That is one of the things I had to do when I transitioned from 16.04 to 18.04, I found that in 18.04 the BOINC desktop file was not created. So I made one so that I can Dock the Manager for easy access. I don't have it autostart. This is my Boinc Manager desktop file. Don't know if this might help you. If you have a desktop file, it is just like any other desktop file you have in /usr/share/applications and can be simply added to Startup Applications. You will have to adjust directory locations for your apps.

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=BOINC Manager
Icon=/home/keith/Desktop/BOINC/boincmgr.32x32.png
Path=/home/keith/Desktop/BOINC
Exec=/home/keith/Desktop/BOINC/boincmgr
StartupNotify=false
StartupWMClass=Boincmgr
OnlyShowIn=Unity;
X-UnityGenerated=true

Now I wonder, if a desktop file is the same as the desklets available for Mint? Sorry, perhaps more a question for Less Bayliss.
Anyway I'll try and try...

Forget the last question, it's not the same.
When creating such a desktop file I found an already exiting one in that directory, I guess it's the one I use when starting boinc manually from startup applications (it's in system administration menu) This works as it should except that it's not starting automatically.
Content is:
[Desktop Entry]
Type=Application
Version=1.0
Exec=boincmgr
Path=/var/lib/boinc-client
Icon=boincmgr
Categories=System;Monitor;GTK;
Keywords=computation;science;
Name=BOINC Manager
GenericName=BOINC monitor and control utility
GenericName[cs]=Monitorovací a ovládací nástroj pro BOINC
GenericName[de]=BOINC Ãœberwachungs- und Kontrollprogramm
GenericName[pt]=Monitorização BOINC e utilitário de controlo
GenericName[pt_BR]=Utilitário de controle e monitoramento do BOINC
Comment=Configure or monitor a BOINC core client
Comment[cs]=Monitoruje a nastavuje klienta BOINC
Comment[de]=BOINC Basis Client konfigurieren oder überwachen
Comment[pt]=Configurar ou monitorizar o cliente básico do BOINC
Comment[pt_BR]=Configure ou monitore o cliente básico do BOINC


Would it be a solution to move it to startup applications?
3) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95232)
Posted 17 Jan 2020 by syrphid
Post:
Normally, with Linux and BOINC, just starting the Manager causes the client to start. It sounds like it is running correctly from your Start Menu selection. Does Mint have .desktop files? I would think so since is it Debian under the covers just like Ubuntu. How about creating a .desktop file for Boinc Manager. That is one of the things I had to do when I transitioned from 16.04 to 18.04, I found that in 18.04 the BOINC desktop file was not created. So I made one so that I can Dock the Manager for easy access. I don't have it autostart. This is my Boinc Manager desktop file. Don't know if this might help you. If you have a desktop file, it is just like any other desktop file you have in /usr/share/applications and can be simply added to Startup Applications. You will have to adjust directory locations for your apps.

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=BOINC Manager
Icon=/home/keith/Desktop/BOINC/boincmgr.32x32.png
Path=/home/keith/Desktop/BOINC
Exec=/home/keith/Desktop/BOINC/boincmgr
StartupNotify=false
StartupWMClass=Boincmgr
OnlyShowIn=Unity;
X-UnityGenerated=true

Now I wonder, if a desktop file is the same as the desklets available for Mint? Sorry, perhaps more a question for Less Bayliss.
Anyway I'll try and try...
4) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95215)
Posted 16 Jan 2020 by syrphid
Post:
Don't know anything about Mint . . . . does it have something similar to Startup Applications like Ubuntu? If it does you can pass the startup of the client to the command shell via something like:
sh -c '/usr/bin/boinc'

It sounds like you already have a desktop object to start the Manager and the only thing wrong is the client is not started before invoking the manager. You can always start them manually in a Terminal session to prove things out first. Open a root Terminal session in /usr/bin and type ./boinc to get the client started. Then open another root Terminal session and start the Manager. ./boincmgr and you can see the log of the startup of the client in the Terminal window. If everything works, just get the client running via a Startup Applications entry or make a script to start it via /etc/init.d.


I tried this by adding the boinc-client from the init.d folder to the startup applications, actually without script but just adding it manually by selecting the file in that folder (Mint offers this in the startup appl.). This did not work.

Also tried out to first start the client and then with a few seconds delay the manager, but only the latter starts but is as described empty and does nothing (all options and buttons greyed out except quitting manager).
When I start the manager from start menu it works normal and does its job, i.e. finds client and projects.
This means when a script helps to get it running on startup are there any available, as I've no idea (as usual).

edit: the ./boinc and ./boinmgr both did work but start a manager that asks for projects (actually I killed the first terminal session "rudely" as the prompt was gone; hopefully this did not kill the client too, as now it seems to be gone too)
5) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95212)
Posted 16 Jan 2020 by syrphid
Post:
ah okay, thanks for the information. and yes it's that entry, so no daemon.
Anyway I'm used to it, as I don't have to care about then (and don't forget it).
6) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95210)
Posted 16 Jan 2020 by syrphid
Post:
What does the Event Log say at line 4?
That's where you can tell if it's running as a daemon.

And just to be picky, the latest version of Mint is 19.3, Tricia
(Which I don't like as much as the version 18s.)


Hmm, there it's written where the data directory is, or got I the wrong log file?
And yes I use Mint 19.3., as it's freshly installed.
7) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95205)
Posted 16 Jan 2020 by syrphid
Post:
so when I select manually in the startup menu the boinc-client in the init.d folder this should (hopefully) work?


I think so, it has always started by default on my Ubuntu machines. Certainly when I wanted to be able to run the windows version under WINE removing it stopped the problems of it starting up and preventing the windows client from running.


I tried now, but it did not work. Also tried it in combination with the Boinc manager (with and without delay in startup), but only the empty manager starts then. Though at the moment nothing is working anymore...hopefully no reinstall necessary.
8) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95203)
Posted 16 Jan 2020 by syrphid
Post:
Never used Mint but I would start by looking in /var/lib/boinc which is the default location.
Have you checked to see if the client is running? Try running

sudo/etc/init.d/boinc-client start
and see if this gets it going.


Thanks. In the location there's a Boinc and Boinc client folder. anyway (sorry I quite new with Linux and still think in Windows patterns) which is the executable file then?
When I start Boinc Manager manually from the start menu everything works and projects are loaded and computed. But the automatic start of the manager fails.


I think you need to make sure the client is one of the programs that runs at start up. On my Ubuntu box that is under setttings>session and startup which is slightly easier than editing the init file. (In my opinion.)


so when I select manually in the startup menu the boinc-client in the init.d folder this should (hopefully) work?
9) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95201)
Posted 16 Jan 2020 by syrphid
Post:
Never used Mint but I would start by looking in /var/lib/boinc which is the default location.
Have you checked to see if the client is running? Try running

sudo/etc/init.d/boinc-client start
and see if this gets it going.


Thanks. In the location there's a Boinc and Boinc client folder. anyway (sorry I quite new with Linux and still think in Windows patterns) which is the executable file then?
When I start Boinc Manager manually from the start menu everything works and projects are loaded and computed. But the automatic start of the manager fails.
10) Message boards : Questions and problems : Boinc start on boot using Linux Mint. (Message 95199)
Posted 16 Jan 2020 by syrphid
Post:
Hi,
I installed Boinc 7.9.3 (x64) successfully on a new Linux Mint Cinnamon (19.4) from its software package repository and then using my BAM account got my previous projects. Everything fine.

But now I want Boinc as in Win7 to start automatically when computer boots, because it so far it never did it, though this website https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu tells a different story (could not find Boinc in the control centre).
I then added the BoincMgr to the list of programs to be started when computer is booting. Anyway the manager remains empty and tells that he cannot find the client.
Therefore my questions: Which Boinc I've to add to the program start list and where can I find it on the harddisc?
Thanks for any comments (and sorry for the partly inaccurate Linux and Boinc program part translations as they're all in a different langauge here ;-) )




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.