rhel 7 设置默认运行级别为图形
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rhel 7 设置默认运行级别为图形相关的知识,希望对你有一定的参考价值。
查看默认级别
# systemctl get-default
multi-user.target
# cat /etc/inittab
# inittab is no longer used when using systemd. # # ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM. # # Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target # # systemd uses ‘targets‘ instead of runlevels. By default, there are two main targets: # # multi-user.target: analogous to runlevel 3 # graphical.target: analogous to runlevel 5 # # To view current default target, run: # systemctl get-default # # To set a default target, run: # systemctl set-default TARGET.target #
设置为图形级别
# systemctl set-default graphical.target
以上是关于rhel 7 设置默认运行级别为图形的主要内容,如果未能解决你的问题,请参考以下文章