lightdm-gtk-greeter command not found

In this troubleshooting guide we learn how to fix lightdm-gtk-greeter command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lightdm-gtk-greeter: command not found

or when using sudo you get the following error message

sudo: lightdm-gtk-greeter: command not found

Solutions to lightdm-gtk-greeter: command not found

How To Fix lightdm-gtk-greeter: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lightdm-gtk-greeter is provided by lightdm-gtk-greeter package.

lightdm-gtk-greeter is:

lightdm-gtk-greeter is greeter shell for the LightDM login manager. It uses the GTK+ toolkit and integrates well with desktop environment using that toolkit, like the Xfce desktop environment.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lightdm-gtk-greeter

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lightdm-gtk-greeter.

sudo apt -y install lightdm-gtk-greeter

Or if you have aptitude installed you can use the following command.

sudo aptitude install lightdm-gtk-greeter

Summary

In this tutorial we learn how to fix lightdm-gtk-greeter command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.