Change RunLevel2014/07/13 |
Change RunLevel like follows if you'd like to.
|
|
[1] | RunLevel is set with linking to /etc/systemd/system/default.target. For example, the default setting without GUI is like follows. |
[root@dlp ~]# ll /etc/systemd/system/default.target lrwxrwxrwx. 1 root root 37 Jul 9 06:04 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target |
[2] | For example, if you'd like to change the RunLevel to Graphical-login, set like follows. |
[root@dlp ~]#
systemctl set-default graphical.target rm '/etc/systemd/system/default.target' ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target' # make sute the setting [root@dlp ~]# systemctl get-default graphical.target [root@dlp ~]# ll /etc/systemd/system/default.target lrwxrwxrwx 1 root root 36 Jul 9 21:55 /etc/systemd/system/default.target -> /lib/systemd/system/graphical.target |
Sponsored Link |