Enable Screen Sharing & Disabling Encryptuion on Ubuntu
Run command in terminal (press Ctrl+Alt+T to open terminal):
gsettings set org.gnome.Vino require-encryption false
You may also run command to allow people not in local network to access using UPnP (if your router supports it):
gsettings set org.gnome.Vino use-upnp true
https://qiita.com/ryoyakawai/items/09e7e85e0907f60809dd
Portを開放しufwを有効化する
※ 以下のコマンドではPortは5900に指定しています。
$ sudo ufw allow from any to any port 5900 proto tcp
$ sudo ufw enable && sudo systemctl start ufw
以下のコマンドで動作の確認をする。
$ sudo systemctl is-active ufw
$ sudo ufw status
ついでにIPアドレスも調べる。