Skip to content

Warning Failed to initialize Linux automation in CLI mode #6797

@spikewang

Description

@spikewang

I am using goose CLI in headless mode running on Linux through SSH. After upgrading to v1.21.2. This new warning shows up every time I run a recipe.

◐  starting 3 extensions: computercontroller, kubernetes, filesystem                                                                             
Warning: Failed to initialize Linux automation: Unable to detect display server
starting session | provider: ollama model: nemotron-3-nano:30b

To Reproduce
Steps to reproduce the behavior:

  1. SSH to a linux machine and run goose with a recipe.
  2. The run will continue, but this warning shows up every run.

Expected behavior
There should be no warning on CLI running headless mode. Guess it expected some $DISPLAY now, but it's CLI mode, so it should not need to initialize that.

Screenshots
If applicable, add screenshots to help explain your problem.


Please provide the following information

  • OS & Arch: Ubuntu
  • Interface: CLI
  • Version: v1.21.2
  • Extensions enabled: computercontroller, kubernetes, filesystem
  • Provider & Model:: Ollama + various models

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions