I recently downloaded and installed AnyDesk but it has been annoying me that it automatically starts up on boot. I went to Startup and Shutdown in the System Settings and it wasn’t listed there and it wasn’t until I searched for the process that I realised it runs as a root process as well. Luckily this means it can be disabled using systemctl by issuing the terminal command,
sudo systemctl disable anydesk
Prima!
This is my output:
Removed /etc/systemd/system/multi-user.target.wants/anydesk.service.
Should be perfect. Anydesk adds itself as an auto service startup under systemctl. Removing /etc/systemd/system/multi-user.target.wants/anydesk.service stops it begin read as a startup service. It is quite annoying actually. I would want it running when i asked, not all the time.
Below command lists all the services that are currently in enabled state:
systemctl list-unit-files | grep enabled
You can verify anydesk.service is present in the list and run the command mentioned in the post to disable it:
sudo systemctl disable anydesk
That’s a great command. Thank you!