Skip to content

Question: recommended way to run Glimpse under WSL2? #27

Description

@preinpost

Hi! First, thanks for Glimpse — it's great.

I'm running glimpseui from a Node tool inside WSL2 (Ubuntu on Windows 11) and wanted to check the intended setup.

What I see: With no native binary built, Glimpse auto-selects the Chromium CDP backend, but no window appears on WSL. It looks like the usual WSL cause — chromium --app fails with Missing X server or $DISPLAY when there's no display configured.

Questions:

  1. Is there a recommended/blessed way to run Glimpse under WSL2? What's the intended setup?
  2. Would a short WSL note in the README be welcome? Happy to open a small PR if so.
  3. Any interest in a WSL-aware hint when the backend can't find a display (detectable via WSL_DISTRO_NAME / microsoft in /proc/version), pointing users to the right setup or GLIMPSE_CHROME_PATH? Optional — just flagging it.

Thanks!

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions