Enabling Multi-User and Graphical Interface in Linux

Alexander Hill
Alexander Hill
  • Updated

Document Scope

This document provides step-by-step instructions for enabling the multi-user and graphical interfaces on CentOS, Rocky Linux, and Ubuntu systems. It aims to assist users in configuring their systems to support both command-line and graphical user interface (GUI) environments.

Prerequisites

  • Access to a terminal with administrative privileges
  • Internet connectivity (for package installation, if required)

Enabling Multi-User and Graphical Interface

CentOS/Rocky Linux

sudo systemctl set-default graphical.target

Ubuntu

sudo systemctl set-default graphical

Once you've run the appropriate command from above, restart the system

sudo reboot

Multi-User Target

To switch to multi-user (terminal), replace the above targets as appropriate:

CentOS/Rocky Linux

sudo systemctl set-default multi-user.target

Ubuntu

sudo systemctl set-default multi-user

Conclusion

Enabling both multi-user and graphical interfaces provides users with greater flexibility and control over their CentOS, Rocky Linux, and Ubuntu systems. With these configurations, users can seamlessly switch between command-line and graphical environments based on their preferences and requirements, thereby enhancing their overall user experience and productivity.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.