gdm-control command not found

In this troubleshooting guide we learn how to fix gdm-control command not found error message

Introduction

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

gdm-control: command not found

or when using sudo you get the following error message

sudo: gdm-control: command not found

Solutions to gdm-control: command not found

How To Fix gdm-control: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gdm-control is provided by openbox package.

openbox is:

Openbox works with your applications, and makes your desktop easier to manage. This is because the approach to its development was the opposite of what seems to be the general case for window managers. Openbox was written first to comply with standards and to work properly. Only when that was in place did the team turn to the visual interface.

Openbox is fully functional as a stand-alone working environment, or can be used as a drop-in replacement for the default window manager in the GNOME or KDE desktop environments.

Openbox 3 is a completely new breed of window manager. It is not based upon any existing code base, although the visual appearance has been based upon that of Blackbox. Openbox 2 was based on the Blackbox 0.65.0 codebase.

Some of the things to look for in Openbox are:

  • ICCCM and EWMH compliance!
  • Very fast
  • Chainable key bindings
  • Customizable mouse actions
  • Window resistance
  • Multi-head Xinerama support!
  • Pipe menus

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

sudo apt-get -y install openbox

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

You can also use apt command to install openbox.

sudo apt -y install openbox

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

sudo aptitude install openbox

Summary

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