openSUSE Leap 16

Change Run-Level2025/10/23

 

If you would like to change System Run-Level, set like follows.

[1] Run-Level is set with linking to [/etc/systemd/system/default.target].
For example, the default setting without GUI is set like follows.
dlp:~ #
systemctl get-default

multi-user.target
dlp:~ #
ll /etc/systemd/system/default.target

lrwxrwxrwx. 1 root root 41 Oct 23 11:04 /etc/systemd/system/default.target -> /usr/lib/systemd/system/multi-user.target
dlp:~ #
ll /lib/systemd/system/multi-user.target

-rw-r--r--. 1 root root 540 Jul 1 19:02 /lib/systemd/system/multi-user.target
[2] For example, if you'd like to change Run-Level to Graphical-Login, set like follows.
dlp:~ #
systemctl set-default graphical.target

Removed '/etc/systemd/system/default.target'.
Created symlink '/etc/systemd/system/default.target' → '/usr/lib/systemd/system/graphical.target'.
dlp:~ #
systemctl get-default

graphical.target
dlp:~ #
ll /etc/systemd/system/default.target

lrwxrwxrwx. 1 root root 40 Oct 23 11:05 /etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.target
Matched Content