Home/Guides/How to code in VS Code or Cursor over a remote desktop

How to code in VS Code or Cursor over a remote desktop

Updated · airankrush

What this guide covers

When you finish, you can use a graphical editor comfortably in the remote desktop, and long tasks are not cut off when the editor window closes. You need: a remote desktop connection that is already stable.

Steps

  1. Install on the remote Mac

    Open the vendor's website in the browser inside the remote desktop and download from there. For VS Code, follow the official macOS setup instructions: open the downloaded .dmg, drag the app into the Applications folder and launch it from there. For Cursor, install from the .dmg provided in the official installation docs, then open it and sign in. Download the installer on the remote Mac; do not download it locally and transfer it over.

  2. Install the command line launcher

    In VS Code, open the Command Palette and run Shell Command: Install 'code' command in PATH (the name in the official docs may vary slightly between versions). After reopening the terminal, code . opens the project in the current directory. For Cursor's command line launcher, follow its official docs.

  3. Reduce on-screen motion so the remote session feels more responsive

    A remote desktop transmits the picture, so the less that moves on screen, the smoother it is. In settings you can turn off the minimap (editor.minimap.enabled), turn off smooth scrolling (editor.smoothScrolling), make the cursor solid instead of blinking (set editor.cursorBlinking to solid), and switch to a flat-color theme. Actual smoothness depends on your own local network line, and we have no delay figures to give.

  4. Sort out the keyboard mapping

    When you connect from Windows, the remote access client decides which physical key acts as Command. Confirm the mapping in the client settings first, then try the most common combinations: copy, paste and save. If a combination is intercepted by the local system, you can bind that action to a different, non-conflicting key in the editor's keyboard shortcuts. For the connection tutorial, see UU Remote from Windows.

  5. What to choose when macOS shows privacy prompts

    The official VS Code docs mention that macOS may show dialogs asking for access to Calendar, Contacts and Photos. These come from the system's privacy protection and not from VS Code itself, and the docs suggest choosing Don't Allow. The same holds on a rented machine: the editor only needs access to your project directory.

  6. Do not run long tasks in the integrated terminal

    Processes in the editor's integrated terminal end when the window closes, reloads or restarts for an editor update. Put dev servers, long builds and agent sessions in tmux, and use the integrated terminal only to run tmux attach. Then if the editor crashes or you close the window by accident, the task is unaffected.

  7. Connecting from a local editor: check the prerequisites first

    VS Code Remote-SSH lists macOS as a supported remote host, but the official requirements call for Remote Login to be turned on at the remote end. You can turn it on yourself in System Settings under General → Sharing. However, the only connection methods we provide are UU Remote and RustDesk. Whether this machine can be reached over SSH from the public internet is determined by the delivery notes, so check with support before ordering. Do not change the network configuration or set up port forwarding for this.

FAQ

Settings Sync needs a GitHub or Microsoft account login. Is that safe?

You can log in, the same as on any computer. Remember to sign out in the editor before the rental ends, and remove this machine from the authorized devices or apps on the relevant platform.

Do the editor's AI features need my own account?

Yes. Subscriptions and quotas for Cursor and the various AI extensions are between you and the provider. We only provide the machine.

The editor says it needs to restart to update. Does that affect the machine?

That only restarts the editor app, not the Mac. As long as your long tasks are not in the integrated terminal, they are unaffected.

What if remote coding lags so badly it is unusable?

First try a different local network for comparison, then try the backup RustDesk connection. Note down the time, the client and what you saw, and send it to support. For terminal-centered work, lean more on tmux and a command line editor, which depend less on the picture.

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All guides