Files
archived-orca/src/cli
Neil a54236751e fix(serve): start Linux headless serve on X11 so an inherited Wayland session can't abort it (#29260)
* fix(serve): pin headless Linux serve to X11 so an inherited Wayland session can't abort startup

Fixes #25400

* fix(serve): put --ozone-platform=x11 on the launch argv for Linux headless serve

Chromium caches its Ozone platform in PreSandboxStartup, before main JS runs,
so app.commandLine changes cannot move it off Wayland. Pin X11 on the CLI and
orcad serve spawns, and re-exec in-process serve (same pid) when Electron
already resolved Wayland.
2026-10-15 19:30:36 -07:00
..
2026-08-26 09:50:12 -07:00