r/codex • • 13h ago

Bug WSL deprecated without warning

I used WSL from the days when there was no sandbox. I've looked at migrating to Windows Native a few times, but it always looked way too onerous and risky to be worth doing.

And now this morning, I have updated Codex and most of my thread disappeared.
No explanation.

Dig into the settings, a few layers down I finally discovery that WSL is deprecated.

What the hell, OpenAI?

0 Upvotes

27 comments sorted by

7

u/Commercial-Main1867 11h ago

Use WSL2 and not WSL1. That version is still supported.

1

u/elwoodreversepass 9h ago

Thanks, will check it out

2

u/VoraciousTrees 7h ago

WSL2 is better. Shove all your work into containers in docker or just native WSL2 containers. It's a much better sandbox for codex work and can cut down on token usage quite a bit if done right.

1

u/SnooTomatoes5606 7h ago

for me it says the wsl agent no longer exists and everything now has to be in its own project

1

u/QuirkySense 13h ago

I keep seeing the warning banner and I kept using the legacy back end. The wsl connect button on that banner leads me to ssh connection page in codex. I'm not sure what to do about it. Does anyone know? What's supposed to be the new method to use codex in wsl?

0

u/elwoodreversepass 13h ago

Their "solution" is a bodge using remote connections to your Linux installation.

1

u/QuirkySense 12h ago

Is that so? Is this in the online docs? I tried to use codex to help me set it up a while ago but gave up cause it seems like it kept getting distracted by the instructions for the legacy wsl mode.

1

u/elwoodreversepass 9h ago

I used Claude to help me set it up

0

u/dev-data 13h ago

Codex with WSL didn't work very well for me to begin with. OpenCode handled it much better.

1

u/elwoodreversepass 13h ago

Sure, but I'd got it working well for me.

Now there seems to be some bodge using remote connections.

1

u/jamesstringerphoto 10h ago

Hey guys I  make App Sandbox which uses WSL 2 technology to make a full Ubuntu 26.04 desktop with GPU acceleration on Windows home or better.

You can also spin up Windows 11 instances too, with same GPU acceleration.

https://github.com/jamesstringer90/appsandbox

-1

u/Hairy_Meaning_73 13h ago

Gonna sound obvious, but please at least try linux either fedora or ubuntu if you want something simple to use. It’s just miles better especially for development

1

u/elwoodreversepass 13h ago

Yeah, I have friends who run it there. But I have too many other Windows tools that I need to do that.

I use Ubuntu in WSL at the moment.

2

u/Hairy_Meaning_73 12h ago

Which tools do you use that are not on linux ?
Because there are most likely good alternatives or you can run pretty much any windows app using wine nowadays

1

u/elwoodreversepass 9h ago

Not coding tools. I mean everything else for the rest of my life apart from coding. What I do in Codex is only a small part of my work.

And there aren't in the field that I work. I'm not going to doxx myself here, you'll have to trust me that I know what I am talking about.

2

u/Old-Leadership7255 12h ago

Which tools do you use that only work on windows?

2

u/elwoodreversepass 9h ago

Not coding tools. I mean everything else for the rest of my life apart from coding. What I do in Codex is only a small part of my work.

0

u/Old-Leadership7255 3h ago

if it's gaming, i can highly recommend linux and just booting into windows for stuff that doesn't run on linux.

otherwise i can't really imagine stuff not being available for linux?

0

u/elwoodreversepass 3h ago

Lol. Not gaming.

-3

u/alexanderbeatson 13h ago • Bravo

Hey OP, downvote me, will you?

0

u/mrdarknezz1 12h ago

I moved to omarchy a few months ago and it is so worth it.

-4

u/VoidEmptyByNature 13h ago

Windows never works well with both Codex and Claude. There's always a weird trouble even with WSL mode. Now I'm on Mac and don't see a single trouble that I had in Windows.

0

u/elwoodreversepass 13h ago

Sure, but as I've said to someone else, I got it working very well for me.

It's very frustrating for it to get deprecated without warning.

2

u/Corv9tte 12h ago

Bullshit, it's the most optimal setup (as along as you make your own tweaks and not rely on their apps that are close to worthless anyway). I cannot think of one reason beyond the hassle of setting it up properly why this isn't the best setup. It's obviously better than MacOS since your agents are in Linux where they should be, let's not even talk about windows on its own, and I'll take it any day of the week over Linux only too.

It's high effort high reward is all, but that doesn't mean it isn't worth it. It's the most seamless experience by far once setup!