Use Firefox in VNC: Click Start login, then open the URL below in Firefox (in your VNC session). Sign in there. When you see "Paste this into Claude Code", copy the code and paste it in the box below → Submit code. (This CLI uses platform.claude.com for callback, not localhost — pasting the code here sends it to the CLI we started.)
Or use the screenshot below: click in the image to click there, type in the box and "Send key" to fill fields remotely.
If you see "Paste this into Claude Code" with a code: paste the full code here and click Submit (we send it to the CLI). Do not click Stop before submitting. If you get "connection refused" or it still fails, use Login → Option 2 (API key) — that always works.