SLES 12
Sponsored Link

Change Run-Level
2015/11/21
 
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.
dlp:~ #
ll /etc/systemd/system/default.target

lrwxrwxrwx 1 root root 41 Nov 18 16:58 /etc/systemd/system/default.target -> /usr/lib/systemd/system/multi-user.target
dlp:~ #
ll /usr/lib/systemd/system/multi-user.target

-rw-r--r-- 1 root root 492 Oct 9 2014 /usr/lib/systemd/system/multi-user.target
[2] For example, if you'd like to change the Run-Level to Graphical-login, set like follows.
dlp:~ #
ln -fs /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target

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

lrwxrwxrwx 1 root root 40 Nov 19 16:02 /etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.target
Matched Content
 
Tweet