How do I change runlevels in RHEL 7/8/9?

Solution Verified - Updated -

Issue

  • How do I set the default runlevel to 3 in RHEL 7/8/9?
  • How do I set the default boot target to text only?
  • How do I set the default runlevel to 5 in RHEL 7/8/9?
  • How do I boot to graphical mode by default in RHEL 7/8/9?
  • How do i set the default boot target to graphical in RHEL 7/8/9?

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content