Thread 'After I restart, BOINC Manager won't open again, ever. Wiped system, reinstalled, same issue.'

Message boards : Questions and problems : After I restart, BOINC Manager won't open again, ever. Wiped system, reinstalled, same issue.
Message board moderation

To post messages, you must log in.

AuthorMessage
Dayle Diamond

Send message
Joined: 5 Apr 13
Posts: 16
United States
Message 83219 - Posted: 25 Nov 2017, 23:40:57 UTC

This morning after a reboot, I'd click on BOINC's manager application and it didn't open.
A few more clicks, a few restarts, no fix. It's still running CPU and GPU tasks in the background and is connecting with the network.

I search for the issue and the only post I see with similar symptoms is this guy:
https://www.reddit.com/r/BOINC/comments/5tmbu0/boinc_manager_wont_open_ubuntu_1604/

His system crashed, causing the problem. Whereas I'm manually clicking on the power controls in the upper right hand corner and selecting Power Off (presumably that's what we're all supposed to do).

Advise was either find "a lock file somewhere" or else wipe the machine and try again.

After purging BOINC and its config files, reinstalling, rebooting all failed to work, I wiped the machine. Reinstalled ONLY Graphics Drivers+Gnome tweaks, VLC Player, and BOINC. Nothing else custom.

Powered off the PC and moved it on a shelf to prepare for a headless setup.
And the problem comes right back.

Still can't open the manager.
I can't function for long in terminal-only mode - I've assembled this computer for my relatives, and they expect a GUI so they can see their contributions to science.

Thanks in advance,

Dayle


I'm running:
Ubuntu 17.10
Client Version 7.8.3
CPU: 1950x, GPU 1070 Ti.
World Community Grid & GPUGrid & Einstien@home.
ID: 83219 · Report as offensive
MarkJ
Volunteer tester
Help desk expert

Send message
Joined: 5 Mar 08
Posts: 272
Australia
Message 83228 - Posted: 26 Nov 2017, 10:22:29 UTC
Last modified: 26 Nov 2017, 10:26:45 UTC

Probably overkill wiping the machine...

To get the manager to talk to the core client I ended up adding a desktop shortcut (under Debian). After that I adjusted its properties to include “—password xxx” where xxx is whatever is in gui_rpc_auth.cfg (usually in /var/lib/boinc-client).

If the file is empty you may need to put a value in it and make sure the shortcut has the same password. Do a “sudo service boinc-client restart” after changing gui_rpc_auth for the core client to pick it up.

You could try running the manager with sudo if no password but I couldn’t get it to work with an empty gui_rpc_auth file.
MarkJ
ID: 83228 · Report as offensive
Dayle Diamond

Send message
Joined: 5 Apr 13
Posts: 16
United States
Message 83244 - Posted: 26 Nov 2017, 18:42:05 UTC - in response to Message 83228.  
Last modified: 26 Nov 2017, 18:42:46 UTC

I think we may be honing in on the problem here. I'm not allowed to view gui_rpc_auth.cfg when I try to open it in Text Editor.

Could not open the file “/var/lib/boinc-client/gui_rpc_auth.cfg”.
You do not have the permissions necessary to open the file.

When I try to change permissions, it says "You are not the owner, so you cannot change these permissions".

It does say it was last modified several months before my computer was assembled, and that the size is 1 byte. Not sure how to tell who the owner is, or if/how I lost its contents via restarting my system. As you wrote, it doesn't work with an empty file.

Should I delete this file and hope BOINC creates a new one?
ID: 83244 · Report as offensive
MarkJ
Volunteer tester
Help desk expert

Send message
Joined: 5 Mar 08
Posts: 272
Australia
Message 83248 - Posted: 26 Nov 2017, 19:45:42 UTC
Last modified: 26 Nov 2017, 19:48:00 UTC

Boinc runs under user BOINC, so change the contents using “sudo nano /var/lib/boinc-client/gui_rpc_auth.cfg” in a terminal window, assuming you use nano as your text editor.
MarkJ
ID: 83248 · Report as offensive
Dayle Diamond

Send message
Joined: 5 Apr 13
Posts: 16
United States
Message 83284 - Posted: 27 Nov 2017, 20:07:06 UTC

Didn't work, the shortcut wouldn't open with or without a password attached to the command (needs two dashes, yes?), but out of curiosity I tried typing "boincmgr" into the Terminal instead of "boinccmd".
Up pops a NEW error message.

terreno@terreno:~$ boincmgr
/usr/share/themes/Ambiance/gtk-2.0/apps/mate-panel.rc:30: error: invalid string constant "murrine-scrollbar", expected valid string constant

It's a confirmed (sorta) bug affecting people running various apps in 17.10, and blocking them from opening various applications.
See this bug report, where the Murrine text appears alongside other errors and the same symptoms.
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1724078

Am I on the right track? Because editing a non-BOINC, standard system file that I don't recognize (see reply #4 in the link) seems like it could have consequences down the road.

Thank you for your patience,

Dayle
ID: 83284 · Report as offensive
MarkJ
Volunteer tester
Help desk expert

Send message
Joined: 5 Mar 08
Posts: 272
Australia
Message 83364 - Posted: 29 Nov 2017, 10:15:47 UTC
Last modified: 29 Nov 2017, 10:18:56 UTC

The desktop shortcut you add should have been boincmgr. Boinccmd is a command-line interface, usually used in scripts or cron. The version of BOINC from the repo doesn’t include any desktop launcher, you add one as per below.

With the mate desktop if you click on applications (on the bar across the top of the screen) it then gives a list of categories and under System it has boincmgr. If you right-click on that it offers to add a desktop launcher. Once its added to your desktop you can then edit its properties to add the —password. Yes it is two hyphens before the word “password” and leave a space between it and the actual password.

You run boincmgr from the desktop. You tried to run it under a terminal session. There is a program boinctui that can run under a terminal or ssh session to show what the client is doing.
MarkJ
ID: 83364 · Report as offensive
Dayle Diamond

Send message
Joined: 5 Apr 13
Posts: 16
United States
Message 83391 - Posted: 29 Nov 2017, 22:00:00 UTC - in response to Message 83364.  

Yes, desktop shortcut has been boincmgr all along.
The 'Ubuntu Software' store DOES come with a desktop launcher, which is why it was working fine prior to a reboot.

I can't speak for the 'mate' desktop, as I'm running the default desktop that comes with 17.10 (gnome).
I installed and ran BOINCTUI under a terminal. I clicked enter with the default settings it suggested, and it said BOINC wasn't connected to any projects.
This would be a surprise to World Community Grid. Despite the missing GUI, the computer is averaging eight hundred VINA tasks a day.
ID: 83391 · Report as offensive
Variable

Send message
Joined: 15 Nov 13
Posts: 9
United States
Message 83869 - Posted: 13 Dec 2017, 21:55:25 UTC

Is there any known resolution to this problem? I'm experiencing the same thing in 16.04 Ubuntu. The manager GUI worked fine for a few days, then last night the system locked up. This morning after restarting, no more GUI. The Boinc client is still running & doing work and I can see it's contacting project servers, but I have no idea how to get the GUI back, to actually control the machine. Much frustration.
ID: 83869 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 83882 - Posted: 14 Dec 2017, 17:13:39 UTC - in response to Message 83869.  

Check your home directory if there is a file named "BOINC Manager-username" where username is your account name on that computer. If the file exists remove it.
ID: 83882 · Report as offensive
robsmith
Volunteer tester
Help desk expert

Send message
Joined: 25 May 09
Posts: 1299
United Kingdom
Message 83889 - Posted: 14 Dec 2017, 18:48:52 UTC

I sometimes have this with one or other of my Linux boxes. The "solution" that works for me is to sudo the BOINC manager and keep it minimised, not closed.
ID: 83889 · Report as offensive
Shannon Jacobs
Avatar

Send message
Joined: 10 Dec 14
Posts: 6
Japan
Message 84397 - Posted: 15 Jan 2018, 22:36:54 UTC - in response to Message 83219.  

I've been seeing the same thing, and it's been getting worse with later releases of Ubuntu. At this point I'm pretty sure that it's basically a memory problem, with not enough memory available for the BOINC Manager to run.

Not a fix, but on my most troubled Ubuntu machine, I do have a poor workaround. There is a point during the startup when I have a pretty good chance of getting the BOINC Manager to open. It's just after the second group of desktop icons have been displayed. The first group uses standard icons, and then there is a second group of thumbnail-image-based icons. If I click at that time (and ONLY at that time), then the BOINC Manager usually opens and runs normally.

When it fails, you can see the sidebar icon throbbing for about 20 seconds after the click. If that has happened and the throbbing has stopped and the BOINC Manager has not opened, then it will almost never open after that. The only "solutionW is to reboot and try to hit the magic window again.
#1 Freedom = (Meaningful + Justified - Coerced) Choice{~5} ≠ (Beer^4 | Speech | Trade)
ID: 84397 · Report as offensive
ProfileYavanius
Avatar

Send message
Joined: 19 May 15
Posts: 123
Antarctica
Message 84474 - Posted: 21 Jan 2018, 22:34:01 UTC - in response to Message 83219.  

This was for getting the graphics to work, but the last couple of posts have info on setting up the permissions for your own account so you can edit things:

https://boinc.berkeley.edu/dev/forum_thread.php?id=10704#66539

It's probably something the dev team should look into...
ID: 84474 · Report as offensive

Message boards : Questions and problems : After I restart, BOINC Manager won't open again, ever. Wiped system, reinstalled, same issue.

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.