Browser Troubleshooting (Linux)
Problem: “Failed to start Chrome CDP on port 18800”
OpenClaw’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 OpenClaw spawns and monitors the browser process. Theapt install chromium command installs a stub package that redirects to snap:
Solution 1: Install Google Chrome (Recommended)
Install the official Google Chrome.deb package, which is not sandboxed by snap:
~/.openclaw/openclaw.json):
Solution 2: Use Snap Chromium with Attach-Only Mode
If you must use snap Chromium, configure OpenClaw to attach to a manually-started browser:- Update config:
- Start Chromium manually:
- Optionally create a systemd user service to auto-start Chrome:
systemctl --user enable --now openclaw-browser.service
Verifying the Browser Works
Check status:Config Reference
Problem: “No Chrome tabs found for profile=“user""
You’re using anexisting-session / Chrome MCP profile. OpenClaw can see local Chrome,
but there are no open tabs available to attach to.
Fix options:
- Use the managed browser:
openclaw browser start --browser-profile openclaw(or setbrowser.defaultProfile: "openclaw"). - Use Chrome MCP: make sure local Chrome is running with at least one open tab, then retry with
--browser-profile user.
useris host-only. For Linux servers, containers, or remote hosts, prefer CDP profiles.- Local
openclawprofiles auto-assigncdpPort/cdpUrl; only set those for remote CDP.