codex icon indicating copy to clipboard operation
codex copied to clipboard

Image clipboard does not work in WSL when interop is disabled (Feudora)

Open Waxime64 opened this issue 1 month ago • 0 comments

What version of Codex is running?

0.66

What subscription do you have?

Plus

Which model were you using?

All

What platform is your computer?

WSL2 with Fedora Linux distribution

What issue are you seeing?

When running under WSL, if interop is disabled, image clipboard operations stop working. Copy/paste of images between Windows and WSL (or within WSL apps that rely on the clipboard bridge) fails: no image data is received on the WSL side.

What steps can reproduce the bug?

What steps can reproduce the bug? On Windows 11, install and configure WSL2 with a Fedora Linux distribution. Disable WSL interop for the distribution (for example via configuration so that Windows interop is turned off). Start the Fedora WSL instance. In Windows, copy an image to the clipboard (e.g., from a browser or image viewer). In WSL, use an application or tool that reads the clipboard image (or try to paste the image into a WSL GUI app, if available). Observed result: the paste/clipboard operation fails and no image data is available in the WSL environment as long as interop is disabled.

What is the expected behavior?

On Windows 11, install and configure WSL2 with a Fedora Linux distribution. (wsl.exe --install -d Feudora --no-launch)

Start the Fedora WSL instance. In Windows, copy an image to the clipboard (e.g., prinscreen). In WSL, paste image with CTRL+ALT+V).

Observed result: the paste/clipboard operation fails and no image data is available in the WSL environment as long as interop is disabled and the error message isn't good

Additional information

This command send error when interop is disabled powershell.exe -NoProfile -Command "Write-Output OK"

Tips for detect the problem If interop is enable, CTRL+ALT+V work: Ubuntu (Default Linux on WSL2), Debian

Waxime64 avatar Dec 04 '25 19:12 Waxime64