centos 桌面运行环境

2020/5/29 centosGNOMEshell

# CENTOS是最小化安装的,默认都是不带X WINDOWS的,所以在安装这些桌面之前得先安装一下X WINDOWS,这个控制功能

yum upgrade
yum -y groupinstall "X Window System"
1
2

# 安装GNOME桌面环境

yum -y groups install "GNOME Desktop"
1

# 启动桌面

startx
1

# 重启GNOME桌面进程

startx
1

# 杀死GNOME桌面进程

killall -9 gnome-shell
1

# 如果需要在WINDOWS端远程桌面连接CENTOS的这些桌面系统,可以这样做

# 防火墙 方便远程连接

firewall-cmd --permanent --zone=public --add-port=3306/tcp

systemctl start firewalld
1
2
3

# 配置源

yum install  epel* -y
1

# 安装xrdp

yum --enablerepo=epel -y install xrdp
1

# 启动xrdp并设置开机启动

systemctl start xrdp
systemctl enable xrdp
reboot
1
2
3
最后更新时间: 2024/7/9 15:11:02