Skip to content

browser subagent fails in wayland #21983

@sigmaSd

Description

@sigmaSd

What happened?

browser subagnet fails

 Browser Agent Finished                                                                                  │     
│                                                                                                         │     
│ Termination Reason: GOAL                                                                                │     
│                                                                                                         │     
│ Result:                                                                                                 │     
│ {                                                                                                       │     
│   "success": false,                                                                                     │     
│   "summary": "Terminal Failure: Failed to open a new page. The browser implementation returned the      │     
│ following error: \"Missing X server to start the headful browser. Either set headless to true or use    │     
│ xvfb-run to run your Puppeteer script.\" This error appears unrecoverable as I do not have direct       │     
│ control over the browser's launch parameters (e.g., setting headless=true) through the available        │     
│ tools. According to the instructions, this is a terminal failure. Please check the browser              │     
│ configuration or try again."                                                                            │     
│ }                                                                                                       │     
│              

What did you expect to happen?

I expected it to not error, I'm using wayland , if the gui is not possible atleast it should fallback to headless

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
 About Gemini CLI                                                                                            │ 
│                                                                                                             │ 
│ CLI Version                          0.33.0                                                                 │ 
│ Git Commit                           6ee19e1f6                                                              │ 
│ Model                                Auto (Gemini 3)                                                        │ 
│ Sandbox                              no sandbox                                                             │ 
│ OS                                   linux                                                                  │ 
│ Tier                                 Gemini Code Assist for individuals                                     │ 
│                                                                                                             │ 
╰─────────────────────

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/browserarea/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitykind/bugpriority/p1Important and should be addressed in the near term.priority/p2Important but can be addressed in a future release.status/bot-triagedstatus/need-retestingworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

    Type

    No fields configured for Bug.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions