Skip to content

Codex Desktop Windows - WSL - crashes on non standard mount /c instead of /mnt/c/ #22378

@isha-sharad

Description

@isha-sharad

What version of the Codex App are you using (From “About Codex” dialog)?

26.506.11943

What subscription do you have?

5x

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex desktop was running fine in windows. I changed the agent environment from windows native to wsl. then tried to restart. it doesn't load and gives this error. In my wsl.. c is mounted directly in root as /c instead of /mnt/c/

--
An error has occurred
Codex crashed with the following error:

(code=127, signal=null).
Most recent error: /usr/bin/bash: line 1: /mnt/c/Users/shara/.codex/bin/wsl/codex: No such file or directory
Some things to try:

Check your config.toml for invalid settings
Check your settings to disable running in WSL if you are seeing compatibility issues
Try downloading a different version of the extension
Click reload to restart the Codex extension, or visit our documentation for additional help.

Image

What steps can reproduce the bug?

Change agent envrionment frm native windows to wsl and in wsl have c drive mounted in root as /c/

What is the expected behavior?

Either codex-desktop should infer from wsl from c is mouted or specifically ask the user - so the issue doesn't happen.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions