RDPSchool is not a separate company or service. The brand has been retired and rdpschool.com now points here permanently.
Same team, same servers, same support — new name. Existing RDPSchool accounts, services and renewals continue exactly as before; only the name and the web address have changed.
OpenAI Codex CLI · Always on · Root access
A Linux VPS for the OpenAI Codex CLI. Install it with one command, sign in with a device code from the browser on your own device, and let it work inside tmux while your laptop is switched off. Private KVM server with full root, its own IP address and reserved memory. The 4 GB plan starts at $14.99₹1,389.27 a month, billed monthly.
PRICING
The install notes in the Codex repository list 4 GB of RAM as the minimum and 8 GB as recommended. Start at 4 GB for one session, or 8 GB if builds and tests run on the same server. Billed monthly, with no long contract.
| Plan | vCPU | Memory | Storage | Bandwidth | Setup | Price | |
|---|---|---|---|---|---|---|---|
| 4GB Plan Recommended | 4 vCPU | 4 GB | 80 GB SSD | 5 TB | Instant | $14.99/mo₹1,389.27/mo | Buy Now |
| 6GB Plan | 4 vCPU | 6 GB | 100 GB SSD | 5 TB | Instant | $19.99/mo₹1,852.67/mo | Buy Now |
| 8GB Plan | 6 vCPU | 8 GB | 100 GB SSD | 5 TB | Instant | $29.99/mo₹2,779.47/mo | Buy Now |
| 16GB Plan | 8 vCPU | 16 GB | 100 GB SSD | 5 TB | Instant | $59.99/mo₹5,559.87/mo | Buy Now |
WHY A VPS
Most people asking about Codex on a VPS want two things: a machine that stays on, and a sign-in that works without a screen. This covers both.
Start Codex inside tmux and disconnect. The session stays open on the server, so a long refactor or test run is not cut short when your Wi-Fi drops or the laptop goes to sleep.
A server has no browser to open. Codex has a device code login for that case, plus an SSH port-forward fallback. Both are shown step by step below.
The ChatGPT desktop app can connect to an SSH host. Once Codex is installed and signed in here, the app on your computer can run tasks on this server.
Codex runs commands and edits files. On a VPS it can reach only the repository and tools you put there, while your own documents and saved logins stay at home.
Each server has its own IPv4 address. Add it to a database allow list, point a test domain at it, or open the app Codex just built at the same address tomorrow.
If the agent leaves the system in a mess, reinstall the operating system from the client area and begin again. Reboot is there too, and neither needs a support ticket.
SETUP
The part people get stuck on is step 5, signing in on a machine with no browser. The Codex commands below are the ones in OpenAI's documentation.
Press Buy Now on a plan above and pick Ubuntu 24.04 on the order form. The server is created automatically once the payment is confirmed. Its IP address and root password are sent to you by email.
Log in as root one time, make an everyday user for the agent and switch to it. OpenAI's advice for SSH hosts is least-privilege accounts, and this is the simple version of that. Put your own address in place of YOUR_SERVER_IP.
ssh root@YOUR_SERVER_IP
adduser dev
usermod -aG sudo dev
su - devtmux keeps the session alive when you disconnect. bubblewrap is the package Codex uses for its sandbox on Linux.
sudo apt update && sudo apt install -y tmux git
sudo apt install bubblewrapThis is the official installer from OpenAI.
curl -fsSL https://chatgpt.com/codex/install.sh | shIf you already use Node.js, npm install -g @openai/codex installs the same tool.
First, on your own computer, open the security settings of your ChatGPT account and enable device code login. Then run the command below on the server and approve the sign-in from the browser on your laptop or phone. OpenAI lists this login as beta.
tmux new -s codex
codex login --device-authNo device code option on your account? Use the port-forward method in the sign-in section further down this page.
Bring a repository onto the server, enter its folder and start the agent. To leave it running, press Ctrl+B and then D to step out of tmux, and close the terminal.
git clone https://github.com/you/your-project.git
cd your-project
codexFrom any device with an SSH client, log in again and attach. Everything is where you left it.
ssh dev@YOUR_SERVER_IP
tmux attach -t codexREMOTE USE
There are three ways people try to reach a remote Codex. Two of them work with a Linux VPS. One does not, and it is better to know that before you order.
| Way to reach Codex | Linux VPS | What it needs |
|---|---|---|
| SSH and tmux from a laptop, tablet or phone | Any SSH client. You type in the real Codex terminal, and tmux holds the session between visits. | |
| ChatGPT desktop app, "Connect to an SSH host" | The app on your own computer. On the server, codex must be installed, signed in and on the PATH. | |
| Phone control with QR pairing | A host that runs the ChatGPT desktop app on macOS or Windows. OpenAI states that you cannot set it up from the Codex CLI. |
SIZING
| What you run | Plan to pick | Why |
|---|---|---|
| One Codex session on a script, API or small web project | 4 GB | The minimum in the Codex install notes. Room for the agent, git and a light test run. |
| Daily work with builds, a dev server and tests beside the agent | 8 GB | The recommended figure in the same notes. Compilers and test runners take memory of their own. |
| Several sessions, Docker containers and a database | 16 GB | Our own suggestion for a full stack that stays up all day next to the agents. |
| Bots, cron jobs and small scripts with no coding agent | 1 GB or 2 GB | Fine for light programs. Below the 4 GB minimum listed for Codex. |
A Codex VPS is a rented Linux computer in a datacenter with the OpenAI Codex CLI installed on it by you. Your code, your tools and the agent sit on that computer. You reach it over SSH, give Codex a task and leave. Each VPSLake plan is a private KVM virtual machine with reserved memory, SSD storage, full root access and one dedicated IPv4 address.
It is a good fit if you give Codex jobs that take longer than you want to sit and watch, if you work from more than one device, or if you would rather not let an agent run commands on your personal computer. It is not for everyone. If you only use Codex in short bursts at your desk, your laptop does the job and a server is money you do not need to spend. And if what you want most is OpenAI's phone control, that needs a Mac or Windows computer running the ChatGPT desktop app, not a Linux server.
We hand over a clean server with the operating system you chose, a root password and a fixed IP. Codex is not preinstalled and there is no one-click installer. That is on purpose: you run OpenAI's installer and get the current release. We do not sell ChatGPT plans or API credit. For anything on the server side, such as SSH access, a reboot or a reinstall, support answers by ticket, WhatsApp and Telegram seven days a week.
Codex normally signs in through a browser window, and a VPS does not have one. OpenAI documents four ways around that.
1. Device code login. Enable device code login in your ChatGPT security settings, then run this on the server. It is the method used in the setup steps, and OpenAI marks it as beta.
codex login --device-auth
2. SSH port forward. Open the SSH connection from your laptop with port 1455 forwarded, then run the normal login in that session and finish it in the browser on your laptop. Replace user@remote with your own user and server address.
ssh -L 1455:localhost:1455 user@remote
codex login
3. Copy the login file. If Codex is already signed in on another machine, copy ~/.codex/auth.json from there to the same path on the server. Treat that file like a password.
4. API key. To pay per use with an OpenAI API key instead of a ChatGPT plan, put the key in the OPENAI_API_KEY variable and pass it in:
printenv OPENAI_API_KEY | codex login --with-api-key
Codex works with a ChatGPT plan or with an API key billed at API rates. OpenAI's pricing page lists the plans as Free, Go, Plus, Pro, Business and Enterprise/Edu, as of November 2026. How much you can use Codex is decided by that account. A bigger server does not raise it.
The VPS has no GPU. Codex sends its requests to OpenAI's models over the internet, and the server runs the agent, your builds and your tests. It cannot run a large AI model locally, and it does not need to for this job.
The desktop app for Codex is now called the ChatGPT desktop app. With a Linux VPS you keep the app on your own computer and use its "Connect to an SSH host" feature. OpenAI also has a Linux build of the app in preview for Ubuntu 24.04 and 26.04 LTS, Debian 13, Fedora 43 and 44, and Arch. That build needs a graphical desktop, which a plain VPS does not have. Our Ubuntu RDP gives you an Ubuntu desktop you open with Remote Desktop. Phone control still needs macOS or Windows, and we have not tested it on our Windows RDP for AI coding plans, so do not order one for that reason alone.
The same server suits other terminal agents. See Claude Code VPS for Anthropic's tool and OpenCode VPS for the open source one.
Pick the location in the plans table: Miami, Florida, Frankfurt, Germany or Amsterdam, The Netherlands. Codex does its work on the server and only text comes back to your screen, so distance matters little. Choose the place nearest to you for a snappier terminal, or nearest to your users if the app will also be hosted there. If you move up a plan later, your files stay and the server needs one reboot.
Codex and ChatGPT are products of OpenAI. VPSLake is an independent hosting provider and is not affiliated with OpenAI.
Pay the way you already pay
FAQ
codex login --device-auth on the server. Device code login means the approval happens in the browser on your own laptop or phone, not on the server. OpenAI marks it as beta, and you have to enable device code login in your ChatGPT security settings before the command will work.ssh -L 1455:localhost:1455 user@remote and then run codex login, copy the file ~/.codex/auth.json from a machine where you are already signed in, or sign in with an API key using printenv OPENAI_API_KEY | codex login --with-api-key.codex installed, signed in and on the PATH, which is exactly what the setup steps on this page leave you with. The app runs on your computer and the work happens on the server.tmux attach -t codex, and you are back in the same session.Order a 4 GB or 8 GB VPS, run one install command, sign in with a device code and leave the agent working. Billed monthly, cancel when you like.