dm-tool command not found
In this troubleshooting guide we learn how to fix dm-tool command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
dm-tool: command not found
or when using sudo you get the following error message
sudo: dm-tool: command not found
Solutions to dm-tool: command not found
How To Fix dm-tool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dm-tool is provided by lightdm package.
lightdm is:
LightDM is a X display manager that:
- Has a lightweight codebase
- Is standards compliant (PAM, ConsoleKit, etc)
- Has a well defined interface between the server and user interface
- Cross-desktop (greeters can be written in any toolkit)
To fix this problem, we can install more using the command below.
sudo apt-get -y install lightdm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lightdm.
sudo apt -y install lightdm
Or if you have aptitude installed you can use the following command.
sudo aptitude install lightdm
Summary
In this tutorial we learn how to fix dm-tool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.