Ubuntu can control an OS X machine remotely, using the default Remmina Remote Desktop Client application. Setting up the Mac to be Accessed Remotely. Use the desktop clients to keep your files synchronized between your Nextcloud server and your desktop It support Windows, Mac OS and Linux systems This brief tutorial shows students and new users how to install NextCloud desktop app on Ubuntu 16.04 / 18.04 and future Ubuntu like 18.10 desktops. A remote desktop sharing session involves a server and a client. The server component is installed on the remote machine that you want to access and the client is installed on the local machine.

On this page

This guide explains how you can enable a remote desktop on an Ubuntu desktop so that you can access and control it remotely. This makes sense for example if you have customers that are not very tech-savvy. If they have a problem, you can log in to their desktops without the need to drive to their location. I will also show how to access the remote Ubuntu desktop from a Windows client and an Ubuntu client.

1 Preliminary Note

Remote

I have updated and tested this guide on an Ubuntu 17.04 (Zesty Zapus) desktop and Ubuntu 16.04 LTS.

2 Enabling The Remote Desktop

We don't have to install anything to enable the remote desktop on Ubuntu. All we have to do is go to Search your computer, enter the word 'desk' and click on Desktop Sharing:

In the Desktop Sharing window, you can configure the remote desktop connection. If you want others to just see your desktop, but not be able to make changes, enable Allow other users to view your desktop only. If they should be able to change settings (e.g. repair your system if there are problems), enable Allow other users to control your desktop as well.

There are various VNC clients available. The command that I use on other Linux clients to connect to your desktop is 'remmina'.

Then there are the security settings. If someone connects to your desktop and you want to be able to block or allow that connection, enable Ask you for confirmation. This makes sense only if someone is actually sitting in front of the system. If you want to connect to your office desktop or any other sysem that only you have access to, then don't enable this option.

Mac Connect To Ubuntu Remote Desktop

But what you should do is set a password for your remote desktop (without a password anyone who happens to find out your system's address - e.g. by scanning the network - can access your desktop):

That's it - the remote desktop can now be used!

You can use the hostname of your computer (in my case 'falko-desktop') for the connection or the IP address. To avoid problems when the computer name (falko-desktop) cannot be resolved in the network, it's a good idea to find out the system's IP address and use that one instead in the remmina command. Right-click on the network icon (the two monitors) in the upper right corner and select Connection Information:

A window with details about your current network configuration opens. In it you can find your IP address (192.168.0.187 in my case) - write it down somewhere:

If you want to connect to your desktop from outside your network, you must use your router's public IP address (or get yourself a free hostname from dyndns.org pointing to your router's public IP address). Port 5900 (which is used by the remote desktop) must be open in the firewall, and your router must forward port 5900 to the Ubuntu desktop.

If you plan to connect to the Ubuntu Desktop from Windows systems on your local network with RealVNC, then you might have to disable encryption for the connection with the following command:

Otherwise, you will get an error in RealVNC client about an incompatible encryption Mechanism. Then reboot the desktop PC to apply the changes.

Active6 months ago

I'm looking for a program to remote desktop from my macbook pro to the ubuntu VM I have set up on my home computer. I've read chicken of the VNC works but after using it, it seems to be incredibly laggy. Is there a better solution out there or do I just have to deal with it?

DamonkashuDamonkashu
2822 gold badges5 silver badges10 bronze badges

migrated from stackoverflow.comMar 4 '11 at 3:46

This question came from our site for professional and enthusiast programmers.

9 Answers

This site lists a number of servers, such as Vino and krfb. On the mac, you can just use the Screen Sharing client (in Finder's Go menu, click Connect to Server, then enter the address *vnc://****192.168.0.6* or whatever IP address the Ubuntu system is on, making sure to retain the **vnc:// portion).

FeifanZFeifanZ

Ubuntu To Ubuntu Remote Desktop

Consider using NX - it should be a lot faster than VNC.

MacRemote
Nicholas RileyNicholas Riley

JollysFastVNC is reportedly the fastest VNC server available for OSX.

That said, in my experience slow connections in/out from Ubuntu often mean it's trying to do IPv6 when it shouldn't be.

geekosaurgeekosaur

TeamViewer is a very fast VNC-like software - it also bypasses firewall and port-forwarding issues, so incredibly easy to set up.I have only ever used it Windows to Windows, but they have a Mac and Linux version.You should be able to install the unattended version on the Ubuntu VM, so the username and password are always the same.

user2542365user2542365

I successfully logged-in remotely from my iMac macOS Mojave desktop into my hackintosh, which is a retrofitted 2012 Apple Macbook Pro running smoothly Ubuntu 16.04:

From the Ubuntu Desktop

  1. Download and install vino by running sudo apt-get install vino within the Ubuntu terminal.
  2. Next run vino-preferences.
  3. After the vino application preferences window prompts, ensure that the 'Allow other users to view your desktop' and 'Allow other users to control your desktop' options are selected beneath the 'Sharing' field; it is also recommended to select the 'You must confirm each access to the this machine' and 'Require the user to enter system-password'.
  4. Run sudo-reboot and then log-in to the Ubuntu 16.04 desktop.
  5. Retrieve and the device-IP address by running ifconfig -a; the local-IP address of the device will be returned within the terminal-output under the field: 'inet addr:' (e.g. inet addr: 10.3.1.233). After noting the local-IP address of the device, proceed with the next set of instructions from your macOS desktop.

From Ubuntu 18.04-2 LTS

  1. Evidently, vino functionality was merged in Ubuntu 18.04.2 LTS Gnome Control Center, so it's much easier- simply go to 'Settings'.
  2. Within 'Settings', scroll down to the 'Sharing' tab within the left-hand side of the window.
  3. Turn on 'Screen Sharing'- select 'Allow connections to control the screen' and 'Require a password' underneath 'Access Options' then proceed with the below instructions to remotely access your Ubuntu 18.04.2 LTS desktop from your macOS desktop.

Logging-in From macOS Mojave

  1. Access the 'Spotlight' by typing 'CMD' + 'Space-bar'
  2. Within the Spotlight field, enter vnc://your_server_ip:5900 (e.g. vnc://10.3.1.233:5900).
  3. If successful, the Screen Sharing application should automatically launch within your macOS desktop to remotely view your Ubuntu 16.04 or Ubuntu 18.04.2-LTS device on your local-network as depicted by the screen-shot below- enjoy!
alexanderjsingletonalexanderjsingleton

Install Remote Desktop Ubuntu

On Ubuntu 12.04 you can use 'Desktop Sharing' (type it into the search bar) as the server and take FeifanZ's suggestion for the Mac client. I set the whole thing up in 30 seconds.

tir38tir38
9012 gold badges8 silver badges11 bronze badges

Just tunnel your X11 session over SSH. Nice and fast - because you're sending drawing commands, etc. Not whole bitmaps.

And then just type the name of a program, eg:

You can run a whole desktop as well.

Jasper BluesJasper Blues

I've tried cople of options like RealVNC and the builtin one in Ubuntu. And I think that TeamViewer is best one.

Emil MarashlievEmil Marashliev

Mac Remote Desktop Client Download

NoMachine (NX) is an excellent Remote Desktop solution - good overview here... https://www.linux.com/learn/remote-linux-desktops-nomachine-nx

Jem MarshJem Marsh

Not the answer you're looking for? Browse other questions tagged macubunturemote-desktop or ask your own question.