Dedicated Mac minis · M4 and M4 Pro · one whole Mac per customer · pay in BTC, USDT, USDC, ETH, SOL, LTC, XMR
Rent a Mac mini

Guide · Screen Sharing · Apple and Microsoft docs read 17 November 2026

How do I use Mac Screen Sharing from Windows?

Last updated: · 4 min read

Quick answer

How do I use Mac Screen Sharing from Windows?

Open an SSH tunnel in PowerShell with ssh -N -L 5900:localhost:5900 <user>@<Mac IP>, then point a VNC viewer at localhost:5900 and sign in with the Mac account. The screen travels inside SSH, so port 5900 never faces the internet. On an RemoteMacMini Mac ($76.50 a month) Screen Sharing is already switched on.

In brief
  • On Windows: OpenSSH Client (Windows 10 build 1809 or later) and any VNC viewer.
  • Tunnel: -L 5900:localhost:5900 forwards your local port 5900 to the Mac's Screen Sharing; -N runs no remote command.
  • On the Mac: Screen Sharing in System Settings → General → Sharing; it is VNC-compatible, per Apple.
  • Viewer cannot log in? Turn on "VNC viewers may control screen with password" under the Screen Sharing info button.
  • Port 5900 taken on your PC: use -L 5901:localhost:5900 and connect to localhost:5901.

What are the steps from a Windows PC?

Four steps. The login and IP address come from the RemoteMacMini dashboard.

  1. Check OpenSSH Client

    In Start, search Optional Features and make sure OpenSSH Client is installed; add it if not. Microsoft documents it for Windows 10 build 1809 and later.

  2. Open the tunnel

    In PowerShell, run ssh -N -L 5900:localhost:5900 <user>@<Mac IP>. Leave the window open: closing it closes the tunnel.

  3. Connect the viewer

    Open your VNC viewer and connect to localhost:5900 (or localhost:5901 if you changed the local port).

  4. Sign in

    Enter the Mac user name and password from the dashboard. The macOS desktop appears; Xcode and the Simulator open as on a local Mac.

What goes wrong, and how do you fix it?

Most failures are a closed tunnel, a busy local port or a viewer that needs the classic VNC password.

Common Screen Sharing problems from Windows with an SSH tunnel, and their fixes
SymptomLikely causeFix
Connection refused on localhost:5900The SSH tunnel is not runningStart the ssh -N -L command again and keep it open
ssh says the local port is in useSomething on the PC already listens on 5900Use -L 5901:localhost:5900, then connect to localhost:5901
Viewer rejects the security typeThe viewer lacks Apple's login methodTurn on "VNC viewers may control screen with password" and set a VNC password
Screen Sharing is offRemote Management was switched onApple: both cannot be on; turn off Remote Management, then Screen Sharing on
Black or frozen screenThe Mac is busy or was restartedRestart the Mac from the dashboard, wait, then reconnect

Why tunnel Screen Sharing through SSH?

So the screen is encrypted and the VNC port stays closed to the internet. The OpenSSH manual, read on 17 November 2026, says -L forwards connections from a port on your computer to a host and port on the remote side; -N runs no remote command and only forwards. With localhost:5900 as the target, the viewer reaches the Mac's own Screen Sharing from inside SSH.

Apple's help page describes Screen Sharing as compatible with VNC, an industry standard for remote control over TCP/IP. SSH with the key given at checkout, or with a temporary password shown in the dashboard when no key is given; macOS Screen Sharing (VNC) is switched on and reached through an SSH tunnel with the same account.

Which Screen Sharing settings matter on the Mac?

Three, all under System Settings → General → Sharing → the info button next to Screen Sharing. Apple's page lists them: "Anyone may request permission to control screen", "VNC viewers may control screen with password", and "Allow access for" (all users or only some). Screen Sharing and Remote Management cannot be on together.

According to RemoteMacMini's survey of 17 November 2026, MacinCloud sells RDP as an add-on, which helps Windows users who prefer Remote Desktop. RemoteMacMini offers Screen Sharing over SSH only, at no extra cost. For the iOS side of a Windows workflow, read building iOS apps on Windows; for files, the transfer guide; for account details, the SSH help page.

Screen Sharing from Windows: common questions

Can I use Windows Remote Desktop (RDP) to reach the Mac?

No. macOS Screen Sharing speaks VNC, not RDP. Use a VNC viewer through the SSH tunnel.

Do I need to open port 5900 on the Mac?

No. The tunnel reaches port 5900 from inside the Mac, so only SSH needs to be reachable.

Which VNC viewer should I use on Windows?

Any viewer that connects to a host and port works. If it does not support Apple's login, set a VNC password on the Mac as described above.

Why is the picture slow?

Every screen update crosses the internet inside SSH. Pick the closer location at checkout, Amsterdam or Dallas, and lower the viewer's colour depth.

Can several people share the Mac's screen at once?

RemoteMacMini rents each Mac to one customer, and Apple's licence gives the lessee sole use. Teammates working on that customer's builds is fine; offering the Mac as a shared desktop service is not.

Verdict
  • Tunnel first, then VNC: ssh -N -L 5900:localhost:5900 and a viewer on localhost show the Mac's screen safely.
  • Keep Screen Sharing for visual work on a RemoteMacMini Mac; builds and tests run faster in plain SSH.
Sources (5)
  1. Turn Mac screen sharing on or off — Apple Support (read 2026-11-17)
  2. Share the screen of another Mac — Apple Support (read 2026-11-17)
  3. ssh(1) manual — OpenBSD (read 2026-11-17)
  4. Get started with OpenSSH for Windows — Microsoft Learn (read 2026-11-17)
  5. Dedicated Mac servers macincloud.com/pages/dedicated.html — MacinCloud (read 2026-11-17)

A Mac with Screen Sharing ready, $76.50 a month

SSH key or temporary password, Screen Sharing through the tunnel, Amsterdam or Dallas.

From $76.50/mo · no KYC

Rent a Mac