{"id":195923,"date":"2020-07-13T09:14:21","date_gmt":"2020-07-13T01:14:21","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=195923"},"modified":"2020-07-13T09:16:51","modified_gmt":"2020-07-13T01:16:51","slug":"centos8-xfce-desktop","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/centos8-xfce-desktop.html","title":{"rendered":"Centos8\u5982\u4f55\u5b89\u88c5Xfce\u684c\u9762"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u672c\u7bc7\u6587\u7ae0\u4ecb\u7ecd\u5982\u4f55\u5728CentOS8 Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u5b89\u88c5Xfce\u684c\u9762\u73af\u5883\u548cLightDM(Light Display Manager)\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5728Centos8\u4e2d\u4f7f\u7528epel-release\u8f6f\u4ef6\u6e90\u5b89\u88c5Xfce4\u684c\u9762\u65f6\uff0c\u53d1\u73b0\u5b89\u88c5\u4e4b\u540e\u7684\u684c\u9762\u662fGnome3\u7684\uff0c\u8bb8\u591axfce\u7684\u5de5\u5177\u6253\u4e0d\u5f00\u3002\u6240\u4ee5\u7814\u7a76\u4e86\u51e0\u5929\uff0c\u901a\u8fc7Fedora28 Server\u7248\u672c\u7684\u7cfb\u7edf\u4e2d\uff0c\u4e0b\u8f7d\u5b89\u88c5\u5305\u62f7\u8d1d\u5230Centos8\u4e2d\uff0c\u53ef\u4ee5\u5b89\u88c5\u6210\u529f\uff0c\u5728\u6b64\u8bb0\u5f55\u4e00\u4e0b\u5b89\u88c5\u8fc7\u7a0b\u3002
\n\"\"<\/p>\n

\u73af\u5883<\/strong><\/div>\n

CentOS Linux release 8.2.2004 (Core) \u3001CentOS Linux release 8.0.1905 (Core) <\/p>\n

\u5b89\u88c5xfce4<\/strong><\/div>\n

\u8fd9\u91cc\u4f7f\u7528\u7684xfce4\u76f8\u5173\u7684\u5b89\u88c5\u5305\u90fd\u662f\u4eceFedora28\u7cfb\u7edf\u4e2d\u4e0b\u8f7d\u7684\uff0c\u88c5\u5728Centos8\u4e2d\u6216\u8bb8\u6709\u4e9b\u4e0d\u7a33\u5b9a\uff0c\u76ee\u524d\u53d1\u73b0\u88c5\u4e0a\u4e4b\u540eFirewalld\u6709\u95ee\u9898\uff0c\u5982\u679c\u4e0d\u59a8\u788d\u4f7f\u7528\uff0c\u53ef\u4ee5\u7981\u7528Firewalld\u3002<\/p>\n

\u751f\u4ea7\u73af\u5883\u5c31\u4e0d\u8981\u8fd9\u6837\u73a9\u4e86\uff0c\u672c\u5b9e\u9a8c\u7eaf\u5c5e\u6d4b\u8bd5\u4e00\u4e0b\u800c\u5df2\u3002<\/p>\n

Xfce4\u76f8\u5173\u7684\u5b89\u88c5\u5305\u6211\u5df2\u7ecf\u653e\u5728\u7f51\u76d8\u91cc\u4e86\uff1ahttps:\/\/share.weiyun.com\/VqEEZio1<\/a>\uff0c \u4e0b\u8f7d\u5230\u672c\u5730\uff0c\u7136\u540e\u4e0a\u4f20\u5230Centos8\u4e2d\u3002<\/p>\n

\r\n# \u5b89\u88c5lrzsz\uff0c\u5c06\u4e0b\u8f7d\u597d\u7684 \u538b\u7f29\u5305\u4e0a\u4f20\u5230\u7cfb\u7edf\u4e2d\u3002\r\n[root@localhost ~]# dnf -y install lrzsz tar\r\n[root@localhost ~]# rz\r\n# \u89e3\u538b\u6587\u4ef6\uff0c\u5e76\u8fdb\u5165\u6587\u4ef6\u5939\uff0c\u5f00\u59cb\u5b89\u88c5\r\n[root@localhost ~]# tar xvf Xfce_fd28.tar.gz \r\n[root@localhost ~]# cd Xfce\r\n[root@localhost Xfce]# dnf install -y * --skip-broken --nobest \r\n<\/pre>\n

\"\"<\/p>\n

\"\"<\/p>\n

\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\u5230\u56fe\u5f62\u754c\u9762<\/strong><\/div>\n
\r\n#\u5f00\u673a\u542f\u52a8lightdm\u663e\u793a\u7ba1\u7406\u5668\r\n[root@localhost ~]# systemctl enable lightdm\r\n# \u9ed8\u8ba4\u542f\u52a8\u56fe\u5f62\u754c\u9762\r\n[root@localhost ~]# systemctl set-default graphical.target \r\nRemoved \/etc\/systemd\/system\/default.target.\r\nCreated symlink \/etc\/systemd\/system\/default.target \u00a1\u00fa \/usr\/lib\/systemd\/system\/graphical.target.\r\n\u5173\u95ed\u9632\u706b\u5899\r\n[root@localhost ~]# systemctl disable firewalld\r\nRemoved \/etc\/systemd\/system\/multi-user.target.wants\/firewalld.service.\r\nRemoved \/etc\/systemd\/system\/dbus-org.fedoraproject.FirewallD1.service.\r\n<\/pre>\n
\u8bbe\u7f6e\u4e2d\u6587\u663e\u793a<\/strong><\/div>\n

\u5b89\u88c5\u4e2d\u6587\uff1a<\/p>\n

\r\n[root@localhost ~]# yum -y install wqy* glibc-langpack-zh\r\n<\/pre>\n

\u4fee\u6539\/etc\/locale.conf<\/code>\uff1a<\/p>\n

\r\n[root@localhost ~]# sed -i 's\/en_US\/zh_CN\/' \/etc\/locale.conf \r\n[root@localhost ~]# cat \/etc\/locale.conf\r\nLANG=\"zh_CN.UTF-8\"\r\n<\/pre>\n

\u91cd\u542f\u4e00\u4e0b\u7cfb\u7edf\uff0c\u8fdb\u5165\u684c\u9762\u770b\u4e00\u4e0b\u5427\uff1a
\n\"\"
\n

\u767b\u5f55\u754c\u9762<\/em><\/center>
\n\"\"
\n
\u4f7f\u7528\u9ed8\u8ba4\u914d\u7f6e<\/em><\/center>
\n\"\"
\n\u5230\u6b64\u5df2\u7ecf\u5b89\u88c5\u5b8c\u6210\u4e86\uff01<\/p>\n
\u603b\u7ed3<\/strong><\/div>\n

\u672c\u7bc7\u6587\u7ae0\u4ecb\u7ecd\u5982\u4f55\u5728CentOS8 Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u5b89\u88c5Xfce\u684c\u9762\u73af\u5883\u548cLightDM(Light Display Manager)\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Centos8\u4e2d\u4f7f\u7528epel-release\u8f6f\u4ef6\u6e90\u5b89\u88c5Xfce4\u684c\u9762\u65f6\uff0c\u53d1\u73b0\u5b89\u88c5\u4e4b\u540e\u7684\u684c\u9762\u662fGnome3\u7684\uff0c […]<\/p>\n","protected":false},"author":309,"featured_media":195925,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-195923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/195923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=195923"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/195923\/revisions"}],"predecessor-version":[{"id":195934,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/195923\/revisions\/195934"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/195925"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=195923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=195923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=195923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}