CentOS7: How to install Desktop Environments on CentOS 7?
1. Installing GNOME-Desktop:
Install GNOME Desktop Environment on here.
# yum -y groups install "GNOME Desktop"Input a command like below after finishing installation:
# startxGNOME Desktop Environment will start. For first booting, initial setup runs and you have to configure it for first time.
- Select System language first.
- Select your keyboard type.
- Add online accounts if you'd like to.
- Finally click "Start using CentOS Linux".
GNOME Desktop Environments starts like follows.

How to use GNOME Shell?
The default GNOME Desktop of CentOS 7 starts with classic mode but if you'd like to use GNOME Shell, set like follows:
Option A: If you start GNOME with startx,
set like follows.
# echo "exec gnome-session" >> ~/.xinitrc
# startx
Option B: set the system graphical login systemctl and reboot the system. After system starts
set-default graphical.target
- Click the button which is located next to the "Sign In" button.
- Select "GNOME" on the list. (The default is GNOME Classic)
- Click "Sign In" and log in with GNOME Shell.

- GNOME shell starts like follows:

2. Installing KDE-Desktop:
Install KDE Desktop Environment on here.
# yum -y groups install "KDE Plasma Workspaces"Input a command like below after finishing installation:
# echo "exec startkde" >> ~/.xinitrc # startx- KDE Desktop Environment starts like follows:

3. Installing Cinnamon Desktop Environment:
Install Cinnamon Desktop Environment on here.
First Add the EPEL Repository (EPEL Repository which is provided from Fedora project.)
Extra Packages for Enterprise Linux (EPEL)How to add EPEL Repository?
# yum -y install epel-release # sed -i -e "s/\]$/\]\npriority=5/g" /etc/yum.repos.d/epel.repo # set [priority=5] # sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/epel.repo # for another way, change to [enabled=0] and use it only when needed # yum --enablerepo=epel install [Package] # if [enabled=0], input a command to use the repositoryAnd now install the Cinnamon Desktop Environment from EPEL Repository:
# yum --enablerepo=epel -y install cinnamon*
Input a command like below after finishing installation:
# echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc # startxCinnamon Desktop Environment will start. For first booting, initial setup runs and you have to configure it for first time.
- Select System language first.
- Select your keyboard type.
- Add online accounts if you'd like to.
- Finally click "Start using CentOS Linux".
Cinnamon Desktop Environment starts like follows.

4. Installing MATE Desktop Environment:
Install MATE Desktop Environment on here.
# yum --enablerepo=epel -y groups install "MATE Desktop"Input a command like below after finishing installation:
# echo "exec /usr/bin/mate-session" >> ~/.xinitrc # startx- MATE Desktop Environment starts.

5. Installing Xfce Desktop Environment:
Install Xfce Desktop Environment on here.
# yum --enablerepo=epel -y groups install "Xfce"Input a command like below after finishing installation:
# echo "exec /usr/bin/xfce4-session" >> ~/.xinitrc # startx- Xfce Desktop Environment starts.

Copy from:
http://unix.stackexchange.com/questions/181503/how-to-install-desktop-environments-on-centos-7
CentOS7: How to install Desktop Environments on CentOS 7?的更多相关文章
- Centos 7.5 通过yum安装GNOME Desktop时出现:file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7.centos.2.noarch
系统版本为: [root@s10 ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) 由于管理kvm虚拟机的需求,需要安装 ...
- Install .Net Core For CentOS
Install .NET Core SDK Before you start, please remove any previous versions of .NET Core from your s ...
- Install Docker Engine on CentOS 在CentOS 7 上安装Docker
Install Docker Engine on CentOS OS Requirements 系统要求 To install Docker Engine,you need a maintained ...
- [转载]How to Install Firefox 33 on CentOS, Redhat and Other Linux Distributions
FROM: http://tecadmin.net/install-firefox-on-linux/ Firefox 33 has been released for Systems and And ...
- Install RabbitMQ server in CentOS 7
About RabbitMQ RabbitMQ is an open source message broker software, also sometimes known as message-o ...
- 转载--How to Install VMware Tools on CentOS 6.3
源地址:http://www.ehowstuff.com/how-to-install-vmware-tools-on-centos-6-3/ VMware Tools is a group of u ...
- install keepalived on RedHat/CentOS to provide IP failover for web cluster
Contents [hide] 1 Introduction 2 Our Sample Setup 3 Install Keepalived 4 Install Kernel Headers 5 C ...
- centos7 pxe minimal install
# 01-78-2b-cb-69-10-f3 default menu.c32 prompt 0 timeout 50 label CentOS 7 MENU DEFAULT MENU LABEL C ...
- install docker swarm on centos
ref: https://sonnguyen.ws/install-docker-docker-swarm-centos7/ https://hostadvice.com/how-to/how-to- ...
随机推荐
- AngularJS 全局scope与指令 scope通信
在项目开发时,全局scope 和 directive本地scope使用范围不够清晰,全局scope与directive本地scope通信掌握的不够透彻,这里对全局scope 和 directive本地 ...
- DVA框架统一处理所有页面的loading状态
dva 有一个管理 effects 执行的 hook,并基于此封装了 dva-loading 插件.通过这个插件,我们可以不必一遍遍地写 showLoading 和 hideLoading,当发起请求 ...
- Idea导入多个maven项目到同一目录下
目标 简单导入多个maven项目进入同一个project(相当于eclipse的workspace) 过程 1.新建一个目录作为仿eclipse的workspace,这里起名为idea-workspa ...
- hihocoder 1419 重复旋律4
描述 小Hi平时的一大兴趣爱好就是演奏钢琴.我们知道一个音乐旋律被表示为长度为 N 的数构成的数列.小Hi在练习过很多曲子以后发现很多作品中的旋律有重复的部分. 我们把一段旋律称为(k,l)-重复的, ...
- 【USACO】奶牛抗议 树状数组+dp
题目描述 约翰家的 N 头奶牛正在排队游行抗议.一些奶牛情绪激动,约翰测算下来,排在第 i 位的奶牛 的理智度为 A i ,数字可正可负. 约翰希望奶牛在抗议时保持理性,为此,他打算将这条队伍分割成几 ...
- ●BZOJ 1767 [Ceoi2009]harbingers
题链: http://www.lydsy.com/JudgeOnline/problem.php?id=1767 题解: 斜率优化DP,单调栈,二分 定义 DP[i] 表示从 i 节点出发,到达根所花 ...
- 5650 so easy
so easy Accepts: 512 Submissions: 1601 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 6553 ...
- Ubuntu 16.04安装JDK/JRE并配置环境变量
作为一个Linux新手,在写这篇文章之前,安装了几次jdk,好多次都是环境变量配置错误,导致无法登录系统.经过几天的研究,今天新装系统,从头来完整配置一遍 系统版本:Ubuntu 16.04 JDK版 ...
- shell 报错:syntax error: unexpected end of file
有时执行脚本时会报错: [root@host1 shell]# sh -x test.sh + $'\r' : command not found test.: syntax error: unexp ...
- js打印小结
<script type="text/javascript"> //打印必备参数 var hkey_root,hkey_path,hkey_key; hkey_root ...