How to Setup RClone Using VNC Session with Open OnDemand (OOD)
LCC
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).
Create a new interactive VNC session.
Click the “Interactive Apps” dropdown along the top.
Click “Lipscomb Compute Cluster (LCC)” under Desktops.
Enter details for your job. This should be a quick <1 hour job. As such, it should be run on a debug node.
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.
Click “Launch”.
After the job has been accepted, you will see the following:
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.
Click “Launch Lipsomb Compute Cluster (LCC)”. A VNC session will be initiated, and you will see a typical Desktop environment:
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:
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.
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> nFollow the prompts, until you get to the “auto config” portion. Press Y for auto config.
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...In the second terminal, start Firefox by executing the “firefox” command; this will load the Firefox web browser.
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:
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.
Input the Username and Password for the account you wish to link.
Click “Continue” to to allow rclone access.
Continue to follow the commands from rclone.
Once complete, close the VNC session and delete the interactive session from Open OnDemand.
MCC
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).
Create a new interactive VNC session.
Click the “Interactive Apps” dropdown along the top.
Click “Morgan Compute Cluster (MCC)” under Desktops.
Enter details for your job. This should be a quick <1 hour job.
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.
Click “Launch”.
After the job has been accepted, you will see the following:
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.
Click “Launch Morgan Compute Cluster (MCC)”. A VNC session will be initiated, and you will see a typical Desktop environment:
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.
Open two terminal windows by clicking the “Terminal Emulator” icon in the taskbar twice:
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.
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”.
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...In the second terminal, input, “module load ccs/conda/firefox”. Then begin Firefox by executing the “firefox” command.
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:
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.
Input the Username and Password for the account you wish to link.
Click “Continue” to to allow rclone access.
Continue to follow the commands from rclone.
Once complete, close the VNC session and delete the interactive session from Open OnDemand.