root localhost进桌面_Centos8如何安装Xfce桌面

本篇文章介绍如何在CentOS8 Linux操作系统中安装Xfce桌面环境和LightDM(Light Display Manager)。

在Centos8中使用epel-release软件源安装Xfce4桌面时,发现安装之后的桌面是Gnome3的,许多xfce的工具打不开。所以研究了几天,通过Fedora28 Server版本的系统中,下载安装包拷贝到Centos8中,可以安装成功,在此记录一下安装过程。

b0e223f46ecf6ee54eccfd546a18de2a.png

环境

CentOS Linux release 8.2.2004 (Core) 、CentOS Linux release 8.0.1905 (Core)

安装xfce4

这里使用的xfce4相关的安装包都是从Fedora28系统中下载的,装在Centos8中或许有些不稳定,目前发现装上之后Firewalld有问题,如果不妨碍使用,可以禁用Firewalld。

生产环境就不要这样玩了,本实验纯属测试一下而已。

Xfce4相关的安装包我已经放在网盘里了:https://share.weiyun.com/VqEEZio1, 下载到本地,然后上传到Centos8中。

# 安装lrzsz,将下载好的 压缩包上传到系统中。[root@localhost ~]# dnf -y install lrzsz tar[root@localhost ~]# rz# 解压文件,并进入文件夹,开始安装[root@localhost ~]# tar xvf Xfce_fd28.tar.gz [root@localhost ~]# cd Xfce[root@localhost Xfce]# dnf install -y * --skip-broken --nobest 
f382bd81549bd55658413aa350be88bf.png
ce5419d658e1ca27dabf3f3eaa36d0ad.png

设置开机启动到图形界面

#开机启动lightdm显示管理器[root@localhost ~]# systemctl enable lightdm# 默认启动图形界面[root@localhost ~]# systemctl set-default graphical.target Removed /etc/systemd/system/default.target.Created symlink /etc/systemd/system/default.target ¡ú /usr/lib/systemd/system/graphical.target.关闭防火墙[root@localhost ~]# systemctl disable firewalldRemoved /etc/systemd/system/multi-user.target.wants/firewalld.service.Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

设置中文显示

安装中文:

[root@localhost ~]# yum -y install wqy* glibc-langpack-zh

修改/etc/locale.conf:

[root@localhost ~]# sed -i 's/en_US/zh_CN/' /etc/locale.conf [root@localhost ~]# cat /etc/locale.confLANG="zh_CN.UTF-8"

重启一下系统,进入桌面看一下吧:

8e97862ca70629f0501f690882beb413.png

登录界面

3b1caee7454eed2db97d4c319ec81360.png

使用默认配置

ec39de4dd5fb0f19f635784f1b45fddd.png


到此已经安装完成了!

总结

本篇文章介绍如何在CentOS8 Linux操作系统中安装Xfce桌面环境和LightDM(Light Display Manager)。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值