Xorg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
Xorg: command not found
or when using sudo you get the following error message
sudo: Xorg: command not found
Solutions to Xorg: command not found
How To Fix Xorg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu Xorg is provided by xserver-xorg-core package.
xserver-xorg-core is:
The Xorg X server is an X server for several architectures and operating systems, which is derived from the XFree86 4.x series of X servers.
The Xorg server supports most modern graphics hardware from most vendors, and supersedes all XFree86 X servers.
More information about X.Org can be found at: URL:https://www.x.org
This package is built from the X.org xserver module.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xserver-xorg-core
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xserver-xorg-core.
sudo apt -y install xserver-xorg-core
Or if you have aptitude installed you can use the following command.
sudo aptitude install xserver-xorg-core
Summary
In this tutorial we learn how to fix Xorg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.