So I've been using Rustdesk with a self hosted server for business and personal use now for some time. However, it is definitely the sketchiest foss software I've used. It seems to be based in China but the developers keep lying and saying its in Singapore.
It seems that now the clients and OSS server are completely foss which is good. They also no longer have public servers in China according to them. In the client itself it also now has better defaults so you are less at risk of getting attacked.
It still is sketch but it now is slightly less sketch I guess? Either way its not ideal.
Meshcentral allows a admin to control machines from a admin panel. Rustdesk allows for a person (doesn't need to be admin) to get into another machine if they are authenticated.
The authentication is the key. If you install the mesh agent on your machine you no longer control that device. It is effectively remote management.
What your asking for probably isn't going to be available as Wayland has stronger security restrictions. They only way I know of to do this would be to dump the display buffer continuously and then send inputs via udev. That would be problematic to do and I doubt if there is any software that can do it. If there is it would likely need to run as root.