# How do I use Mac Screen Sharing from Windows?

> Reach a remote Mac's screen from Windows: open an SSH tunnel with ssh -L 5900:localhost:5900, then connect any VNC viewer to localhost. 4 steps.

- URL: https://remotemacmini.com/guides/how-to-use-screen-sharing-from-windows/
- Last updated: 2026-11-17
- Publisher: RemoteMacMini (https://remotemacmini.com)

**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*

| Symptom | Likely cause | Fix |
| --- | --- | --- |
| Connection refused on localhost:5900 | The SSH tunnel is not running | Start the `ssh -N -L` command again and keep it open |
| ssh says the local port is in use | Something on the PC already listens on 5900 | Use `-L 5901:localhost:5900`, then connect to `localhost:5901` |
| Viewer rejects the security type | The viewer lacks Apple's login method | Turn on "VNC viewers may control screen with password" and set a VNC password |
| Screen Sharing is off | Remote Management was switched on | Apple: both cannot be on; turn off Remote Management, then Screen Sharing on |
| Black or frozen screen | The Mac is busy or was restarted | Restart 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](https://remotemacmini.com/build-ios-apps-on-windows/ "How do I build and ship an iOS app from a Windows PC?"); for files, the [transfer guide](https://remotemacmini.com/guides/how-to-transfer-files-to-a-remote-mac/ "How do I transfer files to a remote Mac?"); for account details, the [SSH help page](https://remotemacmini.com/help/connect-with-ssh-and-screen-sharing/ "How do I connect to my RemoteMacMini Mac?").

## 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

1. [Turn Mac screen sharing on or off](https://support.apple.com/en-gb/guide/mac-help/mh11848/mac) — Apple Support (read 2026-11-17)
2. [Share the screen of another Mac](https://support.apple.com/en-gb/guide/mac-help/mh14066/mac) — Apple Support (read 2026-11-17)
3. [ssh(1) manual](https://man.openbsd.org/ssh) — OpenBSD (read 2026-11-17)
4. [Get started with OpenSSH for Windows](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse) — Microsoft Learn (read 2026-11-17)
5. [Dedicated Mac servers](https://www.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. [Rent Pip for 1 month](https://remotemacmini.com/app/checkout/?plan=pip&term=1m&from=guides-how-to-use-screen-sharing-from-windows&lang=en) · [All guides](https://remotemacmini.com/guides/ "Which remote Mac guides does RemoteMacMini publish?")

---

RemoteMacMini: RemoteMacMini rents dedicated Apple Mac minis (M4 and M4 Pro) in data centres for building, signing and testing iOS and macOS apps: one whole Mac per customer, reached over SSH and Screen Sharing. Five plans cost $76.50 to $247.49 a month, each 10% under the lowest comparable offer read on 17 November 2026, paid in crypto with no ID document.
