Skip to content

Codex App (WSL mode on arm64 cpu not working) #13565

@TheBeems

Description

@TheBeems

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

26.304.1528.0

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64 (Snapdragon X Elite arm64 cpu)

What issue are you seeing?

When running the codex in WSL mode, it gives the following error:

Codex app-server exited unexpectedly (code=126, signal=null). Most recent error: /usr/bin/bash: line 1: /mnt/c/Users/user1/.codex/bin/wsl/codex: Success

ChatGPT suggested it might have to do with the architecture.

What steps can reproduce the bug?

  1. Install the Codex App from the Windows store
  2. Change runCodexInWindowsSubsystemForLinux to true

What is the expected behavior?

The Codex App starts normally.

Additional information

> uname -m
aarch64
> dpkg --print-architecture
arm64
> ls -l /mnt/c/Users/user1/.codex/bin/wsl/codex
-rwxrwxrwx 1 user1 user1 111740344 Mar  5 09:38 /mnt/c/Users/user1/.codex/bin/wsl/codex
> file /mnt/c/Users/user1/.codex/bin/wsl/codex
/mnt/c/Users/user1/.codex/bin/wsl/codex: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, stripped

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingterminalIssues related to the in-app terminalwindows-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