Home >Operation and Maintenance >CentOS >Install desktop environment on CentOS7
The following tutorial column from centos will introduce to you how to install the desktop environment on CentOS7. I hope it will be helpful to friends in need!
# yum -y groups install "GNOME Desktop"
# startx
Start for the first time and make some initial settings
The desktop environment after startup is as follows:
The default GNOME desktop for CentOS 7 starts in classic mode, but if you want to use GNOME Shell, please set it up as follows:
Method one: If you start with startx Command to start GNOME, the settings are as follows:
# echo "exec gnome-session" >> ~/.xinitrc # startx
Method 2: Set the graphical interface to log in and restart the system through the systemctl set-default graphical.target command. After the system starts
#click the button next to the "Login" button.
Select "GNOME" in the list. (Default is GNOME Classic mode)
Log in using GNOME Shell.
After the GNOME shell is started, it looks like this:
The above is the detailed content of Install desktop environment on CentOS7. For more information, please follow other related articles on the PHP Chinese website!