Is there any way to enable Wayland sharing from the command line? When I try to access Ubuntu 22.04 LTS with Teamviewer it's blocked because of this popup on the target:
Note that removing a monitor doesn't help, it just reduces the list to one - you still have to click Share to enable the connection.
I can SSH into Ubuntu using Tailscale so is there any way of accepting this dialog from the command line so I can get Teamviewer access?