Apple remote desktop and linux

Remote desktop from a Mac to an Ubuntu system? [closed]

Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you’re trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question.

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?

If you just want a single program, you could also try ssh -X ubuntuVM and then run your programs, e.g.: firefox &

10 Answers 10

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

This 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?

Screen sharing is just a VNC client. It’s definitely an issue with your server software (Chicken)…unless you have a slow network/router?

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

I tried to connect from Mac 10.14.5 to Ubuntu 19.04, my Mac complaints the VNC version is not supported.

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.
Читайте также:  Linux перейти из root

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

Disable Encryption

If you encounter error message stating something like: «the remote computer is incompatible with the version of your VNC client». For example the built-in Screen Sharing app on Mac, or the VNC Viewer for Windows. You should be able to fix it by asking Vino server to disable encryption. You do this by entering the command:

sudo gsettings set org.gnome.Vino require-encryption false

and then restart the Vino server with command:

sudo systemctl restart vino-server —user

Источник

Remote Desktop connection from Mac to Ubuntu

It shouldn’t be #2 and 3 since I can ssh to the server just fine. So I suspect #1 is the culprit.

For RDP you need a desktop. If you have one installed then installing and configuring xrdp should be as in your linked answer.

David — when @CelticWarrior says «you need a desktop», he doesn’t mean a laptop wont work. He means you need a gui installed on your Ubuntu server. If you have a basic server from the «server» download link on ubuntu.com, it won’t have a gui (aka a desktop) unless you added and configured one (i.e. Unity, Gnome, etc.). Without a desktop/gui, something like xrdp will not work.

James: Ah I see. So in the link in the OP, I followed those instructions and installed xRDP and xfce4. Aren’t these all that is needed to set up the «desktop?»

4 Answers 4

You can use Microsoft Remote Desktop from App Store. Set up your Ubuntu this way:

If you don’t have desktop installed:

sudo apt-get install ubuntu-desktop

Enable XRDP to start on boot:

If you have a firewall make sure that the 3389 port is open:

Now connect with Microsoft Remote desktop to your Linux machine.

Читайте также:  Logging level in linux

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 in 16.04

  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 hitting 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!

Источник

Can I remotely access my Mac from Linux using screen sharing?

I like to access my Mac from work (Linux) and I wonder if it is possible without installing additional software like TeamViewer or ChickenVNC. I also noticed somewhere that it is possible to wake my Mac via WiFi. What is needed for that (Mac has to be plugged in? Do I have to be in the same Network?) and how do I do it?

I will recommend some other solutions like GoToMyPC or LogMeIn. VNC works like, well, crap over Internet, at least for me. Also, your company might block or limit speed of VNC. Solutions like LogMeIn are more stable. Or if you’re a pro, SSH. Works like a charm!

After disabling the firewall it worked for me. After that I found apple.stackexchange.com/questions/112046/…

2 Answers 2

You can take either one of the following two approach:

1. VNC

This is pretty simple, you’ll need to go to System Preferences → Screen Sharing and then click on Computer Settings. From there you can select VNC viewers may control screen with password: and supply a password.

Читайте также:  Linux install for all users

enter image description here

2. Wi-Fi Wakeup

Go to System Preferences → Energy Saver. You can only do this with the Mac running on power (if it’s a portable). You’ll need to enable an option tick called Wake for Wi-Fi network access.

enter image description here

OS X Mountain Lion 10.8.2 Problem

If you’re running this release of OS X Mountain Lion, you may find this doesn’t work.

Q:

No Wake-on-LAN possible since updating to ML

Hi everybody,

since updating from OS X 10.7 to 10.8 (clean install), Wake-on-LAN does not work anymore. Setup: Mac mini (Early 2011) connected to Time Capsule (2nd gen) via devolo dLAN. Mac mini goes to sleep after 30 minutes and eventually disappears from the network. Sending Wake-On-LAN packets or using Back To My Mac fail, it simply won’t wake up.

Wake-on-LAN worked smoothly under 10.7 after some problems. Any ideas?

Thanks and regards

Steffen

However, OS X Mountain Lion 10.8.3 fixed this.

Источник

AppleRemoteDesktop

Ubuntu can control an OS X machine remotely, using the default Remmina Remote Desktop Client application.

Setting up the Mac to be Accessed Remotely

  • Open System Preferences (it’s in the Apple menu)
  • Open the Sharing panel
  • Check the box Apple Remote Desktop
  • Click Access Privileges
  • Check the box VNC viewers may control screen with password, and enter a password
  • Click OK

Accessing the Mac From Ubuntu

  • Launch Remmina Remote Desktop Client
  • Select Connection > New from menu
  • Select VNC — Virtual Network Computing as Protocol
  • Fill Server field with either IP address or hostname of the Mac
  • Optionally fill both User name and Password to make Remmina remember Your credentials
  • IMPORTANT: Set Color depth to High color (15 bit) or better, otherwise connection will fail
  • Click Connect (or Save to reuse it later)

Your Mac’s desktop should appear on your screen.

Other working clients

  • xtightvncviewer: asks two times for authentization – first time in local terminal, the second one is on remote OS X login screen; some special applications (e.g. VirtualBox) running on the remote host can capture keyboard and thus make entering the credetials impossible.
  • gnome-rdp: with xtightvncviewer installed and set as default vncviewer (run sudo update-alternatives --set vncviewer /usr/bin/xtightvncviewer in terminal)
  • xvnc4viewer: only with -FullColour, but very slow: xvnc4viewer -FullColour macserver

To work around authentication issues like «Unknown authentication scheme» or such, it may help to enter this in Terminal (or over SSH):

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -verbose -activate -restart -agent -allowAccessFor -allUsers -privs -all -clientopts -setvnclegacy -vnclegacy yes -setvncpw -vncpw passwordYouWantToUse

Broken Clients

See Also

AppleRemoteDesktop (последним исправлял пользователь 212 2012-08-09 10:35:39)

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Источник

Оцените статью
Adblock
detector