The visible browser changed tabs, but CDP still saw the old one
In the remote browser setup, I could see Chrome through noVNC and control a Chrome instance through CDP. I initially assumed those were two connections to the same browser.
They weren’t. The visible browser had useful tabs open while CDP reported about:blank. Later, after reconnecting the viewer and navigating elsewhere, automation still reported an old example.com page that wasn’t in the visible window.

Illustration: similar-looking windows can show different places.
Restarting the viewer wasn’t a useful way to identify the browser process.
I needed to compare three owners
noVNC shows the X display. CDP exposes targets belonging to the browser listening on its debugging port. Neither connection promises that every Chrome window on that display belongs to that browser.
The first process comparison made the mismatch concrete:
| Observation | Browser A | Browser B |
|---|---|---|
| Visible window | Consent application | about:blank |
| CDP listener on loopback port 9222 | No | Yes |
| Managed remote-browser service | Older independent process | Service process |
For the next investigation I compared the window PID, the service’s main PID and the process owning the debugging listener. Counting Chrome processes alone wasn’t enough: renderer and utility subprocesses also appear in that list.
A selected tab also isn’t the same thing as a target list. Checking all page targets helped rule out the simpler explanation that example.com was still open in another tab.
Browser launches kept recreating the split
Closing the older window and restarting the managed browser brought the interfaces together, but didn’t stop another application from opening a separate browser later.
OAuth clients and other tools launch browsers too. Those launches needed to converge on the same profile as the managed CDP-enabled instance.
The repair used a user-level launcher with the existing dedicated profile:
#!/usr/bin/env bash
export DISPLAY=:99
exec /usr/bin/google-chrome \
--user-data-dir="$HOME/.chrome-remote" \
"$@"
I pointed $BROWSER at that launcher and registered a desktop entry for HTTP and HTTPS handlers. The desktop association covered launches through xdg-open, which couldn’t be assumed to use the shell’s $BROWSER setting.
The final check followed the URL through both interfaces
Opening https://example.org through xdg-open reported that it was using the existing browser session. More usefully, the page appeared in noVNC and in the CDP target list. That verified the complete route:
xdg-open -> user URL handler -> shared-profile launcher
-> managed Chrome
├─ visible through noVNC
└─ inspectable through CDP
Existing independent browser windows still needed closing; changing a default handler doesn’t merge their processes. A tool that deliberately starts a separate profile can also bypass this arrangement.