For Ubuntu screen sharing it default require encryption, that’s why I cannot connect through VPN client on my iPhone, here is how to setup screen sharing and disable the encryption requirement.
- Open up Settings, navigate to Sharing option
![](https://alextech.tips/wp-content/uploads/2021/04/01-Settings.png)
2. Enable Screen Sharing and give it a password
![](https://alextech.tips/wp-content/uploads/2021/04/02-Screen-Sharing.png)
3. Now open up dconf editor and navigate to the following key to disable the encryption option
How to install dconf editor
sudo apt-get install dconf-editor
/org/gnome/desktop/remote-access/require-encryption
![](https://alextech.tips/wp-content/uploads/2021/04/03-dconf-editor.png)
4. Turn off Use default value, and change the Custom value to False
![](https://alextech.tips/wp-content/uploads/2021/04/04-true-to-false.png)