remote-desktop-testing-linux
БесплатноЗапускает вложенные скриптыНе проверенTest any GUI app or change on a Daytona Linux (Ubuntu xfce4 + noVNC) remote desktop sandbox. Use to launch a GUI program, sync a local project, take a…
от letta-ai★ 158 звёзд на GitHubОб этом скилле
Remote Desktop Testing on Linux
Overview
Generic Daytona Linux desktop sandbox driver. It creates (or reuses) a sandbox running an xfce4 desktop streamed over noVNC, and provides the primitives for visual testing of any GUI app: sync code, run shell commands, launch GUI programs on the live desktop, screenshot, record video, and mint a clickable desktop link a teammate can open to drive the app.
When to Use
- Demo or visually verify a GUI app (Electron, browser, native X11) on Linux without a local Linux desktop
- Produce a screenshot + video + clickable live-desktop link for a teammate
- Debug Linux-specific desktop behavior of a cross-platform app
- Run throwaway desktop sessions that are fully disposable (stop with
cleanup)
Usage
Run the bundled script with Node from the skill directory:
node scripts/remote-desktop.mjs <command> [options]
Credentials: DAYTONA_API_KEY (and optionally DAYTONA_API_URL/DAYTONA_TARGET) from the
environment or a dotenv file — ./.env by default, override with --env-path <file>.
The script auto-installs @daytona/sdk under ~/.letta/skill-state/remote-desktop-testing-linux/
on first use and remembers the active sandbox id there, so later commands don't need --sandbox.
Typical flow
# 1. Start (or reuse) a desktop sandbox. Default: image daytonaio/sandbox:0.8.0, cpu 2 / mem 4 / disk 5.
node scripts/remote-desktop.mjs start
# 2. (Optional) push a local project to /home/daytona/remote-desktop/workspace
node scripts/remote-desktop.mjs sync --project-path ~/repos/my-app --sync-mode working_tree
# 3. Set up / build with shell commands (runs bash in the sandbox)
node scripts/remote-desktop.mjs shell \
--command "cd /home/daytona/remote-desktop/workspace && npm install"
# 4. Launch the GUI app on the live desktop and verify its window appeared
node scripts/remote-desktop.mjs launch \
--command "./my-app --some-flag" --label my-app --wait-window "My App"
# 5. Deliverables: screenshot, video, and a clickable live-desktop link
node scripts/remote-desktop.mjs screenshot --output /tmp/demo.png
node scripts/remote-desktop.mjs record --output /tmp/demo.mp4 --mp4 --duration 12
node scripts/remote-desktop.mjs preview
Always confirm the result visually (open the screenshot, or check windows / --wait-window)
before reporting success — never report success from process existence alone. When sharing with
a teammate, send the desktopUrl from preview (signed noVNC link, expires ~6h; re-run
preview to refresh). Pass --port <n> to preview to also mint a signed URL for an app's
HTTP port.
Commands
| Command | What it does |
|---|---|
start |
Create/reuse a sandbox and start the desktop. --fresh forces a new one. |
sync |
Sync --project-path to /home/daytona/remote-desktop/workspace (git_archive = committed HEAD, working_tree = uncommitted too; preserves remote node_modules). |
shell --command SH |
Run a bash command. --timeout <s> for long ones. |
launch --command CMD |
Launch a GUI command on the xfce4 desktop (detached, DISPLAY set, logged to /home/daytona/remote-desktop/launch-<label>.log). --wait-window <regex> verifies a matching window title appears. |
windows |
List visible desktop windows. |
screenshot |
Save a PNG of the full desktop locally. |
preview |
Print signed desktopUrl (noVNC), plus appUrl if --port given. |
record |
Record the live desktop via Playwright + local Chrome (--duration <s>, --mp4). |
recording-start/stop/download |
Native Daytona recording (installs ffmpeg in-sandbox on first use). |
snapshot --snapshot <name> |
Bake the sandbox into a snapshot (stops, snapshots, restarts). |
cleanup |
Stop the active sandbox. |
Sizing and snapshots
- Daytona's default Linux sandbox is tiny (cpu 1 / mem 1 / disk 3GB). This skill creates
from the desktop-capable image
daytonaio/sandbox:0.8.0with--cpu 2 --memory 4 --disk 5by default; raise them for big projects (--cpu 4 --memory 8 --disk 10). Disk is capped at 10GB per sandbox. resourcescannot be combined with a snapshot —--snapshot <name>creates with whatever size was baked in. Usesnapshotto bake a prepared box (deps installed, caches warm) so futurestart --snapshot <name>runs skip setup. Revert throwaway edits before baking.
Gotchas
- Electron/Chromium apps need
--no-sandboxinside the container, and often--disable-gpu --disable-dev-shm-usagetoo; put those flags in yourlaunch --command. launchruns the command detached withDISPLAYpointed at the live desktop (detected from/tmp/.X11-unix, falls back to:0). Check the launch log viashellif nothing appears.- For the shareable link, send
desktopUrl(the interactive desktop), not a raw app-port URL — the app URL only serves HTTP and shows nothing of the desktop. recordruns Playwright locally: it resolvesplaywright/playwright-corefro
Установить remote-desktop-testing-linux в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл remote-desktop-testing-linux?
Test any GUI app or change on a Daytona Linux (Ubuntu xfce4 + noVNC) remote desktop sandbox. Use to launch a GUI program, sync a local project, take a screenshot, record a video, or share a clickable live-desktop link with a teammate. Generic — the only dependency is Daytona. For Windows, use remote-desktop-testing-windows.
Как установить скилл remote-desktop-testing-linux?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл remote-desktop-testing-linux запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic