How to Connect Remote Ubuntu Desktop from a Mac

Are you looking for a simple method to connect to the Ubuntu desktop/server from your Mac? The reasons could vary, whether you’re working remotely and want to access your remote Ubuntu machine, assisting a friend or colleague with an Ubuntu system, or retrieving files from your Ubuntu desktop while on vacation. Whatever the reason, you don’t have to fuss over it anymore.

In this exceptionally simple blog post, we will assist you in connecting to a remote Ubuntu desktop from a Mac, and even to a remote Mac from Ubuntu.

Remote Connections in Ubuntu

While we are talking about remote desktop connections, let’s first understand how we can create remote connections on an Ubuntu desktop. Essentially, Ubuntu comes by default with a remote desktop tool that allows its users to access their machine from other platforms, including MacOS, Windows, Linux, Android, and even iOS.

This fantastic remote desktop tool provides three options for connecting with these platforms:

For this blog post, we’ll focus on VNC, which is a remote desktop protocol that utilizes the RFB (“Remote Frame Buffer”) protocol to share a graphical desktop remotely.

Prerequisites

  • You must have a Ubuntu desktop and a Mac with a stable internet connection.
  • Moreover, you should know the IP address and user credentials of both machines.

Without ado, let’s begin with the process of creating a remote connection on Ubuntu and accessing it from your Mac machine.

Remote Desktop Connection from Mac to Ubuntu

To access the Ubuntu from your MacOS, you must enable remote desktop sharing on Ubuntu.

Enable Desktop Sharing In Ubuntu

For that purpose, power on the Ubuntu desktop and click on the “Wired connections” icon placed in the top bar of your screen. Then, press on the “Settings” option to open the Settings application. Once it is open, select the “Sharing” tab from the side-bar:

Sharing Settings of Ubuntu
Sharing Settings of Ubuntu

Next, you must enable sharing by clicking on the “Sharing” toggle button on the top right corner of the Settings window. After enabling sharing, click on the “Remote Desktop” option.

Enable Remote Desktop Sharing in Ubuntu
Enable Remote Desktop Sharing in Ubuntu

Finally, you must activate the “Remote Desktop” and “Remote Control” options. Additionally, set strong credentials for remote connection authentications.

Note: You can also check the “Enable Legacy VNC Protocol” option to ensure a smooth connection because some VNC Clients, such as the built-in macOS VNC client may have compatibility issues with the default protocol.

Ubuntu Remote Desktop Settings
Ubuntu Remote Desktop Settings

Access Ubuntu Desktop Remotely from Mac

Now that you’ve enabled the remote desktop option on the Ubuntu desktop, let’s search for the “Microsoft Remote Desktop” (default Remote Desktop client) option and open it on our Mac.

Open Microsoft Remote Desktop
Open Microsoft Remote Desktop

Next, click on the “+” icon and choose “Add PC” from the Microsoft Remote Desktop window.

Add PC in Microsoft Remote Desktop
Add PC in Microsoft Remote Desktop

Now, in the “Add PC” window, carefully provide the remote PC’s (Ubuntu Desktop) IP Address and click on the “Add” button.

Add Ubuntu Desktop PC
Add Ubuntu Desktop PC

Once the remote PC’s information is successfully saved as a connection, click on it to connect with it.

Remote Connection
Remote Connection

A prompt will pop up, enquiring about the user credentials of the remote desktop (Ubuntu). Provide the remote PC’s credentials and press the “Continue” button.

Ubuntu Desktop Login
Ubuntu Desktop Login

Don’t panic by this secure connection prompt, simply press the “Continue” button.

Secure Connection Prompt
Secure Connection Prompt

Your Mac system will successfully connect to the remote Ubuntu Desktop in the form of a window.

Remote Ubuntu Desktop Connection from Mac
Remote Ubuntu Desktop Connection from Mac

Enable Desktop Sharing In Mac

To connect to a Mac remotely via Ubuntu, you first need to enable a remote connection on your Mac. To do so, click on the “Apple” logo and choose the “System Preferences” option from the list on your Mac.

Open Mac System Preferences
Open Mac System Preferences

Next, locate and open the “Sharing” application.

Open Mac Sharing Application
Open Mac Sharing Application

Moving forward, check the “Screen Sharing” service checkbox. Then, you can adjust the user permissions and the computer name according to your requirements. Finally, click on the “Computer Settings” button.

Enable Remote Desktop Sharing in Mac
Enable Remote Desktop Sharing on Mac

Check both checkboxes, set the screen-sharing password, and click on the “OK” button.

VNC Viewer Password
VNC Viewer Password

Finally, your remote connection on Mac is successfully enabled. You can now head to your Ubuntu desktop to access Mac using the VNC client.

Access Mac Remotely from Ubuntu

In Ubuntu, search for ‘Remmina‘ (the default remote desktop client), open it, select the VNC protocol, and enter the IP address of your remote Mac desktop.

Enter IP Address of Mac
Enter the IP Address of the Mac

Next, provide the user credentials of your remote desktop and press the “OK” button.

VNC Authentication Credentials
VNC Authentication Credentials

Congrats! You have successfully connected to Mac from Ubuntu using VNC protocol.

Remote Mac on Ubuntu
Remote Mac on Ubuntu
Conclusion

If you need to connect to your Ubuntu desktop remotely from your Mac, follow the simple guide above to do so quickly and efficiently. We have also explained the vice-versa scenario even step by step.

Our blog uses the VNC protocol for remote connections, which means you will be able to access the graphical interface of your remote desktop.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.