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
- Click the Menu button, select Preferences, then Desktop Sharing (labeled Sharing in some Mint versions).
- Under Sharing, check Allow other users to view your desktop.
- Check Allow other users to control your desktop too if you need full mouse and keyboard control in addition to viewing.
- 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.
- Check Require the user to enter this password and type a strong password.
- Click Close.
Step 2: Find your Linux Mint machineās IP address
- Open Terminal on the Linux Mint machine.
- Run
hostname -Iand write down the first address in the output, something like192.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.
- Open VNC Viewer.
- Type the Linux Mint IP address in the search bar (e.g.,
192.168.1.105) and press Enter.
- Click Connect.
- Enter the VNC password you set in Step 1.
Youāll probably see an unencrypted-connection warning first. Click through it on a trusted local network. Your Linux Mint desktop appears.
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.
- Open RealVNC Viewer on your Mac.
- Type the Linux Mint IP address and press Enter.
- Click through the unencrypted-connection warning.
- Enter the password from Step 1.
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.
- Open Terminal on the Linux Mint machine.
- Install dconf Editor:
sudo apt-get install dconf-editor
- Once installed, open dconf Editor from Menu ā All Applications.
- Navigate to org ā gnome ā desktop ā remote-access.
- Find require-encryption and uncheck it (toggle it to
false).
- 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.