Change default runlevel in CentOS 7 / RHEL 7 | GUI | NON-GUI

Hello All,

As systemd is already implemented in CentOS 7 and RHEL 7, Method has been changed to change runlevel in Red Hat Enterprise Linux and CentOS 7. So sharing method to change runlevel in CentOS and RHEL 7

 

CentOS / RHEL 7

CentOS / RHEL 7

Please perform following simple steps to change runlevel from GUI to NON-GUI and NON-GUI to GUI.

1. Execute following command to check current runlevel settings.

[root@tejasbarot ~]# systemctl get-default

1.1 If current setting is graphical.target then Linux will boot in GUI Mode.
1.2 If current setting is multi-user.target then Linux will boot in NON-GUI Mode.

2. Execute following command to Change from GUI to NON-GUI Mode.

[root@tejasbarot ~]# systemctl set-default multi-user.target
[root@tejasbarot ~]# reboot

3. Execute following command to Change from NON-GUI to GUI Mode.

[root@tejasbarot ~]# systemctl set-default graphical.target
[root@tejasbarot ~]# reboot

Hope it will helps you.

Enjoy Linux 🙂 Enjoy Open Source 🙂

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Content Protection by DMCA.com

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


-->

1 Comment »

 
 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Are you Human ? * Time limit is exhausted. Please reload CAPTCHA.