Skip to content

docs(linux): container Chromium failure modes - #563

Open
princejain756 wants to merge 1 commit into
vercel-labs:mainfrom
princejain756:docs/linux-container-chromium-gotchas
Open

princejain756 wants to merge 1 commit into
vercel-labs:mainfrom
princejain756:docs/linux-container-chromium-gotchas

Conversation

@princejain756

Copy link
Copy Markdown

Documents three container-specific Chromium failure modes in the Linux troubleshooting reference.

@vercel

vercel Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

@princejain756 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@princejain756

Copy link
Copy Markdown
Author

Context for reviewers, since the diff is docs-only.

Environment: Chromium driven by agent-desktop on an Xvnc/Xvfb desktop. Every accessibility check passed — status showed accessibility: granted with supported_surfaces: [window, sheet, alert, menu], the app was in list-apps, and --force-renderer-accessibility was set — and it still failed three ways.

1. Renderer crash. --disable-gpu + --disable-software-rasterizer survives about:blank, which makes it misleading to test against, and dies with Received signal 11 SEGV_MAPERR on a heavy SPA. --use-gl=swiftshader --disable-dev-shm-usage is stable.

2. X auth for helpers. A cookie outside the default path makes children log Authorization required, but no authorization protocol specified while the window still renders, so it reads as noise. ~/.Xauthority fixes it.

3. Unwritable profile. A root-side copy left 459 files root-owned, including Preferences and IndexedDB/*. The Profile error occurred modal owns the window, so snapshot returned 6 nodes / 1 ref with the dialog caption as the window title. After chown, the same page gave 424 nodes / 390 refs / complete: true.

Also recorded: a headless click is the reliable path for web content here, since semantic Action.DoAction needs no compositor hit-test, while headed pointer input refuses with pointer_hit_unproven / hit_test: Unknown under Xvnc.

--force-renderer-accessibility was already documented and is not the fix for any of the above.

```bash
agent-desktop launch google-chrome \
--arg=--force-renderer-accessibility \
--arg=--use-gl=swiftshader \

@vercel vercel Bot Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On current Chromium builds, --use-gl=swiftshader does not select the supported SwiftShader backend, so this recovery command fails to provide the software GL rendering it promises.

Fix on Vercel

@princejain756

Copy link
Copy Markdown
Author

Rebased onto main after #667 removed skills/agent-desktop-linux/references/troubleshooting.md and moved container guidance into apps/docs/content/docs/guides/docker-container.mdx. I moved the three container Chromium failure modes into that Docker container guide and removed the old headed fallback note so it matches the updated skill rules.

@princejain756
princejain756 force-pushed the docs/linux-container-chromium-gotchas branch from cda6bd2 to 94d96b2 Compare November 28, 2026 04:46

This branch has not been deployed

No deployments
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