NoMachine Installation for Biowulf
To run programs with a graphical user interface (GUI) in a unix environment like Biowulf, you need to connect via a terminal emulator such as NoMachine. For example, if you want to run Rstudio Desktop on Biowulf, you will need to get NoMachine set up and running first. Then you'll be able to access and analyze data you have stored on Biowulf.
Using NoMachine to run Rstudio Desktop on Biowulf has the benefit of accessing and running analysis on data stored on the Biowulf/Helix drives. This comes at the cost of setup time and slower responsiveness. If possible, we recommend running locally from your Mac. Below, I provide installation instructions of NoMachine Version 6.10.12. The setup below is informed based on Biowulf instructions found with link https://hpc.nih.gov/docs/connect.html.
Useful Links
- R https://www.r-project.org and https://hpc.nih.gov/apps/R.html.
- Rstudio https://rstudio.com and https://hpc.nih.gov/apps/RStudio.html
- NoMachine https://www.nomachine.com
Installation instructions of NoMachine
- Open Web Browser with link https://www.nomachine.com and Click Download now Mac OS X button.
- Navigate to Downloads folder on your Mac and double click the NoMachine DMG install file. In this example, nonmachine_6.1.12_7.dmg file. Follow,
-
You will be asked to to provide Accessibility Access. Click Open System Preferences button.
-
This will open the pane below. Setting up Accessibility Permission for NoMachine.
- Click on Accessibility in left-hand list.
- Click the locked padlock in the lower right-hand as depicted above. Enter credentials.
- Find the nxmode with NoMachine Icon below Allow the apps below to control your computer. Click Checkbox.
- Once selected, close the padolock
- You will be prompted to provide Screen recording
-
This will open the pane below. Setting up Screen Recording Permission for NoMachine.
- Click on Screen Recording in left-hand list.
- Click the locked padlock in the lower right-hand as depicted above. Enter credentials.
- Find the NoMachine Icon below Allow the apps below to control your computer. Click Checkbox.
- Once selected, close the padolock
Setting up NoMachine to connect to Biowulf
- Launch NoMachine. Located in the Applications folder.
-
Read the Application window content and click the Continue button until you arrive at the window depicted below.
-
Click the New button to create a new connection. Selecting Protocol. Select SSH from the Protocol dropdown menu.
-
Click Continue button. Set up the Host. Fill in the Host biowulf.nih.gov and Port 4000 fields. And, check the box Use UDP communications for multimedia data as shown below.
-
Click Continue button. Set up the Authentication. Select the Password radio button.
-
Click Continue button. Set up the Proxy. Select the Don't use a proxy radio button.
-
Click Continue button. Save as window. Accept suggestion or change name. This will create a shortcut.
-
Click Done button. Double click the Connection to biowulf.nih.gov shortcut as depicted below.
-
If connecting for the first time, you will be prompted to Verify host authenticity. Click the Yes button.
-
If successful, you will obtain the window below. Do NOT click the check box Save this password in the connection file.
-
There some additional steps required before logging in. I provide instructions in webpage: Running Rstudio on Biowulf with NoMachine.