How To Enable GUI Mode In CentOS 7

After install CentOS, when you start it, it will give you a command line interface, this is not user friendly. This article will tell you how to install GUI desktop software GNOME in CentOS and boot CentOS with GUI desktop.

1. Install GNOME Desktop.

  1. Login to CentOS with root user in command line.
  2. Run below yum command to install GNOME desktop, this may take some time.
    # yum groupinstall "GNOME Desktop" "Graphical Administration Tools" -y
  3. Install X Window System.
    # yum groupinstall "X Window System" "Desktop" -y
  4. Start the GNOME GUI interface by run command startx.
    # startx
  5. Run below command to reserve GUI interface for each time you start CentOS.
    systemctl set-default graphical.target

2. How To Change CentOS Screen Resolution.

  1. Login to CentOS use GUI interface.
  2. Click Applications —> System Tools —> Settings menu item.
    centos - applications - system tools - settings
  3. In Settings window, click Devices —> Resolution to change the screen resolution. If you start a software, you should see it at bottom of the screen. If you can not see it, then the screen resolution is not correct.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.