###AnyDesk - How Enable Remote Access from ubuntu/debian terminal.
Here are the commands might be usefull in this purpose:
anydesk --get-status
: To get current status of anydesk, which might beofflien,online
or nothing.anydesk --get-id
: To get the ID that your system can be accessed by.anydesk --service
: To start anydesk service if not already running (for Linux).anydesk --restart-service
: To restart anydesk serviceanydesk --stop-service
: To stop anydesk servicesudo echo qazwsxedc | anydesk --set-password
: to set password on anydesk (required to access from a remote system).
echo -e "ad.security.allow_logon_token=true\nad.features.unattended=true" >> ~/.anydesk/user.conf
sudo echo [your-custom-password] | anydesk --set-password
sudo sed -i '' -e 's/# AutomaticLogin/AutomaticLogin/g' -e 's/#WaylandEnable/WaylandEnable/g' /etc/gdm3/custom.conf
sudo reboot
- Drink your coffee, and
wait
until your system becomes up and accessible via ssh or terminal. - Run
anydesk --get-status
, if its notonline
then runanydesk --service
. - Run
anydesk --get-id && echo
to get your desk id. - Use your desk id in your Anydesk client, to access the remote system.
Github: github.com/imami , Twitter: @e_imami