The Keyboard Configuration Daemon
In Ubuntu Linux, the kbd service is responsible for managing console fonts and keyboard mappings. Specifically, during the boot process, this daemon loads your preferred keyboard layout (e.g., swapping from a standard US layout to a UK or Dvorak layout) and sets the specific font used by the raw TTY console (the black screen with white text you see before the graphical desktop loads, or when you switch to Ctrl + Alt + F3).
While this is essential for desktop users who need international keyboard layouts or prefer specific console fonts, it is completely unnecessary overhead on a headless server. If you manage an Ubuntu server exclusively via SSH, you are never interacting with the raw TTY console directly. Your SSH client handles the keyboard mapping and font rendering locally on your own computer. Running a background daemon on the server to configure a physical console that nobody is looking at is a waste of boot time and system resources. It should be disabled.
How to Disable the Kbd Service
You can permanently stop this console configuration daemon using systemctl.
Warning: Do not perform this on a desktop PC, or you may find yourself stuck with an incorrect keyboard layout if you ever need to troubleshoot via the raw TTY console.
- Open your Ubuntu Terminal or connect via SSH.
- Stop the active service if it is currently running:
sudo systemctl stop kbd.service
- Disable the service to prevent it from starting automatically on the next boot:
sudo systemctl disable kbd.service
- To ensure no other boot processes attempt to wake it up via dependencies, mask it completely:
sudo systemctl mask kbd.service
Your Ubuntu server will immediately stop wasting cycles configuring the physical console, streamlining your boot process for a headless environment.