lightdm-gtk-greeter-settings-pkexec command not found

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

Introduction

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

lightdm-gtk-greeter-settings-pkexec: command not found

or when using sudo you get the following error message

sudo: lightdm-gtk-greeter-settings-pkexec: command not found

Solutions to lightdm-gtk-greeter-settings-pkexec: command not found

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

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

lightdm-gtk-greeter-settings is:

A simple configuration utility for the LightDM GTK+ Greeter. All configuration options available in the greeter are exposed and easily manipulated using this tool.

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

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

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-settings.

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

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

sudo aptitude install lightdm-gtk-greeter-settings

Summary

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