Fedora 30
Sponsored Link

Change Run-Level
2019/05/07
 
Change Run-Level like follows if you'd like to.
[1] Run-Level is set with linking to /etc/systemd/system/default.target. For example, the default setting without GUI is like follows.
[root@dlp ~]#
systemctl get-default

multi-user.target
[root@dlp ~]#
ll /etc/systemd/system/default.target

lrwxrwxrwx. 1 root root 37 May 3 00:11 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target
[root@dlp ~]#
ll /lib/systemd/system/multi-user.target

-rw-r--r--. 1 root root 532 Apr 26 18:49 /lib/systemd/system/multi-user.target
[2] For example, if you'd like to change the Run-Level to Graphical-login, set like follows.
[root@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.
[root@dlp ~]#
systemctl get-default

graphical.target
[root@dlp ~]#
ll /etc/systemd/system/default.target

lrwxrwxrwx. 1 root root 36 May 3 01:11 /etc/systemd/system/default.target -> /lib/systemd/system/graphical.target
Matched Content