VNC Client Mac OS X Screen Sharing Guide
In this article
- What Is VNC and How Does It Relate to Screen Sharing?
- How to Use the Built-In Screen Sharing Client
- How to Enable Screen Sharing (VNC Server) on Your Mac
- How to Connect from iPhone, iPad, or Another Mac
- Common Problems and How to Fix Them
- Screen Sharing vs. Third-Party VNC Clients
- Security Considerations for VNC on macOS
- Frequently Asked Questions
Yes, macOS includes a built-in VNC client called Screen Sharing, and it also works as a VNC server, letting you connect to and control other Macs, Windows PCs, Linux machines, or Raspberry Pis that run a VNC server. This guide explains how to use the built-in client, how to connect to a Mac from another device, and what to do when things don't work.
What Is VNC and How Does It Relate to Screen Sharing?
VNC (Virtual Network Computing) is a protocol that lets you view and control a computer's desktop over a network. It works by sending screen pixels from the server to the client and sending keyboard and mouse input back. macOS has supported VNC for years—both as a client (to view other machines) and as a server (to let others view your Mac). The built-in client is called Screen Sharing, and the server is part of the System Settings under Sharing.
Because VNC is cross-platform, a Mac can connect to a Windows machine running TightVNC or RealVNC, a Linux box with TigerVNC, or a headless server. Conversely, a Windows or Linux VNC client can connect to a Mac that has Screen Sharing enabled. The protocol is not encrypted by default, which is why macOS offers optional encryption and why you should be cautious on public networks.
How to Use the Built-In Screen Sharing Client
You can start a VNC connection from your Mac in several ways:
- Finder: In Finder, press Cmd+K, type
vnc://hostname-or-ip(for example,vnc://192.168.1.20), and press Enter. - Safari or Chrome: Type
vnc://hostnameinto the address bar. The browser will hand off to Screen Sharing. - Spotlight: Press Cmd+Space, type “Screen Sharing,” and open the app. Then enter the host address.
If the remote machine is a Mac with Screen Sharing enabled, you'll be asked for a username and password (or just a password if the Mac allows “Anyone” to request permission). If the remote machine is a non-Mac VNC server, you'll be asked for the VNC password that server uses.
Once connected, you can control the remote desktop as if you were sitting in front of it. The Screen Sharing menu bar lets you switch between full screen and windowed mode, scale the display, and send clipboard contents.
How to Enable Screen Sharing (VNC Server) on Your Mac
To let other VNC clients connect to your Mac:
- Open System Settings (or System Preferences on older macOS) and go to General > Sharing (on macOS Ventura and later) or Sharing directly.
- Turn on Screen Sharing.
- Under “Allow access for,” choose either All users or Only these users.
- To allow non-Mac VNC clients, click Computer Settings and check VNC viewers may control screen with password. Set a strong password.
Note that for security, macOS uses encrypted communication between Macs, but the VNC password option is unencrypted and should only be used on trusted networks. For internet access, you'd need to port-forward 5900 (the VNC port) on your router, and that is risky without a VPN or SSH tunnel.
How to Connect from iPhone, iPad, or Another Mac
Apple devices have their own screen sharing client:
- iPhone/iPad: The built-in Remote Desktop app (free from Apple) can connect to VNC servers, including Macs with Screen Sharing enabled. You can also use third-party VNC clients like VNC Viewer.
- Another Mac: Use the same Finder method (Cmd+K) or the Screen Sharing app. If both Macs are on the same Apple ID, you may also use Back to My Mac (older macOS) or iCloud features, but the standard VNC route always works.
For iOS, the Remote Desktop app requires the Mac to have Screen Sharing enabled and the user account credentials. It supports both VNC and Apple's own protocol.
Common Problems and How to Fix Them
Here are the most frequent issues people run into:
- Can't connect to a Mac on the same Wi-Fi: Check that Screen Sharing is enabled on the target Mac, and that both devices are on the same subnet. Try pinging the IP address from the client.
- “Connection failed” or “No route to host”: The firewall on the target Mac may be blocking port 5900. Go to System Settings > Network > Firewall, and make sure Screen Sharing is allowed. If you're using a third-party firewall, allow the Screen Sharing app.
- VNC password not accepted on a non-Mac client: On the Mac, go to Screen Sharing > Computer Settings and re-enter the VNC password. Some VNC clients require the password to be at least 8 characters, so try a longer one.
- Slow or laggy performance: Reduce the screen resolution on the client, or lower the color depth. On the Mac server, you can also disable the desktop wallpaper and transparency effects.
- Screen Sharing app is missing: On newer macOS versions, the app is still present but hidden. You can launch it via Finder with the vnc:// URL, or use Spotlight. If it's truly gone, you can reinstall macOS from the App Store, but that's rare.
Screen Sharing vs. Third-Party VNC Clients
macOS's built-in client is simple and works well for basic needs, but it lacks some features that power users want:
- File transfer: The built-in client doesn't support drag-and-drop file transfer. Third-party clients like RealVNC Viewer or TigerVNC may offer this, but it depends on the server.
- Multi-monitor support: The built-in client shows all monitors as a single virtual screen. Some third-party clients let you switch between monitors individually.
- Session recording: Some commercial VNC clients can record sessions, which the built-in one cannot.
- Encryption: The built-in client uses encryption when talking to another Mac, but when using the VNC password option, it's unencrypted. Third-party clients often support TLS or SSH tunneling.
If you only need occasional remote access to your own Mac from another Apple device, the built-in tool is sufficient. If you need cross-platform reliability, file transfer, or advanced security, consider a dedicated VNC client.
Security Considerations for VNC on macOS
VNC is not a secure protocol by default. The VNC password option sends your password in plain text, and the screen data is also unencrypted. This means anyone on the same network could potentially sniff your traffic. To mitigate this:
- Use a VPN when connecting over the internet. This encrypts all traffic before it leaves your device.
- Use SSH tunneling if you're comfortable with the command line. You can forward port 5900 over SSH, which encrypts the VNC connection.
- Only enable the VNC password option when you need to connect from a non-Mac device. For Mac-to-Mac, macOS uses its own encryption automatically.
- Set a strong password and change it regularly.
- Disable Screen Sharing when not in use to reduce the attack surface.
Apple's Screen Sharing between Macs uses a proprietary authentication that is more secure than plain VNC, but it still doesn't encrypt the screen data. So even between Macs, you should use a VPN on untrusted networks.
Frequently Asked Questions
Can I use macOS Screen Sharing to connect to a Windows PC?
Yes, as long as the Windows PC runs a VNC server (like TightVNC or RealVNC). You'll need the PC's IP address and the VNC password set in that server. The Mac's Screen Sharing client will connect using the VNC protocol, though it may not support all Windows-specific features like file sharing.
Why is my VNC connection so slow?
VNC sends raw screen updates, which can be bandwidth-heavy. On a local network, it's usually fine, but over the internet it can lag. Try reducing the remote display resolution, closing unnecessary windows on the remote machine, and using a wired connection if possible. Also, some VNC servers offer compression or JPEG encoding options—enable those if available.
Is there a way to copy and paste between my Mac and the remote machine?
Yes, the built-in Screen Sharing client supports clipboard sharing. When you copy text on your Mac, it's sent to the remote machine, and vice versa. This works with both Mac and Windows VNC servers, though some servers may need clipboard synchronization enabled.
Can I use Screen Sharing without a password?
Yes, you can set Screen Sharing to allow access for “All users” and not require a password, but that is extremely insecure. Anyone on your network could connect and control your Mac. It's better to require a password, and if you need passwordless access for automation, use SSH keys and a tool like SSH tunneling instead.
How do I connect to a Mac that's behind a router?
You need to forward port 5900 on the router to the Mac's local IP address. Then you can connect using the router's public IP. However, this exposes your Mac to the internet, so it's strongly recommended to use a VPN or SSH tunnel instead of opening the port directly.
Does macOS Screen Sharing support multiple users?
Yes, if the Mac has multiple user accounts, you can log in as any of them when connecting via Screen Sharing. The remote user will see the login screen, and you can enter the credentials for the account you want to use. If the Mac is already logged in, you'll see the current user's desktop, and you can switch users if you have permission.