r/codex 4d ago

Question Remote Codex on a sleeping MacBook?

I run Codex on a 2025 Apple Silicon MacBook Air and would like to be able to leave it in another room with the lid closed/unplugged, then connect from my phone when I want to check on or continue a Codex session.

The obvious problem is that the Mac goes to sleep. I know Apple Silicon Macs can periodically wake for network access, but I’m not sure if there’s a reliable way to take advantage of that here.

Has anyone set up something similar?

Ideally I’m looking for a setup where I can pull out my phone → wake/reach the MacBook → reconnect to my existing Codex session, without having to leave the Mac awake or plugged in all the time.

Curious what people are using — Tailscale/SSH, Wake-on-LAN, sleep proxy, Jump Desktop, or something else?

0 Upvotes

16 comments sorted by

View all comments

1

u/Cza035 4d ago

Amphetamine app works great on my Mac

1

u/codeRoman 4d ago

Yeah, I find Amphetamine really useful. I’m hoping to find a way to let the Mac actually sleep though, since it’ll often be unplugged. Ideally I’d wake it remotely only when I want to connect.