Centos8如何安裝Xfce桌面

安全劍客發表於2020-07-13
導讀 本篇文章介紹如何在 8  作業系統中安裝Xfce桌面環境和LightDM(Light Display Manager)。

在Centos8中使用epel-release軟體源安裝Xfce4桌面時,發現安裝之後的桌面是Gnome3的,許多xfce的工具打不開。所以研究了幾天,透過Fedora28 Server版本的系統中,下載安裝包複製到Centos8中,可以安裝成功,在此記錄一下安裝過程。
Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面

環境

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

安裝xfce4

這裡使用的xfce4相關的安裝包都是從Fedora28系統中下載的,裝在Centos8中或許有些不穩定,目前發現裝上之後Firewalld有問題,如果不妨礙使用,可以禁用Firewalld。

生產環境就不要這樣玩了,本實驗純屬測試一下而已。

Xfce4相關的安裝包我已經放在網盤裡了: , 下載到本地,然後上傳到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

Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面

Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面

設定開機啟動到圖形介面

#開機啟動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 firewalld Removed /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.conf LANG="zh_CN.UTF-8"

重啟一下系統,進入桌面看一下吧:
Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面

登入介面


Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面

使用預設配置


Centos8如何安裝Xfce桌面Centos8如何安裝Xfce桌面
到此已經安裝完成了!

總結

本篇文章介紹如何在CentOS8 Linux作業系統中安裝Xfce桌面環境和LightDM(Light Display Manager)。

本文原創地址:


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69955379/viewspace-2704158/,如需轉載,請註明出處,否則將追究法律責任。

相關文章