Page 1 of 1

F@H Control not loading, howto see status via CLI

Posted: Mon Jan 06, 2020 6:08 pm
by lleb
For what ever reason on this older laptop I am unable to get FAHControl to start. It is roughly a 10yr laptop, so not really worth the fight to get a GUI interface.

I am running Fedora 31 with the LXDE GUI.

Is there a command to issue to get the status (% complete), WU#, team name, and user name?

Code: Select all

# cat /etc/fahclient/config.xml 
<config>
  <!-- Folding Slot Configuration -->
  <gpu v='false'/>

  <!-- User Information -->
  <user v='Mr.Brunkow'/>
  <team v='134546'/>

  <power v='medium'/>

  <!-- Folding Slots -->
  <slot id='0' type='CPU'/>
</config>
Another system I have (no access atm, as I am not near that system, and have ssh from external disabled) shows value="foo" not v='foo'

do both work, is either better, etc?

Thank you in advance.

P.S. I would also like to set the default WU to Alzheimer, how is that done via CLI?

Re: F@H Control not loading, howto see status via CLI

Posted: Mon Jan 06, 2020 8:11 pm
by toTOW
Do you have python 2.7 installed ? It is required for FAHControl and it won't work with python 3 ...

Re: F@H Control not loading, howto see status via CLI

Posted: Mon Jan 06, 2020 8:20 pm
by MeeLee
Fedora 30 should fully support it

Re: F@H Control not loading, howto see status via CLI

Posted: Mon Jan 06, 2020 9:03 pm
by lleb

Code: Select all

$ ls /usr/bin/python*
/usr/bin/python   /usr/bin/python2.7  /usr/bin/python3.7   /usr/bin/python-argcomplete-check-easy-install-script
/usr/bin/python2  /usr/bin/python3    /usr/bin/python3.7m  /usr/bin/python-argcomplete-tcsh
looks like both are installed.

Re: F@H Control not loading, howto see status via CLI

Posted: Mon Jan 06, 2020 10:29 pm
by toTOW

Re: F@H Control not loading, howto see status via CLI

Posted: Tue Jan 07, 2020 7:43 pm
by lleb
Thank you for the link, sadly I have already attempted that fix with no luck. Thus my request on how to get the information from just the command line. I am not stressing about not having access to FAHControl, but would love to be able to check the status on this older laptop.

Re: F@H Control not loading, howto see status via CLI

Posted: Tue Jan 07, 2020 8:06 pm
by bruce
Did you try If I changing the first line from
#!/usr/bin/python
to
#!/usr/bin/python2
per that link?

Do you have another computer on your LAN which does run FAHAControl?

Re: F@H Control not loading, howto see status via CLI

Posted: Tue Jan 07, 2020 10:47 pm
by lleb
yes I did make the changes to the first line. That link is only partially correct, the actual line is #!/usr/bin/evn python

so I tried /env python2 as well as /bin/python2

I am not at my house, I currently have another laptop and a workstation at home that are running the normal Fedora 31 without issue. I am guessing this might have something to do with the GUI being used on this older laptop.