Skip to main content

Browser Troubleshooting (Linux)

Problem: “Failed to start Chrome CDP on port 18800”

Fased’s browser control server fails to launch Chrome/Brave/Edge/Chromium with the error:

Root Cause

On Ubuntu and many Linux distros, the default Chromium installation is a snap package. Snap’s AppArmor confinement interferes with how Fased spawns and monitors the browser process. The apt install chromium command installs a stub package that redirects to snap:
This is NOT a real browser — it’s just a wrapper. Install the official Google Chrome .deb package, which is not sandboxed by snap:
Then update your Fased config (~/.fased/fased.json):

Solution 2: Use Snap Chromium with Attach-Only Mode

If you must use snap Chromium, configure Fased to attach to a manually-started browser:
  1. Update config:
  1. Start Chromium manually:
  1. Optionally create a systemd user service to auto-start Chrome:
Enable with: systemctl --user enable --now fased-browser.service

Verifying the Browser Works

Check status:
Test browsing:

Config Reference

  • browser.enabled: enable browser control. Default: true.
  • browser.executablePath: path to a Chromium-based browser binary, such as Chrome, Brave, Edge, or Chromium. Default: auto-detected.
  • browser.headless: run without GUI. Default: false.
  • browser.noSandbox: add --no-sandbox for Linux setups that need it. Default: false.
  • browser.attachOnly: attach to an existing browser instead of launching one. Default: false.
  • browser.cdpPort: Chrome DevTools Protocol port. Default: 18800.

Problem: “Chrome extension relay is running, but no tab is connected”

You’re using the chrome profile (extension relay). It expects the Fased browser extension to be attached to a live tab. Fix options:
  1. Use the managed browser: fased browser start --browser-profile fased (or set browser.defaultProfile: "fased").
  2. Use the extension relay: install the extension, open a tab, and click the browser relay extension icon to attach it.
Notes:
  • The chrome profile uses your system default Chromium browser when possible.
  • Local fased profiles auto-assign cdpPort/cdpUrl; only set those for remote CDP.