I want to build a script that will make the "screen sharing" through CLI (I have to do it on a lot of computers in the future and I want to add such script to another scripts that will configure the OS),
I currently know how to do it through the GUI: https://linuxhint.com/enable-screen-sharing-ubuntu/
How can I use CLI to make this configuration: using GUI
I don't find on the NET any bunch of instructions that can make it... the most close answer to my question i found is this: Enable remote VNC from the commandline? but it still not triggers the sharing at the GUI.