Hermes Workspace: Debian Webtop over SSH
Status: installed and tested on Unraid, 2026-10-16. This supersedes the removed
Hermes-Sandbox SSH derivative. User explicitly authorized this Webtop experiment,
including persistent additional packages. No custom Docker image or Hermes code patch.
Components and boundaries
- Community Apps: https://ca.unraid.net/apps/webtop-1mtwder1vw909b
- Image:
lscr.io/linuxserver/webtop:debian-xfce - Pulled manifest:
sha256:d925f9c84663fe57735be4defe95a338d32bc37f2e12b9e0f0981e91b6bd0a5d - Tested amd64 image ID:
sha256:293999375c3afb3c365aaec873a9d6a6d44b0846cb6376f16b296e2a756e46e5 - Version:
eb802092-ls217, vendor build 2026-10-13. - Cua driver 0.36.0, official release from https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.36.0
- Driver SHA256:
d09deb163d5c505493c865c0882ccf261d460c515afe9df1ad1e5d4173f2a4f9 - agent-browser 0.26.0 from npm; Debian's Chromium from Webtop.
- Container
Hermes-Workspace, bridge network, UID/GID 1000, no privileged mode, no Docker socket. Hermes-Agent also has no Docker socket. - LAN ports:
192.168.1.2:3020HTTP desktop,3021HTTPS desktop,2224SSH. Webtop HTTPS uses its own certificate; a browser may request certificate acceptance. The persisted Unraid template publishes standard host ports; a GUI recreation may bind all host interfaces instead of the explicit LAN-IP used by the installation. - Old never-started Webtop-Debian definition was replaced; its Appdata retained. Port 3010 belongs to Immich-Kiosk and was not changed.
Persistence and update mechanism
Host /mnt/nvme-storage/appdata/Webtop-Debian is /config (user home).
Its init subdirectory is additionally mounted at /custom-cont-init.d:ro;
services at /custom-services.d:ro; tools at /opt/hermes-workspace.
install-tools.sh is deployed as init/10-hermes-tools; sshd-service.sh as
services/sshd. webtop-session and webtop-browser live in tools/bin.
These are LinuxServer's documented custom init/service mechanisms:
https://docs.linuxserver.io/general/container-customization/
LinuxServer does not formally support user-authored extensions themselves.
The installer restores missing Debian packages from
/config/.hermes-workspace/packages.txt when the container is recreated.
Native packages are reinstalled, not magically preserved in the image. Package
repositories/network must therefore be reachable on first boot after recreation.
Node package and Cua binary files live in the persistent tools mount.
Browser profile is /config/.hermes-workspace/browser-profile; work is
/config/workspace. The boot recipe clears only this browser's stale singleton
locks and own agent-browser runtime socket/PID files before a fresh session starts.
Additional apt packages must be recorded one per line in packages.txt; an ad-hoc apt install alone does not survive an image replacement. Other user-installed software also needs a persistent location or an explicit installation recipe.
Debian's openssh-server is configured for key-only abc login. Host private keys
are under /config/.hermes-workspace/hostkeys (root-only); authorized_keys is 0600.
The bootstrap prevents package post-install scripts from starting an unconfigured
sshd. pam_loginuid is removed from this container's SSH PAM chain because container
loginuid cannot be written; neither Unraid PAM nor Hermes binaries are changed.
Hermes integration
Terminal configuration: backend ssh, host 192.168.1.2, port 2224, user abc,
key /opt/data/ssh/id_ed25519_webtop, cwd /config/workspace.
The dedicated key is generated internally, never printed. MCP pins the host public
key through /opt/data/ssh/webtop_known_hosts, obtained directly from the container.
The ordinary SSH backend also has this verified host key in its known_hosts.
mcp_servers.webtop-desktop runs the official Cua MCP driver via SSH:
/opt/hermes-workspace/bin/webtop-session /opt/hermes-workspace/cua/cua-driver mcp --no-overlay.
The session helper uses Webtop's existing X11 display :1 and its current D-Bus
session. This is NOT Hermes' built-in computer_use/Bot Screen path: that path starts
its own separate Xvnc screen. No second Xvnc desktop is installed or started here.
Browser automation runs through the terminal command
/opt/hermes-workspace/bin/webtop-browser, using a headed Chromium with its own
persistent profile. Native Hermes browser tools were not rewritten to point there.
SOUL.md has a short routing instruction; workspace AGENTS.md documents the tools.
Existing instructions were retained and a protected private backup made in
/opt/data/backups/webtop-20261016.
Hermes discovered 66 tools from webtop-desktop. Existing 19 MCP definitions remain unchanged (20 definitions total). Existing deferred Tool Search behavior remains. Only Hermes-Agent was restarted to activate its configuration; no Athena, Deck, OpenCode or other service restart.
Verification
- SSH authenticated as abc with the dedicated key; cwd correct.
- Real Hermes terminal_tool executed commands and opened Example Domain in Chromium.
- Upload/download via scp from Hermes matched exactly.
- Cua MCP captured Webtop's actual 1024x768 desktop and Mousepad window.
- Cua mouse click, foreground keyboard entry and Ctrl+S saved exactly HERMES_WEBTOP_DESKTOP_OK; verified by independent file read.
- Browser opened a synthetic localhost HTTP fixture, filled a field, clicked its button and read exactly OK: HERMES_BROWSER_OK. Screenshot visually inspected.
- Public https://example.org navigation and title read passed.
- Actual Hermes MCP discovery/registry registered 66 tools and dispatched list_windows.
- Full container removal/recreation from the same untouched manufacturer image performed twice. Files, key identity and driver survived; SSH/system packages were restored by the boot recipe. Final browser/form test passed after recreation.
- Latest image pull reported up-to-date. This tests image recreation, not an untested future Debian/Python major-version upgrade.
- Final Webtop HTTPS returned 200; Hermes dashboard reachable (302 login redirect).
Limits: background Cua input is not reliable on every widget. The tested path uses
foreground input on this dedicated desktop. Cua may report effect: unverifiable;
verify actual effects independently. Driver emits cursor-overlay warnings despite
--no-overlay; tested capture/input still worked. agent-browser reports that repeated
launch flags are ignored while its already-configured daemon runs; tests passed.
No LLM autonomous multi-step task or broad third-party website compatibility suite
was performed. Tool execution and integration, not model intelligence, were tested.
Restore and removal
This is an optional Unraid integration, not a native Athena Deck dependency.
Back up the entire Webtop-Debian Appdata tree and Hermes-Agent Appdata, including
SSH keys, browser profile, config.yaml and SOUL.md, using an encrypted backup.
Keep the Unraid template /boot/config/plugins/dockerMan/templates-user/my-Hermes-Workspace.xml.
No claim that an existing backup job already includes these paths has been made.
Restore appdata plus template before creating the vendor image. Preserve ownership and executable bits; root-owned init/service scripts need 0755. Generate a new SSH key only if the old private backup is unavailable, then replace authorized_keys internally and re-pin the container host key. Never put keys/cookies/config backups into Git. On a fresh Debian host Docker plus the documented image/mounts are required; no dependence on today's Athena CUDA/compiler/model stack.
For removal: return Hermes terminal to local, remove only webtop-desktop MCP and the added SOUL section, then remove the Workspace container/template. Preserve user work unless explicitly asked to delete it. Private pre-change Hermes config backups exist, but restoring them wholesale later could overwrite newer settings.