A specialized diagnostic and repair utility for fixing OpenClaw Gateway service failures, systemd bus errors, and environment variable misconfigurations on Linux systems.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-gateway-linux-fix
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-gateway-linux-fix using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill addresses critical operational issues for OpenClaw Gateway users running on Linux distributions. It focuses on resolving the common "disabled" status bug where the gateway daemon cannot communicate with the systemd user bus because it lacks necessary environment variables like XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS. Unlike manual shell fixes that fail because the daemon does not inherit shell environments, this tool automates the injection of these variables directly into the systemd unit file.
Beyond simple configuration fixes, the skill provides a robust framework for managing the gateway lifecycle. It ensures that service restarts do not inadvertently kill the active AI agent process tree by using detached execution and cron-based scheduling. This makes it an essential utility for anyone deploying Openclaw Skills on self-hosted Linux servers or workstations where reliability and persistence are paramount.
To prepare your Linux environment for this skill, ensure your user has the necessary permissions to manage systemd user services:
# Ensure the systemd user configuration directory exists
mkdir -p ~/.config/systemd/user/
# Enable lingering so the gateway runs without an active SSH/GUI session
loginctl enable-linger $(whoami)
# Verify the current status of your gateway
openclaw gateway status
| Component | Details |
|---|---|
| Unit File | ~/.config/systemd/user/openclaw-gateway.service - Primary configuration target. |
| Environment Vars | XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS added to the [Service] section. |
| Persistence State | Controlled via loginctl and systemctl --user enable. |
| Context Recovery | /tmp/restart-context.txt used to store agent state during service cycles. |
| Logs | /tmp/gw-restart.log for debugging detached restart sequences. |
Loading
A specialized tool that converts natural language into professional architecture diagrams and flowcharts using Graphviz DOT syntax.

A rolling multi-sport digest that tracks live storylines, results, and fixtures while maintaining a persistent context file for continuity.

An advanced AI-powered prediction system for Super Lotto (DLT) that utilizes five-pool sampling and genetic algorithms to optimize betting strategies.

Create professional brand identities, visual guidelines, and design tokens tailored for startups and solo founders.

High-accuracy audio transcription via Microsoft's MAI-Transcribe-1 model integrated through Azure AI Speech.

A specialized content engine that generates psychologically optimized viral hooks for short-form social media platforms.








































