Home/Q&A/Is VS Code or Cursor laggy over remote desktop, and how do I tune it?

Is VS Code or Cursor laggy over remote desktop, and how do I tune it?

Updated · airankrush

Direct answer

It depends on the route, and on settings too. On the same route, turning off animation effects in the editor and the system and lowering the resolution usually makes a graphical editor noticeably more responsive.

Basis

  • The load on a remote desktop is proportional to how many pixels change per second. In an editor, the blinking cursor, smooth scrolling, the minimap and the fade-in of hover tips all keep producing screen changes.
  • The higher the resolution, the more pixels each frame has to encode. Setting the remote display to a lower resolution that is still adequate saves a great deal of transmission compared with full resolution.
  • macOS's own window animations and translucency count as well. Turn on Reduce motion and Reduce transparency under System Settings → Accessibility → Display.
  • Once Claude Code does most of the editing, what you do in the editor is mainly reading diffs and reviewing, which tolerates lag better than typing code by hand.

Information as of .

Boundaries: when the answer is different

These adjustments reduce the amount of picture transmitted; they cannot change the round-trip time of the route itself. If typing in a terminal is already noticeably delayed, tuning editor settings will help only so much. Another approach is to keep the editor local and only execute on the far end. That needs an externally reachable shell entry point, which is not part of standard delivery; see Can my local VS Code connect to it?. The names of the quality and frame-rate options in the remote-control client change between versions, so go by the actual interface of the client you have.

How to do it

  1. In VS Code or Cursor settings, turn off the minimap (editor.minimap.enabled) and smooth scrolling (editor.smoothScrolling).
  2. Set editor.cursorBlinking to solid and workbench.reduceMotion to on.
  3. On the remote macOS, turn on Reduce motion and Reduce transparency.
  4. In the remote-control client, choose a lower resolution or the quality preset that favors smoothness.
  5. When reviewing changes, prefer git diff or the editor's diff view and avoid long stretches of scrolling.

Use case

This question belongs to the use case: Remote Mac mini for heavy Claude Code use: an always-on workstation, not account insurance

Other questions in the same use case:

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

Back to home · All Q&A