gdmflexiserver command not found

In this troubleshooting guide we learn how to fix gdmflexiserver command not found error message

Introduction

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

gdmflexiserver: command not found

or when using sudo you get the following error message

sudo: gdmflexiserver: command not found

Solutions to gdmflexiserver: command not found

How To Fix gdmflexiserver: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gdmflexiserver is provided by libgdm1 package.

libgdm1 is:

GDM provides the equivalent of a “login:” prompt for X displays: it asks for a login and starts graphical sessions.

It supports multiple seats and switching between multiple users.

The greeter is based on the GNOME libraries and applications, and its look and design are the same as those of a GNOME session.

This package contains the shared library required by gnome-shell.

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

sudo apt-get -y install libgdm1

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

You can also use apt command to install libgdm1.

sudo apt -y install libgdm1

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

sudo aptitude install libgdm1

Summary

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