desktop-autoloader command not found

In this troubleshooting guide we learn how to fix desktop-autoloader command not found error message

Introduction

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

desktop-autoloader: command not found

or when using sudo you get the following error message

sudo: desktop-autoloader: command not found

Solutions to desktop-autoloader: command not found

How To Fix desktop-autoloader: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu desktop-autoloader is provided by desktop-autoloader package.

desktop-autoloader is:

This package is for diskless Linux clients as you often find them in school class rooms running an LTSP based fat client environment.

The logon into and the initial session startup on such diskless workstations can be considerably slow, because all applications need to be fetched from one server hosting the fat clients’ filesystem.

The situation gets worse, if 24 computers in the same class room get switched on simultaneously or the teacher tells the students to open the same application (e.g. Libreoffice) at the same time.

However, this issue only occurs to the first student using a diskless workstation that day. If the diskless machine is equipped with enough RAM, other students see all applications being launched within a couple of seconds.

Reason: once an application has been launched, it ends up in the diskless machine’s filesystem cache in RAM.

So, this package pre-loads a desktop session of the admin’s choice plus some extra popular applications. It does this before 7:30 in the morning, only. So, combine this package with Wake-On-LAN or an RTC Timer to make sure systems are booted before 7:30am. With such a setup in place, the diskless machines will have been prepared for work before the first students enter the class room.

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

sudo apt-get -y install desktop-autoloader

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

You can also use apt command to install desktop-autoloader.

sudo apt -y install desktop-autoloader

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

sudo aptitude install desktop-autoloader

Summary

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