3

Regarding https://support.anydesk.com/Command_Line_Interface#Setting_a_Password

I login

$ su -

and do

# echo my_new_password | anydesk.exe --set-password

after that I exit/login to standard user and start

$ anydesk

But I still need client accepts (now password request from remote)

2 Answers 2

4

I think you should remove .exe and use sudo (tested at least on ubuntu 20.04)

# echo my-new-password | sudo anydesk --set-password
1
  • if you are running as root, you don't need sudo. Although tbh probably better to use sudo than to run as root
    – Esther
    May 30, 2022 at 21:24
2

One possible reason is that the password is too weak. In this case, AnyDesk rejects your password without prompting any warning. So the password is still not set, therefore the unattended access is still disabled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.