The landscape-client daemon is a proprietary management agent installed by default on many Ubuntu Server distributions (especially those provisioned in the cloud). It is designed to communicate with Canonical’s Landscape systems management tool, allowing administrators to monitor, manage, and deploy updates to fleets of Ubuntu machines from a centralized dashboard. However, if you do not pay for a Landscape subscription, or if you manage your servers using alternative configuration management tools like Ansible, Chef, or Puppet, running the landscape-client daemon is entirely useless. It consumes system memory and periodically reaches out to external servers unnecessarily.
This guide explains how to completely disable and remove the landscape-client daemon in Ubuntu Server.
Stop, Disable, and Purge the Landscape Client
Because this daemon is not critical to the core functioning of the operating system, the cleanest approach is to completely uninstall the package rather than just masking the service, ensuring it can never be accidentally re-enabled during an update.
- Log into your Ubuntu Server via SSH or local console using an account with
sudoprivileges. - First, stop the active service to halt any current background tasks:
sudo systemctl stop landscape-client.service - Next, completely uninstall the package and purge its configuration files from the system using the APT package manager:
sudo apt-get purge landscape-client landscape-common -y - Finally, clean up any orphaned dependencies that were installed alongside the client but are no longer required by the system:
sudo apt-get autoremove -y
Verify the Daemon Removal
By purging the package, you guarantee that the proprietary management agent is entirely eradicated from the server’s filesystem.
To verify the removal is successful, attempt to check the status of the daemon using systemd:
systemctl status landscape-client.service
The system will return a Unit landscape-client.service could not be found error, confirming that the service configuration has been destroyed. Furthermore, running dpkg -l | grep landscape will return no output, proving that the packages have been successfully scrubbed. Your server is now free of unnecessary, proprietary management overhead.