You should check if the "control my computer's keyboard and mouse" option found in the Security tab is selected on the device you are trying to connect to.
Download AnyDesk free
Ayuda gratis en Español