1. Install the desktop
yum -y groups install "GNOME Desktop"
2. Install xrdp software ontology
yum --enablerepo=epel -y install xrdp
3. Open xrdp
systemctl start xrdp
4. Set xrdp to start automatically
systemctl enable xrdp
If you need to directly switch to the graphical interface, please execute
startx