In all major Linux operating systems, display managers are started automatically on boot. In order for this to happen automatically, a script must be added to the init system's appropriate runlevel. Examples for OpenRC and systemd are provided below.