This repo contains scripts for folding@rhs and info about setting up FoldingRHS machines.
Help can be reached at: [email protected]
The RHS team number is 1065641. The password has been left at school.
Currently, X11VNC auto set up works.
However, VNC seems to require screen output to work. It is therefore unsuited for this project.
Folding@RHS has two essential components, the folding web controller which can be found at their website, and folding@control.
Do not use the controller on the folding website, it uses python2 and does not work with mint. I have left a zip file with the python3 version on the head computer (RHS4). It can also be found here. The script in the link does not seem to work. Try the file left on the head computer first. Further, all folding machines have this folder so you can get it off there. You can find the file path for the folder by reversing the steps in Autorun.
You will need to set up the script to auto run. This can be done by going to the 'session and startup' in linux mint. When there, click 'Application autostart', and then 'Add'.
When there, give it the name and description you want. The trigger should be 'on login'. The command it runs should be "python3 [PLACEHOLDER]" where [PLACEHOLDER] is the location of the file "FAHcontrol". Note that this file does not have a file extension. The easiest way to set up this autorun is to click on the folder icon beside command, locate "FAHcontrol" within the directory that holds all the fahcontrol files, and select it. With that done, go to the start of the file, and type 'python3' followed by a space. Restart and ensure that FAH control autostarts
You need acess to both the master and slave computer for this step.
- Within the master, open a terminal and type 'hostname -I' to get the ip address.
- Within the slave, acess FAH control, click 'configure', and head to the 'remote acess' tab. There, set a password. Ensure that port is set to 36330, and scroll down until you see 'IP address restriction'.
- The allow section should already have 127.0.0.1. DO NOT DELETE THIS. In that section, add a space followed by the IP address of the master.
- Note the IP address of the slave with 'hostname -I'
- Within the FAHcontrol of the master, click 'add' (bottom left of main screen), and enter the slaves IP address and password. Choose a name for the folding machine, then enter it's ip address, port, and password.
- restart both machines, and then ensure that the master shows the slave within its clients