Allow hiding unused or automatically discovered WSL connections in the Codex Desktop App

Open
#64,240 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
desktop

Research direction

Start by reading the Codex Desktop App connection manager code that discovers and displays WSL distributions; the issue does not name the relevant files or tests. Decide how hide and restore controls and persistent visibility preferences fit the existing connection settings, while keeping the underlying WSL distribution unchanged. Done means users can hide and restore an automatically discovered WSL connection and its visibility choice persists across restarts.

Written by the indexing model from the issue text.

Description

app enhancement remote windows-os
What variant of Codex are you using?

Codex Desktop App on Windows 11 (with WSL2 and SSH remote connections)

What feature would you like to see?

Current behavior

The Codex Desktop App automatically discovers installed WSL distributions and displays them in the WSL connections tab.

While these connections can be disabled, there is currently no visible option to hide or remove an automatically discovered WSL connection from the connection manager without affecting the underlying WSL installation.

Use case

I use Codex across multiple development and server environments, including:

  • A local WSL2 development environment accessed exclusively through SSH.
  • A remote production server.
  • A dedicated backup server with separate user connections.

All these environments are configured as individually named SSH connections.

Since my local WSL environment is intentionally accessed through SSH, the automatically discovered native WSL connection is redundant in my workflow. Even when disabled, it remains visible in the connection manager.

Proposed solution

Please consider adding the following options:

  • Hide connection: Allow individual automatically discovered WSL connections to be hidden.
  • Show hidden connections: Provide a way to view and restore previously hidden connections.
  • Disable automatic WSL discovery (optional): Allow users who exclusively rely on SSH connections to disable automatic WSL discovery entirely.
  • Persistent preferences: Preserve these visibility settings across application restarts and updates.

Hiding a WSL connection should only affect its visibility within the Codex Desktop App. It must not unregister, uninstall, modify, or otherwise affect the underlying WSL distribution.

Why this would be useful

  • Reduces unnecessary clutter in the connection manager.
  • Prevents accidental selection of the wrong execution environment.
  • Provides a clearer separation between native WSL and SSH-based workflows.
  • Improves usability for developers managing multiple local and remote environments.

Gives users more control over how their development infrastructure is represented within Codex.

When the same environment can be accessed through multiple connection methods, users should be able to decide which connections are relevant to their workflow.

This would be a small quality-of-life improvement with meaningful benefits for developers working across multiple environments.

Environment

  • Operating system: Windows 11
  • Local development environment: Ubuntu on WSL2
  • Remote access: SSH
  • Codex variant: Desktop App

Currentc onfiguration

All configured SSH connections are working correctly. The native WSL connection is disabled, and no projects are assigned to it.

The automatically discovered WSL connection nevertheless remains visible in the WSL connections tab.

The connection's context menu currently only provides a Settings option, which displays the distribution name. No hide or remove option is available.

This is not a connectivity issue or a request to remove WSL support. It is purely a request for better connection management, improved usability, and more control over the user interface.

Thank you for your continued work on Codex and its remote development capabilities!

Additional information

No response

Dominant language
Rust
Stars
136k
Forks
21.6k
Avg merge
1m
Merged PRs (30d)
997

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.