How to Setup RClone Using VNC Session with Open OnDemand (OOD)

How to Setup RClone Using VNC Session with Open OnDemand (OOD)

LCC

  1. Log into the LCC OOD session at https://ood.ccs.uky.edu; you must be on the UK’s network (either VPN or on campus).

  2. Create a new interactive VNC session.

    1. Click the “Interactive Apps” dropdown along the top.

    2. Click “Lipscomb Compute Cluster (LCC)” under Desktops.

  3. Enter details for your job. This should be a quick <1 hour job. As such, it should be run on a debug node.

    A web form interface for Lipscomb Compute Cluster showing input fields for account name, hours, cores, GPUs, and queue selection, with a blue Launch button at the bottom.

    Figure: Web form for launching Lipscomb Compute Cluster (LCC) interactive desktop session with input fields for account, hours, cores, GPUs, and queue selection, plus a Launch button at the bottom.

  4. Click “Launch”.

  5. After the job has been accepted, you will see the following:

    A Lipscomb Compute Cluster interface showing configuration details with 1 node and 4 cores running, featuring compression and image quality sliders, along with launch and view options.

    Figure: Lipscomb Compute Cluster dashboard showing a running cluster with 1 node and 4 cores, displaying session details, compression and image quality sliders, and launch options.

  6. Click “Launch Lipsomb Compute Cluster (LCC)”. A VNC session will be initiated, and you will see a typical Desktop environment:

A desktop environment with a dark blue background displaying two folder icons labeled File System and Home, plus a taskbar at the bottom showing various application icons including CCS Software.

Figure: Desktop screen displaying two folder icons labeled File System and Home against a dark blue background, with a taskbar at the bottom showing various application icons including CCS Software.

7. Open two terminal windows by clicking the “Terminal Emulator” icon in the taskbar twice:

Two terminal windows open on a Linux desktop showing command prompts for user cascade001, with a dark desktop background and taskbar visible at the bottom.

Figure: Two terminal windows open on a Linux desktop showing command prompts for user @cascade001, with one window in the foreground displaying an active cursor.

  1. In one of the terminal windows, run the “rclone config” command:

Running rclone config command to create a new remote
[user@login001 ~]$ rclone config No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q> n

Follow the prompts, until you get to the “auto config” portion. Press Y for auto config.

  1. A link will be provided for you to load the auto config:

Rclone auto config prompt with authorization link
Use auto config? * Say Y if not sure * Say N if you are working on a remote or headless machine y) Yes (default) n) No y/n> y 2025/01/09 11:54:14 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=6UDNxUDbnELiPd9bgIiZ2A 2025/01/09 11:54:14 NOTICE: Log in and authorize rclone for access 2025/01/09 11:54:14 NOTICE: Waiting for code...
  1. In the second terminal, start Firefox by executing the “firefox” command; this will load the Firefox web browser.

  2. Copy the link from the first terminal and insert it into the new Firefox browser window and press enter. (Right click the link, then hit “Copy Link Address”). You should see the following screen:

    Google sign-in page for rclone application

    Figure: Google sign-in page for rclone app, displaying an email or phone input field, Forgot email link, and Next button in Mozilla Firefox browser.

  3. Input the Username and Password for the account you wish to link.

  4. Click “Continue” to to allow rclone access.

  5. Continue to follow the commands from rclone.

  6. Once complete, close the VNC session and delete the interactive session from Open OnDemand.

 

MCC

  1. Log into the MCC OOD session at https://mcc-ood.ccs.uky.edu; you must be on the UK’s network (either VPN or on campus).

  2. Create a new interactive VNC session.

    1. Click the “Interactive Apps” dropdown along the top.

    2. Click “Morgan Compute Cluster (MCC)” under Desktops.

  3. Enter details for your job. This should be a quick <1 hour job.

    A web form for launching an interactive desktop session on the Morgan Compute Cluster with fields for account, hours, cores, and queue, plus a launch button.

    Figure: A web form for launching an interactive desktop session on the Morgan Compute Cluster with fields for account, hours, cores, and queue selection, plus a launch button.

  4. Click “Launch”.

  5. After the job has been accepted, you will see the following:

    Morgan Compute Cluster interface displaying cluster status with 1 node, 4 cores running on host rome009, showing compression and image quality sliders, session details, and launch options.

    Figure: Morgan Compute Cluster interface displaying cluster status with 1 node and 4 cores running, showing host rome009, session details, compression and image quality sliders, and launch/view options.

  6. Click “Launch Morgan Compute Cluster (MCC)”. A VNC session will be initiated, and you will see a typical Desktop environment:

 

A dark-themed desktop environment displaying an Applications window with File System and Home folder icons, plus a taskbar at the bottom with several application shortcuts.

Figure: A desktop applications menu displaying File System and Home folder icons against a dark blue background, with a taskbar containing various application icons at the bottom.

  1. Open two terminal windows by clicking the “Terminal Emulator” icon in the taskbar twice:

    Two Xfce Terminal windows open on a dark desktop, both showing a command prompt for user rome009 with an empty command line ready for input.

    Figure: Two Xfce Terminal windows open on a dark desktop, both displaying a command prompt for user @rome009 with a blank terminal ready for input.

     

  2. In one terminal window, execute “module load ccs/rclone”. Then “rclone configure”, and begin following the prompts to add a new remote. Once you get to the auto configure prompt, input “y”.

  3. A link will be provided for you to load the auto config:

    Rclone auto config prompt with authorization link

    Use auto config? * Say Y if not sure * Say N if you are working on a remote or headless machine y) Yes (default) n) No y/n> y 2025/01/09 11:54:14 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=6UDNxUDbnELiPd9bgIiZ2A 2025/01/09 11:54:14 NOTICE: Log in and authorize rclone for access 2025/01/09 11:54:14 NOTICE: Waiting for code...
  4. In the second terminal, input, “module load ccs/conda/firefox”. Then begin Firefox by executing the “firefox” command.

  5. Copy the link from the first terminal and insert it into the new Firefox browser window and press enter. (Right click the link, then hit “Copy Link Address”). You should see the following screen:

    Google sign-in page for rclone application

    Figure: Google sign-in page for rclone app, displaying an email or phone input field, Forgot email link, and Next button in Mozilla Firefox browser.

  6. Input the Username and Password for the account you wish to link.

  7. Click “Continue” to to allow rclone access.

  8. Continue to follow the commands from rclone.

  9. Once complete, close the VNC session and delete the interactive session from Open OnDemand.

Center for Computational Sciences