remote-desktop-testing-linux

在 Daytona Linux(Ubuntu xfce4 + noVNC)远程桌面沙箱中测试任意 GUI 应用或变更。可用于启动 GUI 程序、同步本地项目、截取屏幕截图、录制视频,或与团队成员共享可点击的实时桌面链接。通用性强——唯一依赖是 Daytona。Windows 系统请使用 remote-desktop-testing-windows。

仓库最近推送
GitHub Stars
158
Forks
36
Issues / PRs
33

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "remote-desktop-testing-linux":https://skillpi.com/zh/skills/deepskill-8ab3ee467d7a64e3340579ded46e48ddc6605be09a66ee4abbba4f3662646037。安装前核对上游来源和版本:https://github.com/letta-ai/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在 Daytona Linux(Ubuntu xfce4 + noVNC)远程桌面沙箱中测试任意 GUI 应用或变更。可用于启动 GUI 程序、同步本地项目、截取屏幕截图、录制视频,或与团队成员共享可点击的实时桌面链接。通用性强——唯一依赖是 Daytona。Windows 系统请使用 remote-desktop-testing-windows。

0 下载

介绍来源: third_party · letta-ai · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: remote-desktop-testing-linux
description: 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 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.0 with --cpu 2 --memory 4 --disk 5 by default; raise them for big projects (--cpu 4 --memory 8 --disk 10). Disk is capped at 10GB per sandbox.
  • resources cannot be combined with a snapshot — --snapshot <name> creates with whatever size was baked in. Use snapshot to bake a prepared box (deps installed, caches warm) so future start --snapshot <name> runs skip setup. Revert throwaway edits before baking.

Gotchas

  • Electron/Chromium apps need --no-sandbox inside the container, and often --disable-gpu --disable-dev-shm-usage too; put those flags in your launch --command.
  • launch runs the command detached with DISPLAY pointed at the live desktop (detected from /tmp/.X11-unix, falls back to :0). Check the launch log via shell if 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.
  • record runs Playwright locally: it resolves playwright/playwright-core from --project-path first, else auto-installs playwright-core into skill state, and drives the local Chrome binary (--chrome-path, default macOS Chrome). --mp4 needs local ffmpeg.
  • The base image has xfce4-terminal, chromium, and xeyes available for quick desktop sanity checks (e.g. launch --command "xfce4-terminal" --wait-window Terminal).

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供完整的 Linux GUI 应用远程测试解决方案,支持截图、录屏和实时共享
  • 明确区分 Linux/Windows 场景,避免用户误用
触发精准95/100

亮点

  • description 精准描述核心功能与依赖边界
  • 覆盖多种使用变体且不易与其他 Skill 重叠
结构规范88/100

待提升项

  • 缺少显式出口条件说明 原报告严重程度:轻微

    cleanup 命令的调用时机未在典型流程中显式强调

    改进建议:在典型流程末尾添加显式提醒:'完成测试后,调用 cleanup 释放资源'

亮点

  • Phase/步骤清晰,含端到端示例和完整命令列表
  • frontmatter 完整,单文件长度合理
执行可靠85/100

待提升项

  • 不可逆操作缺少确认机制 原报告严重程度:轻微

    cleanup 和 snapshot 操作直接执行,无交互式确认

    改进建议:建议在脚本中对 cleanup/snapshot 添加 --force 参数或交互式确认提示

亮点

  • 工具来源明确,参数正确,覆盖主要异常场景
  • 自动处理依赖安装,提升首次使用成功率
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 46 行
  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 30 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。