This repository contains a one-line installation, update, and removal script for the TacticalRMM agent on Linux systems.
The script is designed for reliability and flexibility, supporting multiple system architectures and ensuring smooth deployment across different environments.
- ✅ Supported Architectures & Platforms
- 📥 Script Download & Setup
- 🖥️ Fix Blank Screen on Ubuntu
- ⚙️ Automatic Architecture Detection
- 🚀 Install the Agent
- 🔄 Update the Agent
- ❌ Uninstall the Agent
- 📖 Installation Wiki
- 📌 Credits
- x86_64 (AMD/Intel 64-bit)
- x86 (32-bit)
- ARM64 (aarch64, Raspberry Pi 4, Apple M1/M2)
- ARMv6 / ARMv7 (Raspberry Pi Zero, Pi 2/3 series)
- Debian 10, 11, 12
- Ubuntu 20.04, 21.04, 22.04, 24.04
- Raspbian (Raspberry Pi OS) (Pi 2, 3, 3B+, 3A, 4B, Pi Zero)
- Cloud VPS providers
- Proxmox VMs
⚠️ Raspberry Pi Zero is not recommended due to performance limitations.
Future support for additional platforms will be added.
Download the script:
wget https://raw.githubusercontent.com/Brandon-Roff/LinuxRMM-Script/refs/heads/main/rmmagent-linux.shMake it executable:
sudo chmod +x rmmagent-linux.sh📖 Full installation guide available here: Installation Wiki
Ubuntu uses Wayland by default, which may cause MeshCentral remote desktop sessions to display a blank screen.
Run the following commands to switch back to X11:
sudo sed -i '/WaylandEnable/s/^#//g' /etc/gdm3/custom.conf
sudo systemctl restart gdm🔹 On Ubuntu 19 and earlier, the file path is
/etc/gdm/custom.conf.
After restarting, remote desktop functionality will work properly.
The script automatically detects system architecture using uname -m and maps it to the correct agent type:
x86_64→ amd64i386/i686→ x86aarch64→ arm64armv7l→ armv6armv6l→ armv6
If the architecture is unrecognized, the script exits safely with an error message.
Run the script with the following syntax:
./rmmagent-linux.sh install 'Mesh Agent URL' 'API URL' ClientID SiteID 'Auth Key' 'Agent Type'- Mesh Agent URL – Provided by MeshCentral (
Add Agent > Installation Executable Linux/BSD/macOS). Copy only the base URL, leaving out install flags. - API URL – TacticalRMM API endpoint, usually
https://api.example.com. - Client ID – Visible when hovering over the client name in TacticalRMM.
- Site ID – Visible when hovering over the site name in TacticalRMM.
- Auth Key – Generated under
Agents > Install Agent (Windows) > Manual. Copy the value after--auth. - Agent Type –
serverorworkstation.
./rmmagent-linux.sh install 'https://mesh.example.com/meshagents?id=XXXXX' 'https://api.example.com' 3 1 'XXXXX' server⏳ Note: Compilation may take several minutes depending on hardware. Please be patient.
The script supports a --simple flag to make installation output cleaner and more readable.
sudo bash rmmagent-linux.sh --simple install 'Mesh Agent URL' 'API URL' ClientID SiteID 'Auth Key' 'Agent Type'- Color-coded messages:
[INFO]– Blue, informational updates[OK] ✅– Green, successful steps[ERROR] ❌– Red, failed steps
- Spacing between sections for easier reading
- Collapsed download/compile progress to avoid clutter
- All temporary files cleanup is highlighted clearly
[INFO] Installing Go 1.24.6 for amd64...
[OK] ✅ Go 1.24.6 installed.
[INFO] Installing MeshCentral agent for amd64...
[OK] ✅ Mesh agent installed.
[INFO] Compiling Tactical RMM agent for amd64...
[OK] ✅ Tactical RMM agent compiled.
[INFO] Installing Tactical Agent service...
[OK] ✅ Tactical Agent installed successfully.
[OK] ✅ Tactical Agent service installed and started.
[INFO] Cleaning up temporary files...
[OK] ✅ Temporary files cleaned.To update an installed agent:
./rmmagent-linux.sh updateTo remove the agent:
./rmmagent-linux.sh uninstall 'Mesh FQDN' 'Mesh ID'- Mesh FQDN – Example:
mesh.example.com - Mesh ID – 64-character alphanumeric ID (Linux/BSD uninstall instructions in MeshCentral).
./rmmagent-linux.sh uninstall mesh.example.com 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'- Only use this method if agent removal in TacticalRMM is not working.
- This process does not remove records from TacticalRMM or MeshCentral dashboards. Cleanup must be done manually.
This project is based on Netvolt’s LinuxRMM-Script, with extended compatibility and refinements.
✨ Professional, robust, and multi-platform ready — the easiest way to manage TacticalRMM agents on Linux.