BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
1.98k stars 443 forks source link

Boinccmd: Linux failure on headless machine #2535

Open RichardHaselgrove opened 6 years ago

RichardHaselgrove commented 6 years ago

Late report on v7.10.2 at SETI@Home.

I have some issue with boinc 7.10.2 on linux when running on a computer without a monitor connected to (I use costamagnagianfranco version from https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/boinc)

I get 'Authorization failure: -102' when launching commands with boinccmd No problem when a monitor is connected.

Version 7.2.42 have no problem. Version 7.8.2 have the same problem with or without a monitor.

Any Linux gurus able to reproduce, or better yet fix?

RichardHaselgrove commented 6 years ago

Seems that this problem was caused (or exacerbated) by the user's scripting. @JuhaSointusalo has sorted this out in the original thread, so knows if there are any residual issues. Closing as solved.

RichardHaselgrove commented 6 years ago

Re-opening: the original SETI user says he's found an X idle detection patch in Fedora which solves problems on his headless machines.

Report is in the same SETI thread at message 1942752

Germano0 commented 5 years ago

I am the author of X idle detection patch in Fedora. I don't see any relation to the problem is having that guy. IMHO the ticket can be closed

JuhaSointusalo commented 5 years ago

The problem probably doesn't have anything to do with XSS idle detection. I'm guessing removing the idle detection changed timing so that the symptoms went away. The problem is probably still there.

Germano0 commented 5 years ago

On my headless machines I always use command: $ boinccmd --host localhost --passwd "content of /var/lib/boinc/gui_rpc_auth.cfg" I think it should fit his purposes

Germano0 commented 5 years ago

Forget it, I am just experiencing the same problem on a machine with a running graphic environment... No way to use boinccmd without getting a Authorization failure: -155 error