Mac OSX 10.11 to Ubuntu 15 Remote Desktop Fix

Mindwatering Incorporated

Author: Tripp W Black

Created: 07/18/2016 at 07:28 PM

 

Category:
Ubuntu
Configuration Files

Issue:
RDP using built-in screen share not working for OSX 10.11 or higher.
Issue is caused by vino, but the workaround is to uncheck encryption, so only use this internally for non-sensitive workstations.


Pre-requisite:
On the Ubuntu machine, do:
1. Make sure system is up-to-date. Not required, but good practice, reboot if new kernel.
$ sudo apt-get update
$ sudo apt-get upgrade

2. Install SSH (optional). Make sure vino is installed.
$ sudo apt-get install openssh-server vino
(vino is probably already installed)

3. Open ports for SSH and RDP.
$ sudo ufw allow 22/tcp
$ sudo ufw allow 5900/tcp

4. Verify the vino-preferences.
(You can also use the app search and type Remote, and choose the Remote Desktop icon).
$ sudo vino-preferences
Check the options, enable:
- Allow others users to view your desktop
- Allow other users to control your desktop
- Require the user to enter this password, and enter the remote password.

Disable:
- You must confirm each access to this machine
- Automatically configure UPnP router and open and forward ports (if you need to go through your router - I typically leave unchecked).


Solution:
1. Install dconf-tools
$ sudo apt-get install dconf-tools

Run the editor, to turn off encryption.
$ sudo dconf-editor

Alternately, for this step #1, you can do from the command line:
$ gsettings set org.gnome.Vino require-encryption false

2. Expand org --> gnome --> desktop --> remote access. Uncheck Require Encryption.

3. Close by clicking the window's "X".

4. Make vino start w/ system, so that remote desktop survives a reboot

$ xfce4-session-settings
Switch to the Application Autostart tab.
Enable the option:
Desktop Sharing (GNOME Desktop Sharing Server)
Click Close.



previous page

×