How to Remotely Connect to Linux Mint from Windows or macOS

Ā·
4 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Linux Mint has built-in desktop sharing that gets you connected from Windows or macOS using any VNC client, no extra packages required. An encryption compatibility quirk blocks most first-time connections, the fix takes under two minutes.

Step 1: Enable Desktop Sharing on Linux Mint

  1. Click the Menu button, select Preferences, then Desktop Sharing (labeled Sharing in some Mint versions).
Linux Mint Cinnamon Menu open showing Preferences submenu with Desktop Sharing highlighted
  1. Under Sharing, check Allow other users to view your desktop.
  2. Check Allow other users to control your desktop too if you need full mouse and keyboard control in addition to viewing.
  3. Under Security, uncheck You must confirm each access to this machine for unattended access; leave it on if you want to approve each connection from the local machine.
  4. Check Require the user to enter this password and type a strong password.
  5. Click Close.
Linux Mint Desktop Sharing Preferences dialog with "Allow other users to view your desktop" and "Allow other users to control your desktop" checked, and a password entered under the Security section

Step 2: Find your Linux Mint machine’s IP address

  1. Open Terminal on the Linux Mint machine.
  2. Run hostname -I and write down the first address in the output, something like 192.168.1.105.

VNC uses port 5900 by default, so most clients accept either 192.168.1.105 or 192.168.1.105:5900. If you connect to this machine regularly, setting a static IP or a DHCP reservation on your router keeps the address stable across reboots.

Local network only: Exposing VNC port 5900 to the open internet is a security risk. If you need to connect from outside your home network, skip to the ā€œBetter options for internet accessā€ section below.

Step 3: Connect from Windows

Download the VNC Viewer program from RealVNC, the free viewer handles local connections without requiring an account.

  1. Open VNC Viewer.
  2. Type the Linux Mint IP address in the search bar (e.g., 192.168.1.105) and press Enter.
RealVNC Viewer with a local Linux Mint IP address entered in the address bar, ready to connect
  1. Click Connect.
  2. Enter the VNC password you set in Step 1.
RealVNC Viewer password authentication dialog for the Linux Mint connection

You’ll probably see an unencrypted-connection warning first. Click through it on a trusted local network. Your Linux Mint desktop appears.

RealVNC Viewer window displaying the connected Linux Mint Cinnamon desktop

Step 4: Connect from macOS

macOS’s built-in VNC support doesn’t always negotiate cleanly with Linux VNC servers. RealVNC Viewer is available for macOS and uses the same steps as Windows.

  1. Open RealVNC Viewer on your Mac.
  2. Type the Linux Mint IP address and press Enter.
  3. Click through the unencrypted-connection warning.
  4. Enter the password from Step 1.
RealVNC Viewer on macOS showing the connected Linux Mint Cinnamon desktop in the viewer window

Fix #1: Disable the encryption requirement in dconf Editor

If your VNC client fails with an authentication or encryption error after reaching the machine, the Mint server is requiring encryption the client can’t negotiate. You’ll need dconf Editor to change it, and yes, this part is where most people almost gave up.

  1. Open Terminal on the Linux Mint machine.
  2. Install dconf Editor:
sudo apt-get install dconf-editor
  1. Once installed, open dconf Editor from Menu → All Applications.
Linux Mint All Applications screen with dconf Editor visible in the application list
  1. Navigate to org → gnome → desktop → remote-access.
  2. Find require-encryption and uncheck it (toggle it to false).
dconf Editor open at org > gnome > desktop > remote-access with the require-encryption key unchecked
  1. Close dconf Editor and restart the Linux Mint machine.

Try connecting again. The unencrypted-connection warning in your VNC client is expected, on a private local network, that’s fine.

Better options for internet access

Raw VNC over the internet without a VPN is a security problem. Port 5900 shouldn’t be open to the world. If you need to reach your Linux Mint machine from outside your home network, these are the sensible routes:

  • RustDesk: Free and open-source. Install it on both machines, share the connection ID, and connect. NAT traversal is built in, so no port forwarding or static IP needed. It’s the easiest cross-platform option in 2026.
  • AnyDesk: Quick to install, works across platforms, handles NAT without configuration. Good for occasional or one-off sessions.
  • VPN + VNC: If your router supports a built-in VPN server (many modern routers do), tunnel in over VPN first, then use VNC normally. Port 5900 never touches the open internet.

For a more secure connection, consider using a UPS battery backup to prevent data loss in case of a power outage. You may also want to upgrade your network with a Cat6 Ethernet Cable for faster and more reliable connections. Additionally, using a USB Wi-Fi adapter can provide a stable wireless connection.

Conclusion

Enabling Desktop Sharing and connecting with a VNC viewer covers most local-network setups. You’re already done if Steps 1 through 3 went smoothly. If the first connection attempt failed, Fix #1 is what finally gets you through; that encryption mismatch is the one thing standing between you and a working remote session. For internet access, RustDesk is worth the five-minute install: share an ID, enter a password, and you’re in without touching any router settings. You can also learn more about Linux Mint and its features on our website.