Message boards : Questions and problems : Ubuntu 20.10 but getting error on BOINC
Message board moderation
Author | Message |
---|---|
Send message Joined: 23 Oct 20 Posts: 7 |
Just upgraded to Ubuntu 20.10 with a clean install and now BOINC does not work. BOINC MANAGER - Conection Error gui_npc_auth.cfg exists but can't be read. Check the file permissions. I found posts about this but for different versions of Ubuntu and I am not that good at Ubuntu. I do not know how to check file permissions. Any help would be appreciated |
Send message Joined: 17 Nov 16 Posts: 890 |
Simplest way is to use the Files app and navigate to the /etc/boinc-client directory and right-click the file. Look at the Permissions tab and see who owns the file. Owner should be root and group should be boinc. Also the latest BOINC does not allow the gui_npc_auth.cfg file to be empty now. It should either have a random generated password in the file or one you create yourself. This is for security reasons and makes sure that the Manager is allowed to connect to the client. |
Send message Joined: 23 Oct 20 Posts: 7 |
okay says owner is root group is BOINC but its Read only for BOINC. It wont let me change it because I am not the owner. So how do I log in as root and change the properties. Im guessing I need it to be read and write for BOINC |
Send message Joined: 28 Jun 10 Posts: 2698 |
okay says owner is root group is BOINC but its Read only for BOINC. It wont let me change it because I am not the owner. So how do I log in as root and change the properties. Im guessing I need it to be read and write for BOINC I see the problem as being because the manager is run by the user so you need to add yourself to the boinc group. Usermod is the commmand and usage is, sudo usermod -a -G examplegroup exampleusername So in my case, sudo usermod -a -G boinc fredblogsReplace fredblogs with your username. Edit: It will ask you for your password Here the upgrade to Groovy didn't cause any problems but that may be because I had added myself to the boinc group previously. |
Send message Joined: 23 Oct 20 Posts: 7 |
ok. did that but still no change. When I launch BOINC i still get the same error. |
Send message Joined: 5 Oct 06 Posts: 5129 |
You possibly need to restart the computer for those last changes to take effect. |
Send message Joined: 23 Oct 20 Posts: 7 |
Ok that changed the error. Now it says Invalid client RPC password. Try reinstalling BOINC And i went to Ubuntu Software and removed BOINC then reinstalled it. Error didnt go away. |
Send message Joined: 17 Nov 16 Posts: 890 |
Now that you have write access to the file. Put in your own password into the file. Save and reboot. |
Send message Joined: 23 Oct 20 Posts: 7 |
I went thru the Files to that directory and double clicked on the file but it still says it is read only. So I still don't know how to edit the file. And I am supposed to type in my password for this Ubuntu user login? |
Send message Joined: 17 Nov 16 Posts: 890 |
Owner is root. So you have to access it as root. sudo gedit gui_rpc_auth.cfg You might find the nautilus-admin application useful in the future. That way you can right-click any file or directory with the Files application and you will be prompted to edit it as Administrator or in other words as superuser sudo apt install nautilus-admin |
Send message Joined: 23 Oct 20 Posts: 7 |
Ok the file now has my main user password for this user. it just says 1 Password and by Password it is my password. but I still get the same error Invalid client RPC password. Try reinstalling BOINC and yes i rebooted. |
Send message Joined: 17 Nov 16 Posts: 890 |
You didn't I hope hit a return key or Enter. The new editor by default puts in line numbers. There is a toggle to not display line numbers in the Text Editor's Preferences. It shouldn't have actually put a 1 in the file though. That is just for display. However, any extraneous character like a CR-LF character at the end of the password,which is hidden, can mess up the password. So just input your password for your user and then just Save the file. Also look at the permissions after the edit. It still should have the root:boinc ownership. If it has been changed to root:root you need to change it back. sudo chown root:boinc gui_rpc_auth.cfg |
Send message Joined: 29 Aug 05 Posts: 15561 |
Following how difficult this is, can anyone do a write up of it so I'll put it in the Wiki? And shouldn't we ask the developers if there's an easier way to do this? Because it doesn't sound like BOINC on Linux can be used by everyone, while the point of BOINC is that it should be usable by anyone (with permission). |
Send message Joined: 17 Nov 16 Posts: 890 |
I haven't messed with Ubuntu 20.10 yet. Still on Ubuntu 20.04 LTS. There might be changes that I am not aware of. That said, I only have one host using a repository version of BOINC that I can refer to for troubleshooting help. That is the Raspberry Pi with the distros BOINC 7.14.2. I don't have any experience yet with the 7.16 branch which is in the distros now for Ubuntu and Debian now. I normally use a local installed version of BOINC which is of not much use for troubleshooting the service install versions that most people use. The latest version which requires a password in the gui_rpc_auth.cfg file sure is causing lots of troubles it seems from the plethora of posts for help lately. |
Send message Joined: 17 Nov 16 Posts: 890 |
Can you remember if the gui_rpc_auth.cfg file was empty after you reinstalled the BOINC application? Or did it have some random password letters in it? Also, please verify what version of BOINC you are retrieving from the Ubuntu Groovy Gorilla repository? If the new version requires a password, it should install a random generated password in the file if the install is being done correctly by the developers. |
Send message Joined: 8 Nov 19 Posts: 718 |
After an uninstall, make sure you purge. Either by doing the 'sudo apt autoremove' command, or by uninstalling via the 'sudo apt purge boinc-client' command. If you don't purge the files, a reinstall will re-use the existing files. |
Send message Joined: 11 Dec 15 Posts: 13 |
A null message. Deletable... |
Send message Joined: 11 Dec 15 Posts: 13 |
Another null message; please ignore. Why can't I delete it myself? |
Send message Joined: 11 Dec 15 Posts: 13 |
[quote]Can you remember if the gui_rpc_auth.cfg file was empty after you reinstalled the BOINC application? Or did it have some random password letters in it? |
Send message Joined: 17 Nov 16 Posts: 890 |
I suggest you navigate to the /var/lib/boinc-client directory and open a Terminal and try executing the client. sudo systemctl start boinc-client You should see the client start and print out the normal startup messages. If that doesn't work, then navigate to /usr/bin and open a Terminal and try running the client executable directly there, without starting the service. Should see the standard client startup messages. ./boinc If you can get the client running, then open another Terminal session in /usr/bin and run the Manager executable there. ./boincmgr The Manager should have no issues connecting to the client. That has always been my fail-proof method of proving the viabilities of the BOINC executables. |
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.