Please note: parts of this question comes from my opened thread on reddit.
Please also note: The expected solution should be related to AnyDesk and i3WM, no "NoMachine", VNC, TeamViewer or any other remote desktop solutions. Thanks for understanding.
The problem
I am an i3wm user and I'd like to use AnyDesk unattended login but I can't enable it without super user privileges via sudo.
I mean, if I run sudo anydesk it works and allow me to do the changes needed to allow the unattended login but once I close anydesk, it does not work for a normal user session.
When I run anydesk as a normal user, all the Security options are greyed out and I can't unlock it by clicking on the "Unlock Security Settings" link.
What have I tried
I have seen this question, Cannot access security panel from anydesk and while the provided answers may help a lot, I am facing a different issue.
Once I use this suggested solution:
echo mynewpassword | sudo anydesk --set-password
My terminal responds with:
Setting the password requires administrator privileges and an installed service.
I have also tried with the answers to this question: Anydesk on Ubuntu does not save Unattended Access Security Setting with similar results.
I have read there's something related to polkit or policykit, which I don't have on my i3WM system and that's why I can't run graphic super user requests a la gksudo.
Any help is appreciated.

