Until one of the latest Catalina updates, I was able to (re)start Screen Sharing using the following command:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent && sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -specifiedUsers && sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users user_name -access -on -privs -ControlObserve
However, after one of the last couple of Catalina updates this fails. To be more specific, if I run the command I don't get any errors, but the Screen Sharing daemon is not launched, so I cannot remotely connect to my Mac. This still works in other Macs running High Sierra, but not in Catalina. Does anybody have any idea what might have changed in the last updates, or how to fix this?