Skip to content

fix(live-proof): serve the terminal display without X authorization - #1188

Merged
steipete merged 1 commit into
mainfrom
steipete/live-proof-xvfb-auth
Aug 17, 2026
Merged

fix(live-proof): serve the terminal display without X authorization#1188
steipete merged 1 commit into
mainfrom
steipete/live-proof-xvfb-auth

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

Production diagnostics (openclaw/crabbox#1380 run 32022049214 and subsequent terminal dispatches) show the readiness probe and ffmpeg recorder refused by the display with "Authorization required, but no authorization protocol specified": xvfb-run protects Xvfb with an xauth cookie that processes outside its wrapper cannot present. The same diagnostics surfaced a missing default xterm bitmap font on hosted runners.

The terminal driver now starts Xvfb :99 -screen 0 1280x800x24 -nolisten tcp directly — an auth-less local display is safe here: the execute job is secretless by construction, the runner VM is ephemeral, and no TCP listener is bound — with xterm in its own tmux session pointed at the display via env, and the workflow installs xfonts-base. The readiness/finalize polling and three-pane diagnostics from #1186 are unchanged (they are what surfaced this root cause).

Validation

  • pnpm build clean; focused live-proof suite 18/18; full unit suite 2,291 passed, 0 failed.
  • Autoreview (Codex, gpt-5.6-sol, high): clean, "patch is correct (0.98)".

Production diagnostics from openclaw/crabbox#1380 showed xvfb-run guarding
the display with an xauth cookie, refusing the readiness probe and ffmpeg
recorder outside its wrapper. The driver now starts Xvfb :99 directly
(local-only, no TCP listener) with xterm in its own session pointed at the
display, and the workflow installs xfonts-base so xterm's default bitmap
font exists on hosted runners.
@steipete
steipete requested a review from a team as a code owner August 17, 2026 11:07
@clawsweeper

clawsweeper Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper

clawsweeper Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(live-proof): serve the terminal display without X authorization This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete merged commit 29c7b7b into main Aug 17, 2026
7 of 8 checks passed
@steipete
steipete deleted the steipete/live-proof-xvfb-auth branch August 17, 2026 11:09
steipete added a commit that referenced this pull request Aug 17, 2026
…capture (#1190)

Production terminal recordings (openclaw/openclaw#122341 run 32025434010)
showed ffmpeg capturing frames while the growth probe demanded strictly
increasing sizes between one-second samples, which VP9's bursty muxer
never guarantees. The recorder is now accepted once any payload is
written, VP9 encodes with realtime deadline tuning so hosted runners
hold the frame rate, and the workflow assertion learns the xfonts-base
dependency added in #1188.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant