Login codex in a remove terminal

Resolved 💬 2 comments Opened Oct 2, 2025 by xiaoyu-work Closed Oct 2, 2025

What version of Codex is running?

v0.42.0)

Which model were you using?

_No response_

What platform is your computer?

Linux ubuntu

What steps can reproduce the bug?

I was trying to login codex in my remove vm terminal, i opened the web link and login, but the web was redirect to "http://localhost:1455/auth/callback?cxxxxx" since the terminal is a remove service, this localhost is not working, how can i login in a remote vm?

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

Meowzz95 · 10 months ago
xiaoyu-work · 10 months ago
check this out, this is mentioned in the doc https://github.com/openai/codex/blob/main/docs/authentication.md#connecting-on-a-headless-machine

Works! Thanks for the link