[TOC]
## 需要更新yum源
```
yum update
```
## 安装额外包yum源
```
yum install epel-release
# No package epel-release available 解决方案:
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
```
## 安装X Window system
```
yum groupinstall "X Window system"
```
## 安装xfce
```
yum groupinstall xfce
```
## 安装语言包
```
yum groupinstall "fonts"
```
## 安装火狐浏览器
```
yum install firefox
```
## 启动xfce4桌面
> windows开启x-server,例如:x410软件
```
#wsl2
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
#wsl1
export DISPLAY=127.0.0.1:0.0
# 完整启动
startxfce4
# 仅启动核心
xfsettingsd --sm-client-disable; xfce4-panel --sm-client-disable --disable-wm-check &
```