Running BlockAssist on a Remote Linux Desktop

Learn how to run BlockAssist on a remote Linux environment using several types of devices.

Overview

This guide shows non-technical users how to set up and run BlockAssist on a remote Ubuntu Desktop droplet at DigitalOcean and stream it with Moonlight to any laptop, phone, tablet, or TV.

Installation & Setup Steps

Step 1 — Creating your Droplet

  1. Sign in to DigitalOcean and click Create → Droplet.

  2. Under Marketplace, choose Ubuntu Desktop (GNOME) 22.04 LTS.

System Specifications
CPU
RAM

Minimum

4

16 GB

Recommended

8

32 GB

Add your SSH key, pick the nearest region, and click Create Droplet.

Note the droplet’s public IP, which you will use for SSH, VNC, and Moonlight.

Step 2 — First-time Desktop Access

  1. SSH to the droplet as root:

ssh root@<DROPLET_IP>
  1. The first-login banner shows a random VNC password. Copy it.

  2. Give the pre-installed gui user sudo rights:

  1. Open any VNC client and connect to <DROPLET_IP>:5901 using the password from Step 1. You will only need VNC again if Sunshine stops working.

Step 3 — Installing Dependencies

You run these commands once. To record more episodes later, read this guide on running & training models with BlockAssist.

  1. In the VNC desktop, open Terminal and install the build tools:

  1. Clone BlockAssist:

Python & Node

Let pyenv and nvm read the exact versions pinned in the repository.

Project Packages

Install the required project packages using the commands below.

Step 3 — Streaming with Sunshine & Moonlight

  1. Install Sunshine using the following command:

  1. Open its web UI (http://localhost:47990) in the VNC browser and set an admin password.

  2. Allow GameStream ports:

  1. On your local device install Moonlight, add the droplet’s IP, enter the PIN shown, and pair. You can now close the VNC client and use Moonlight for the rest of this guide.

Step 5 — Running BlockAssist

Click here for a detailed, platform-agnostic guide on running BlockAssist.

Troubleshooting

Below are some common issues and quick fixes.

Issue
Solution

Error while installing packages

In the Chat panel press cmd + L, then type Help me fix this error and add Terminal context.

BlockAssist launches but will not run

In Chat type Look at my logs folder and follow the suggestions.

Mouse will not turn or view is stuck

Make sure you are playing through Moonlight, not VNC.

Mission times out while loading

Upgrade the droplet to at least 8 vCPU / 32 GB RAM.

Last updated