Step One: Install the Graphical User Interface Packages

First, install the EPEL repository on your system.

[root@centos-vm ~]# yum install epel-release -y

Next, install the graphical user interface packages.

[root@centos-vm ~]# yum groupinstall "Server with GUI" -y

Next, install the Xfce package.

[root@centos-vm ~]# yum groupinstall "Xfce" -y

Step Two: Change the System Run-level

Set the default run-level for your system by modifying the current to level to the graphical user target.

[root@centos-vm ~]# systemctl set-default

Next, configure the xfce session for all the users on your system.

[root@centos-vm ~]# echo "xfce4-session" > ~/.Xclients
[root@centos-vm ~]# chmod a+x ~/.Xclients

After that, you should be able to log in to your system's graphical user interface with any user account.