0% found this document useful (0 votes)
84 views3 pages

Set Default System Boot Target to Graphical

This document provides instructions for setting the default boot target in systemd to graphical.target, which will start the X Window system at boot. It recommends running "systemctl set-default graphical.target" to configure this, and "systemctl get-default" to check that it was set correctly. Additional context is provided on other systemd targets and that the deprecated /etc/inittab file is no longer used to specify the default runlevel.

Uploaded by

Maher Mechi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views3 pages

Set Default System Boot Target to Graphical

This document provides instructions for setting the default boot target in systemd to graphical.target, which will start the X Window system at boot. It recommends running "systemctl set-default graphical.target" to configure this, and "systemctl get-default" to check that it was set correctly. Additional context is provided on other systemd targets and that the deprecated /etc/inittab file is no longer used to specify the default runlevel.

Uploaded by

Maher Mechi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Set new default system level

Question:
Set the default target to boot into X Window level (previously level 5).

(scroll down for an answer)


Answer:
It is simple task configuring systemd properly:

systemctl set-default [Link]

We can also check if it succeeded with:

systemctl get-default

Additional comment:
Here is the list of all targets in systemd:

0 [Link]
1 [Link]
2 [Link]
3 [Link]
4 [Link]
5 [Link]
6 [Link]

Some time ago a file /etc/inittab was used to specify default system level however now it is
deprecated and does not work.

You might also like