溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Centos8如何安裝Xfce桌面

發(fā)布時(shí)間:2020-08-07 19:27:01 來源:ITPUB博客 閱讀:289 作者:安全劍客 欄目:建站服務(wù)器
本篇文章介紹如何在 CentOS8  Linux操作系統(tǒng)中安裝Xfce桌面環(huán)境和LightDM(Light Display Manager)。

在Centos8中使用epel-release軟件源安裝Xfce4桌面時(shí),發(fā)現(xiàn)安裝之后的桌面是Gnome3的,許多xfce的工具打不開。所以研究了幾天,通過Fedora28 Server版本的系統(tǒng)中,下載安裝包拷貝到Centos8中,可以安裝成功,在此記錄一下安裝過程。
Centos8如何安裝Xfce桌面

環(huán)境

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

安裝xfce4

這里使用的xfce4相關(guān)的安裝包都是從Fedora28系統(tǒng)中下載的,裝在Centos8中或許有些不穩(wěn)定,目前發(fā)現(xiàn)裝上之后Firewalld有問題,如果不妨礙使用,可以禁用Firewalld。

生產(chǎn)環(huán)境就不要這樣玩了,本實(shí)驗(yàn)純屬測(cè)試一下而已。

Xfce4相關(guān)的安裝包我已經(jīng)放在網(wǎng)盤里了: https://share.weiyun.com/VqEEZio1, 下載到本地,然后上傳到Centos8中。

# 安裝lrzsz,將下載好的 壓縮包上傳到系統(tǒng)中。 [root@localhost ~]# dnf -y install lrzsz tar [root@localhost ~]# rz # 解壓文件,并進(jìn)入文件夾,開始安裝 [root@localhost ~]# tar xvf Xfce_fd28.tar.gz  [root@localhost ~]# cd Xfce [root@localhost Xfce]# dnf install -y * --skip-broken --nobest

Centos8如何安裝Xfce桌面

Centos8如何安裝Xfce桌面

設(shè)置開機(jī)啟動(dòng)到圖形界面

#開機(jī)啟動(dòng)lightdm顯示管理器 [root@localhost ~]# systemctl enable lightdm # 默認(rèn)啟動(dòng)圖形界面 [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. 關(guān)閉防火墻 [root@localhost ~]# systemctl disable firewalld Removed /etc/systemd/system/multi-user.target.wants/firewalld.service. Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

設(shè)置中文顯示

安裝中文:

[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.conf LANG="zh_CN.UTF-8"

重啟一下系統(tǒng),進(jìn)入桌面看一下吧:
Centos8如何安裝Xfce桌面

登錄界面


Centos8如何安裝Xfce桌面

使用默認(rèn)配置


Centos8如何安裝Xfce桌面
到此已經(jīng)安裝完成了!

總結(jié)

本篇文章介紹如何在CentOS8 Linux操作系統(tǒng)中安裝Xfce桌面環(huán)境和LightDM(Light Display Manager)。

原文地址: https://www.linuxprobe.com/centos8-xfce-desktop.html

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI