Skip to content

Windows: WSL backend disables Chrome/Edge control with misleading organization/region message #44253

Open

Description

@Lunaticus7

Environment

  • Codex Desktop release: 26.903.61454
  • OS: Windows with WSL backend enabled
  • Subscription: Personal Pro

Problem

When Codex uses the WSL backend, both Google Chrome and Microsoft Edge are disabled in Settings → Computer use, with this message:

Disabled by your organization or unavailable in your region

Switching to the Windows backend makes both browser controls available and allows proceeding with plugin installation. Switching back to WSL reproduces the disabled state.

The desktop logs explicitly identify the reason as wsl-disabled, but the UI does not mention WSL.

Steps to reproduce

  1. Run Codex Desktop on Windows.
  2. Enable the WSL agent backend.
  3. Open Settings → Computer use.
  4. Observe that Chrome and Edge are disabled with the organization/region message.
  5. Switch the agent backend to Windows.
  6. Observe that both browser controls become available.
  7. Switch back to WSL and observe that they are disabled again.

Relevant logs

The same desktop release logged both states:

2026-09-09T17:00:39.641Z
browser_use_availability_resolved available=true browserPane=true platform=Windows reason=available release=26.903.61454

2026-09-09T17:17:47.159Z
browser_use_availability_resolved available=false browserPane=true platform=Windows reason=wsl-disabled release=26.903.61454

Expected behavior

Browser control should work with a WSL agent backend through the Windows desktop app.

If this combination is currently unsupported, the UI should explicitly explain the WSL limitation instead of displaying an organization/region error.

Switching the entire agent backend is disruptive: in this reproduction, the existing WSL session could not be continued under the Windows backend, requiring a switch back to WSL to resume the conversation.

Related issue

#25301 reports the same reason=wsl-disabled behavior on an older release. This report confirms it on 26.903.61454, with a reproducible Windows-versus-WSL comparison for Chrome and Edge.

Activity

  1. added
    bug
    app
    windows-os
    on Sep 9, 2026
  2. GigiTiti-Kai commented on Sep 16, 2026

    @GigiTiti-Kai

    Confirmed on Windows with desktop app package version 26.908.9136.0 on September 16, 2026. The same behavior was also observed before updating, on package version 26.908.4834.0.

    Reproduction with the same account and machine:

    1. With the agent environment set to WSL2, open Settings → Computer use. Chrome and Edge are disabled with the Japanese message 組織によって無効にされているか、お住まいの地域では利用できません (disabled by your organization or unavailable in your region). Brave showed the same message when expanded. The “Any app” switch remains enabled.
    2. Switch the agent environment to Windows native and restart the desktop app. The organization/region message disappears and browser installation controls become available.
    3. Complete the Chrome connection setup while using Windows native.
    4. Switch the agent environment back to WSL2 and restart. Chrome and Edge are disabled again with the same organization/region message.

    Updating the app and completing setup in Windows native before switching back did not resolve this. This is more than an initial extension-installation problem.

    Could you clarify whether browser-extension integration with a WSL2 agent is intentionally unsupported or a tracked bug, and whether there is a supported way to keep the agent in WSL2 while using the Windows Chrome side panel? If unsupported, a WSL-specific explanation in the UI would be much clearer.

    This confirmation is based on the settings UI and the Native → WSL2 comparison; it does not independently confirm the internal wsl-disabled log reason.

  3. mccarthysean commented on Sep 27, 2026

    @mccarthysean

    Current reproduction on 2026-09-27: Chrome and Edge remain disabled with the misleading organization/region message on Desktop release 26.924.22138.

    Environment

    • Windows 11, version 25H2, build 26200.8875.
    • Installed Microsoft Store package: OpenAI.Codex, version 26.924.2738.0.
    • Desktop release reported in logs and generated browser runtime configuration: 26.924.22138.
    • Personal ChatGPT Pro 20x account, Canada.
    • Agent environment: WSL2, Ubuntu 22.04.3 LTS; workspace on the native WSL filesystem.
    • codex --version in the WSL shell: codex-cli 0.158.0-alpha.2.1 (shell CLI version; not independently identified as the running app-server binary).
    • The app had been restarted approximately an hour before this investigation.

    User-visible behavior

    Settings > Computer use lists both Google Chrome and Microsoft Edge as:

    Disabled by your organization or unavailable in your region

    The Computer Use / Any App row is also present. Its toggle state was not independently verified.

    Direct evidence of the WSL availability gate

    The current Desktop log contains:

    2026-09-27T19:09:27.784Z
    browser_use_availability_resolved available=false browserPane=true platform=Windows reason=wsl-disabled release=26.924.22138
    

    The same reason appears earlier in this launch and in logs from the preceding Desktop release 26.917.71314.

    Relevant existing configuration:

    [desktop]
    runCodexInWindowsSubsystemForLinux = true
    integratedTerminalShell = "wsl"

    The inspected Windows/WSL user configuration files contained no explicit browser/computer/remote feature-disable flags. No requirements.toml file was present at the checked user locations or /etc/codex/requirements.toml. This does not claim to exclude every possible managed policy source; the concrete logged availability reason is wsl-disabled.

    Related pre-execution runtime failure

    The Chrome and Computer Use skills and the node_repl/js tool are exposed to the agent. A minimal read-only call, without initializing a browser or accessing a website:

    nodeRepl.write('Read-only connection probe');

    fails before execution:

    Mcp error: -32602: js: codex/sandbox-state-meta:
    sandboxCwd is not a local file URI: file:///home/<user>/<workspace>
    

    This was reproduced multiple times, including after discovering the availability log. The generated MCP command points to the bundled Windows node_repl.exe; BROWSER_USE_AVAILABLE_BACKENDS is an empty string. This matches the separate path-mapping failure tracked in #29639.

    Requested resolution

    1. Report the actual WSL limitation in Settings instead of directing personal-account users toward organization policy or geographic eligibility.
    2. Clarify whether Windows browser/Computer Use with a WSL agent is supported and track the availability gate together with the Windows runtime metadata incompatibility.
    3. Provide a supported solution that preserves filesystem and network sandbox enforcement.

    This investigation did not switch the agent backend, patch bundled binaries, change browser policies, or disable sandbox enforcement. A Windows-native comparison has not been run on this machine to avoid disrupting existing WSL chats. All local account names, workspace names, credentials, and unrelated log content have been omitted.

  4. whitecait commented on Oct 3, 2026

    @whitecait

    Current reproduction on Desktop package 26.930.3748.0.

    I also contacted OpenAI Support. Their current guidance was that the Windows desktop app can run the agent in WSL2, but the public documentation does not state that built-in Browser / Computer Use is supported when the agent itself runs in WSL2. They said that reason=wsl-disabled is therefore consistent with an unsupported limitation (or a bug), rather than Browser/Computer Use feature toggles.

    They recommended submitting in-app feedback and providing the session ID so the exact reproduction and sanitized logs can be tied to the report. I have followed / am following that path; the session ID is being provided privately to OpenAI Support rather than posted publicly here.

    Additional diagnostics on 26.930.3748.0 remain consistent with this issue:

    • WSL mode resolves Browser availability to wsl-disabled.
    • This is independent of the normal Browser feature/plugin enable settings.
    • The bundled Windows node_repl.exe rejects the WSL file:///home/... sandbox working-directory URI, while the corresponding Linux runtime accepts it.
    • After adapting the working-directory path and supplying the full permission profile, Node REPL execution succeeds, but the in-app-browser backend still is not exposed to the WSL-backed session (agent.browsers.list() remains empty / Browser is not available: iab).

    This suggests that resolving the issue likely requires more than removing the availability gate: the Windows↔WSL runtime/path/IPC bridge also needs to be supported.

    Requested clarification / resolution:

    1. Is Windows Desktop + WSL2 agent + Browser/Computer Use being tracked as a bug, an unsupported limitation, or a requested capability?
    2. If the limitation is temporary, please track restoration of the WSL Browser/Computer Use bridge.
    3. Please add regression coverage for Windows host + WSL2 agent + Browser/Computer Use.
    4. While unsupported, please show a WSL-specific message instead of the organization/region message.
  5. LLjpcz commented on Oct 15, 2026

    @LLjpcz

    Additional evidence from installed desktop package 26.1007.9446.0 (static read, 2026-10-15), and a request to clarify the supported configuration.

    In this package, browser availability returns wsl-disabled when runCodexInWsl is true and the other gates pass (simplified: runCodexInWsl ? 'wsl-disabled' : 'available'). A chrome-extension window returns available directly; other unmet gates return statsig-disabled or config-requirement-disabled. Settings-section logic puts wsl-disabled in the same group as statsig-disabled and config-requirement-disabled. The same package still logs browser_use_availability_resolved with the reason. This gate is explicit in the current package. The main open report for it is #34458.

    On this machine a 2026-09-28 desktop log recorded browser_use_availability_resolved available=false browserPane=true platform=Windows reason=wsl-disabled release=26.924.22138. On 2026-10-15, after an existing conversation was switched from Windows native back to WSL, the tools exposed to the agent included no browser-control entry point, node_repl, or cua_repl. Browser automation had worked in the preceding Windows-native workflow.

    A September build's static read showed a second layer: Windows node_repl rejected a non-local file:// sandboxCwd (sandboxCwd is not a local file URI), the same layer as #29639. That sandboxCwd finding is from the September build and was not re-checked on 26.1007.9446.0.

    Could OpenAI clarify whether this gate is the long-term design or a temporary state, and what the roadmap is? The settings page should name the WSL limitation and the supported Windows-native alternative; grouping it with the statsig/config-requirement reasons makes it look like an organization or region restriction. The Windows and Browser docs describe the WSL agent backend and desktop Browser support, but not this combination:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions