Forum Navigation
You need to log in to create posts and topics.

Enable / Disable GUI in CentOS / Redhat / Rocky Linux

Problem

User wants to disable / enable the GUI in CentOS / Redhat / Rocky Linux

Solution

Disable:

# systemctl set-default multi-user.target
# systemctl isolate multi-user.target

Logout all active graphical sessions ‘systemctl isolate multi-user.target’

Enable:

# systemctl isolate graphical.target
# systemctl set-default graphical.target #it’ll setup the gdm boot startup
$ startx

Uploaded files:
If you have found my website, guides, articles or videos useful, please buy me a coffee