The Virtual Network Computing (VNC) home page is https://www.realvnc.com/en/open in new window.

WARNING

In order to run remote desktop on the login node, you need to make that request to us so that we can grant that permission for you. We would put an entry in the VNC server user database for you and you would get an exclusive port to connect. The port number would be ranging from 5903 to 5900+N. You should note down the port exclusively assigned to you and use that to connect.

You would first need to create a password for VNC connection on both login nodes by running “vncpasswd” command:

[me@login01 ~]$ mkdir ~/.vnc
[me@login01 ~]$ /opt/TurboVNC/bin/vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n): n
A view-only password is not used

This is the password you would need to establish the connection via VNC client installed on your local computer.

After you have completed the above step, contact the system administrator and a port number would be assigned to you so that the VNC service is enabled on the login nodes.

Then, you can download and install the version of VNC that fits your computer OS from https://www.realvnc.com/en/connect/download/viewer/open in new window.

After installing the client , you can establish the connection to the login node using ssh port-forwarding. An example of doing this is shown as below, and please remember to replace both port numbers before and after “localhost” with your exclusively assigned port number.

[other_me@my_local_machine ~]$ ssh -L 5902:localhost:5902 [email protected]
  1. After logging in, you can start the VNC client on your local computer.
  2. Click on “GOT IT” button, and then click on “File” at the header, and choose “New connection”.
  3. After filling out the server (replace the port number with the one exclusively assigned to you) and username (your username to log into the cluster), click “OK” button and you would see a “computer display” shaped icon for you to connect would appear.
  4. Right click on the icon and choose “Connect”, that would bring you to a new screen asking your confirmation to connect.
  5. Click on “Continue” button, and you would be prompted to enter the password for the connection. The password would be the one you entered after running vncpasswd.
  6. Click on “OK” button. After you see the following interface, you are connected.
  7. Press “Enter” key on your keyboard to log in. This time, the password is the one you would use to log into the login node.
  8. You can click on the “Activities” icon at the top-left corner of this screen to do various operations. !

If you need to access your /scratch folder, you can first click on “Files” icon within the left panel (similar to what’s shown in the above image) after clicking “Activities” icon. It would bring up a new window. Then, click on “Other Locations”, it would show a folder named “Computer”.

Click on the folder named “Computer”, it would show all folders mounted on the login node, among which you can find a folder named “scratch”.

Click on the folder named “scratch”, it would show all user folders, find your own and click on it, you would be able to see all files in your scratch space.