rstartd command not found

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

Introduction

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

rstartd: command not found

or when using sudo you get the following error message

sudo: rstartd: command not found

Solutions to rstartd: command not found

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

In Ubuntu rstartd is provided by x11-session-utils package.

x11-session-utils is:

This package provides the X session manager and related tools:

  • rstart;
  • smproxy, a session manager proxy for X clients that do not use the X session manager protocol;
  • xsm, a session manager for X sessions; Installation of an rsh or ssh daemon (server) is necessary if rstartd is to be used, and installation of an rsh or ssh client is necessary if rstart is to be used.

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

sudo apt-get -y install x11-session-utils

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

You can also use apt command to install x11-session-utils.

sudo apt -y install x11-session-utils

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

sudo aptitude install x11-session-utils

Summary

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