remote desktop from mac to ubuntu?

17

10

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?

Damonkashu

Posted 2011-03-04T01:34:11.463

Reputation: 467

If you just want a single program, you could also try ssh -X ubuntuVM and then run your programs, e.g.: firefox & – sarnold – 2011-03-04T01:35:50.550

Answers

24

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).

FeifanZ

Posted 2011-03-04T01:34:11.463

Reputation: 356

3@feifanZ answer is working for ubuntu 15.10, but there is a problem with ubuntu Vino required-encryption setting. simply run this gsettings set org.gnome.Vino require-encryption false before trying to access. – insidepower – 2015-11-02T05:44:01.370

apart from @insidepower tweak, you must set a password in the unity settings window in my case – danius – 2018-01-25T00:37:35.083

I tried to connect from Mac 10.14.5 to Ubuntu 19.04, my Mac complaints the VNC version is not supported. – GummyBear21 – 2019-06-28T01:52:58.403

also works for connecting into Ubuntu 18.04, after disabling vino encryption as suggested by @insidepower – kumetix – 2019-07-21T08:16:06.303

1This seems promising. I've tried this but it just seems to spend forever trying to contact the ubuntu VM, even after I authenticate the connection on ubuntu. Is this screen sharing meant for this purpose? – None – 2011-03-04T01:44:19.670

Screen sharing is just a VNC client. It's definitely an issue with your server software (Chicken)…unless you have a slow network/router? – None – 2011-03-04T02:19:07.810

3

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!

enter image description here

alexanderjsingleton

Posted 2011-03-04T01:34:11.463

Reputation: 131

2

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.

geekosaur

Posted 2011-03-04T01:34:11.463

Reputation: 10 195

1

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

Nicholas Riley

Posted 2011-03-04T01:34:11.463

Reputation: 260

1

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.

user2542365

Posted 2011-03-04T01:34:11.463

Reputation: 11

0

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

Emil Marashliev

Posted 2011-03-04T01:34:11.463

Reputation: 1

0

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

Jem Marsh

Posted 2011-03-04T01:34:11.463

Reputation: 11

0

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

ssh -X user@hostname (or IP address)

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

nautilus

You can run a whole desktop as well.

Jasper Blues

Posted 2011-03-04T01:34:11.463

Reputation: 125

5How can I run "a whole desktop"? nautilus just brings up a directory window. – zkurtz – 2015-11-14T18:27:56.427

2Failed to connect to Mir when tried to run nautilus. – Jason Nichols – 2018-06-15T19:06:22.497

The way X11 works, you really don't want to put a network round-trip in between an X11 session's IO. It's faster to render remotely – DeepSpace101 – 2018-10-13T04:24:26.537

This is the correct and most simple answer. Mac preinstalled with XQuartz. While "nautilus" just opens the file manager, you can also run "google-chrome" to start Chrome. Basically, you can run anything. The process will be running on the Linux box and the display will be routed to your Mac. I just tried this from my Mac 10.14.5 to Ubuntu 19.04. But I have to say Chrome is a bit slow in this case. – GummyBear21 – 2019-06-28T01:51:36.973

0

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.

tir38

Posted 2011-03-04T01:34:11.463

Reputation: 1 771