Linux/systemd: Set default runlevel to console


for server systems it isn’t necessary to start a graphical user interface because they usually run headless.

Pre systemd system set their default (init) runlevel in /etc/inittab. For the most linux distributions the runlevel for text console/non graphical login was 3.

Systemd introduces target concept. If you host want to boot to text console set the default target to multi-user:

root@debdev ~ # systemctl get-default
root@debdev ~ # systemctl set-default
root@debdev ~ # systemctl get-default


Advertisment to support

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.