Remote Desktop Connection from Mac to Ubuntu

By
Marko Aleksic
Published:
February 11, 2025

Remote access has multiple practical uses, such as accessing business files and applications when working from home or remote troubleshooting. GUI sharing systems and protocols, such as RDP and VNC, allow users to access their machines remotely regardless of their operating system.

This article will show you how to access an Ubuntu machine from Mac and vice versa.

Remote Desktop Connection from Mac to Ubuntu.

Prerequisites

To connect to Ubuntu from Mac:

  • Ubuntu IP address or domain name.
  • Windows App (formerly called Microsoft Remote Desktop) installed on macOS.

To connect to Mac from Ubuntu:

Establish Remote Desktop Connection to Ubuntu From Mac

The easiest way to connect to a remote Ubuntu machine using a macOS computer is via the Remote Desktop protocol developed by Microsoft.

Before connecting with the remote desktop client on macOS, ensure that your Ubuntu system has remote desktop sharing enabled.

Set Up Ubuntu to be Accessed Remotely

Use the Settings application to enable remote desktop sharing on Ubuntu. Follow the steps below to make the necessary adjustments to the system:

1. Select the System section in the menu on the left side of the Settings window.

2. Click the Remote Desktop option.

Accessing the Remote Desktop option in Ubuntu settings.

The Remote Desktop dialog appears.

3. Enable Desktop Sharing and Remote Control.

Enabling Remote Desktop and Remote Control in Ubuntu settings.

4. Scroll down to the Login Details section. Make a note of the Username and Password. To reveal the password, click the eye icon in the Password field.

The Login Details section of the Ubuntu sharing settings.

Note: The password is automatically generated, but you can replace it with a custom one.

The Ubuntu system is now ready to accept remote connections.

Use RDP to Access Ubuntu from Mac

Creating a remote connection from a Mac via Windows App requires:

Follow the steps below to connect to a remote Ubuntu machine from a Mac:

1. Press Cmd + Space to activate Spotlight Search.

2. Start typing Windows App and select the application in the search results.

Windows App in Spotlight Search.

3. Select the arrow next to the (+) icon in the top toolbar.

4. Click Add PC.

The location of the Add PC item in Windows App.

5. Type the remote computer's name or IP address in the PC name field.

6. Select Add to create the remote connection.

Creating a new remote connection in the Add PC dialog in Windows App.

The new connection appears in Windows App's main window.

7. Double-click the connection tile.

The new connection on the main screen of Windows App.

8. Type in the Ubuntu credentials and select Continue.

Entering credentials in Windows App.

Ubuntu desktop appears in a window.

Ubuntu desktop in macOS.

Establish Remote Desktop Connection to Mac From Ubuntu

macOS uses the VNC protocol to allow remote connections. To connect a Mac to Ubuntu, enable the sharing option in macOS and use Remmina to create a connection.

Set Up Mac to Be Accessed Remotely

Sharing in macOS is not allowed by default. To enable it from System Settings, follow the steps below:

1. Select General in the menu on the left side, then go to the Sharing section.

Location of the Sharing section in System Settings on macOS.

2. Select the (i) icon next to the Remote Management option.

Accessing the Remote Management options in macOS.

3. Activate the remote management switch in the upper-right corner of the dialog.

4. Activate the VNC viewers may control screen with password option.

5. Create the authentication password in the Password field.

6. Select Done.

Remote management options in macOS.

7. Scroll down and select the Options button.

The location of the Options button in the Remote Management section.

8. Select the privileges for the remote users by activating the switch next to the respective privilege.

9. Click OK to confirm the changes.

Assigning privileges to remote users.

The macOS system now accepts remote connections.

Use VNC to Access Mac from Ubuntu

Remmina is a simple open-source remote desktop client for Linux. The section below explains how to use it to access a macOS system remotely:

1. Select the Activities button in the upper-left corner of the Ubuntu desktop.

2. Type Remmina in the search box and select the application from the search results.

Running Remmina in Ubuntu.

3. Select the VNC protocol from the drop-down list.

4. Type the domain name or IP address of the remote macOS machine in the text field and press Enter.

Connecting to a remote machine in Remmina.

5. Enter the credentials in the dialog and click OK.

VNC authentication credentials in Remmina.

A remote macOS session appears in the window.

A remote macOS session in Remmina.

Conclusion

This tutorial showed you how to establish remote connections between macOS and Ubuntu, covering both macOS-to-Ubuntu and Ubuntu-to-macOS connections. For each scenario, the necessary server-side and client-side configurations were detailed.

If you do not need a graphical interface, you can also learn to use SSH to connect to a remote server.

Was this article helpful?
YesNo