1. Set Ubuntu 16.04 to allow remote control
First, we first set up the remote control of Ubuntu, set it to allow remote connection, enter the system-"Preferences-"Desktop Sharing, or directly search for Desktop Sharing
Double-click to open--desktop sharing---set up security according to your requirements
Two, install vncserver
sudo apt-get install xrdp vnc4server xbase-clients
Three, install dconf-editor (remove permission restrictions)
sudo apt-get install dconf-editor
After the installation is complete, open the dconf-editor tool, search dconf-editor on the desktop to open
After opening, expand org->gnome->desktop->remote-access in turn, and then uncheck "requlre-encryption"
Then use the window remote desktop mstsc connection, select vnc-any in the pop-up dialog box, or use vncview to connect