Systems that do not require a graphical user interface should only boot by
default into multi-user.target
mode. This prevents accidental booting of the system
into a graphical.target
mode. Setting the system's default target to
multi-user.target
will prevent automatic startup of the X server. To do so, run:
$ systemctl set-default multi-user.target
You should see the following output:
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.