Problem: BOINC Manager Connecting to localhost

Message boards : Questions and problems : Problem: BOINC Manager Connecting to localhost
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile foxfire

Send message
Joined: 22 Jun 14
Posts: 3
United States
Message 54544 - Posted: 22 Jun 2014, 17:22:23 UTC

I have a new Xubuntu install running a package install of x86_64-pc-linux-gnu V7.2.42. After the initial install the manager connected to the localhost when started. I then modified gui_rpc_auth.cfg and remote_hosts.cfg to allow eFMer BoincTasks access from selected PCs on my LAN. Following the changes BoincTasks connects fine but the manager will not unless I manually connect the manager to computer 127.0.0.1/password (localhost/password will not connect).

gui_rpc_auth.cfg and remote_hosts.cfg are in the /etc/boinc-tasks directory with sym-links in the /var/lib/boinc-tasks directory.

Permissions are:
gui_rpc_auth.cfg Owner: root, Access: Read & Write; Group: boinc Access: Read only; Others: None
remote_hosts.cfg Owner: root, Access: Read & Write; Group: boinc Access: Read only; Others: Read only

The distribution gui_rpc_auth.cfg was an empty file (LF only). I have tried the changes both with and without an additional LF without success.

Assistance in resolving this annoyance will be greatly appreciated.
Bill P
ID: 54544 · Report as offensive
Profile äxl
Avatar

Send message
Joined: 13 May 10
Posts: 40
Germany
Message 54546 - Posted: 22 Jun 2014, 19:30:30 UTC - in response to Message 54544.  

Have you tried playing around with permissions? Maybe only give boinc access or extend rights.

I also have a symlink of gui_rpc_auth.cfg in my home directory.
My reasons to participate in grid computing:
1. I'm using true renewable energy (German accreditation; no certificate purchasing)
2. Production and disposal (will) amount to about 95% of the energy "used" during the lifetime of my PC
3. Helping
ID: 54546 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 54547 - Posted: 22 Jun 2014, 19:36:32 UTC - in response to Message 54544.  

Following the changes BoincTasks connects fine but the manager will not unless I manually connect the manager to computer 127.0.0.1/password (localhost/password will not connect).

Hostname/password handling in manager is... er, quirky. I'll include this in the next bug report.

Permissions are:
gui_rpc_auth.cfg Owner: root, Access: Read & Write; Group: boinc Access: Read only; Others: None

If Manager can read this file you shouldn't need to tell Manager what host/password to use. Is your user account in group boinc?
ID: 54547 · Report as offensive
Profile foxfire

Send message
Joined: 22 Jun 14
Posts: 3
United States
Message 54549 - Posted: 23 Jun 2014, 2:03:00 UTC - in response to Message 54547.  

Thank you for the responses Juha and axl.

If Manager can read this file you shouldn't need to tell Manager what host/password to use. Is your user account in group boinc?


Yes, my user account is in the boinc group

Have you tried playing around with permissions? Maybe only give boinc access or extend rights.


Not yet. I was going to change all others access to Read only but was waiting to see if anyone had any other suggestions. I'll try that and post the result.
Bill P
ID: 54549 · Report as offensive
Profile foxfire

Send message
Joined: 22 Jun 14
Posts: 3
United States
Message 54553 - Posted: 23 Jun 2014, 14:55:10 UTC

I changed permissions of gui_rpc_auth.cfg to:

Owner: root, Access: Read & Write
Group: boinc Access: Read only
Others: Read only

and boincmgr now connects to the localhost without entering host or password. While this works it seems to compromise the security of using a rpc password.

I have 6 PCs running Linux. On all my user is a member of the group boinc, permissions of gui_rpc_auth.cfg are "Others None" and gui_rpc_auth.cfg has a user specified password.

On 4 of them boincmgr works as it should. On 2 of them gui_rpc_auth.cfg permissions has to allow Others Read only access or gui_rpc_auth.cfg has to be empty for boincmgr to connect to the localhost automatically.

Strange???
ID: 54553 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 54554 - Posted: 23 Jun 2014, 15:34:33 UTC - in response to Message 54553.  

Did you remember to log out & back in after adding your account to boinc group?
ID: 54554 · Report as offensive
SuperSluether

Send message
Joined: 6 Jul 14
Posts: 94
United States
Message 54821 - Posted: 9 Jul 2014, 21:51:31 UTC - in response to Message 54544.  

I have the same problem on Linux Ubuntu 14. The first time opening the GUI, it works great. If you close it and re-open it in the same session, it gets stuck on connecting to localhost. So far, I've only had the problem once on Windows, and closing and reopening solved it.
ID: 54821 · Report as offensive
Profile äxl
Avatar

Send message
Joined: 13 May 10
Posts: 40
Germany
Message 54830 - Posted: 10 Jul 2014, 14:26:37 UTC - in response to Message 54821.  

SuperSluether wrote:
If you close it and re-open it in the same session

How long did you wait? Maybe it was still open in background ...

@foxfire: I recently had problems getting BM to connect because I hadn't checked the permissions on the mount point. /media/datac was 640 ... but it needed 641.
My reasons to participate in grid computing:
1. I'm using true renewable energy (German accreditation; no certificate purchasing)
2. Production and disposal (will) amount to about 95% of the energy "used" during the lifetime of my PC
3. Helping
ID: 54830 · Report as offensive

Message boards : Questions and problems : Problem: BOINC Manager Connecting to localhost

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.