Centos8 install xfce graphical interface

  1. Modify the release version number (make sure it is $releasever, not the specific version number, because the version number will change constantly and must be replaced by the variable $releasever)

chmod 644 /etc/yum.repos.d/CentOS-Base.repo

sed -i "s/8.0.1905/$releasever/g" /etc/yum.repos.d/CentOS-Base.repo

Two, installation language, fonts, graphical interface

yum install glibc-common -y

yum install wqy-*-fonts -y

yum groupinstall "Xfce" -y

Three, install input method and browser

yum install ibus ibus-gtk2 ibus-gtk3 ibus-libpinyin im-chooser gtk2-immodule-xim gtk3-immodule-xim firefox -y

Fourth, configure RDP remote support

yum install tigervnc-server xrdp -y

Five, modify the character set to support Chinese, call xfce when configuring remote

echo 'LANG=zh_CN.utf8' > /etc/locale.conf

source /etc/locale.conf

echo '#!/bin/bash' > ~/.Xclients

echo 'XFCE="$(which xfce4-session 2>/dev/null)"' >> ~/.Xclients

echo 'exec "$XFCE"' >> ~/.Xclients

  1. Enable the above configuration and restart verification

chmod +x /root/.Xclients && chkconfig xrdp on && service xrdp restart

systemctl set-default graphical.target

reboot

Seven, use remote software to go to Linux with remote graphical interface like remote Windows

I have integrated the above steps into a shell script, and directly sh xfce.sh can also achieve the goal.

xfce.sh.zip

Recommended Posts

Centos8 install xfce graphical interface
CentOS5/CentOS6/CentOS7 install KDE, Xfce graphical interface
Ubuntu12/Ubuntu14/Ubuntu16/Ubuntu18 (general) install Xfce graphical interface
1.5 Install Centos7
Install MATE or XFCE on CentOS 7
Centos6 install Python2.7.13
Centos7.3 install nginx
CentOS7.2 install Mysql5.7.13
CentOS install Redmine
Centos7 install Python 3.6.
CentOS7 install MySQL
Centos7 install protobuf
CentOS 7 install Docker
CentOS 7.4 install Zabbix 3.4
CentOS7 install Docker
Centos6.5 install Tomcat
CentOS install Python 3.6
Vmware install CentOS6
centos7 install docker-ce 18.01.0
CentOS 7.2 install MariaDB
CentOS 7 install Hadoop 3.0.0
Centos7 install Python2.7
Centos 7.6 install seleniu
CentOS 7.3 install Zabbix3
Centos7 install LAMP+PHPmyadmin
CentOS install mysql
CentOS install openjdk 1.8
CENTOS6.5 install CDH5.12.1 (1)
CentOS install PHP
CentOS6 install mist.io
Centos7 install Docker
CentOS7 install mysql
centOs install rabbitMQ
CentOS 7 install MySQL 5.6
Centos7 install Nginx
CentOS6.5 install CDH5.13
Centos7 install docker18
Centos install Python3
centos7 install docker
CentOS install jdk
centos7 install nginx-rtmp
CentOS8 install MySQL8.0
Centos6.3 install KVM
CentOS install PostgreSQL 9.1
CentOS7 install mysql8
CentOS 7 install Java 1.8
CentOS8 install fastdfs6.06
CentOS 7 install Gitlab
Centos 7 install PostgreSQL
CentOS7 install MySQL8
CentOS 7 install Java 1.8
CentOS 6 install Docker
centos 6.5 install zabbix 4.4
Centos8 install Docker
CentOS6.8 install python2.7
CentOS install nodejs 8
CentOS6.5 install GNS3
centos 7.5 install mysql5.7.17
Centos7 install MySQL8.0-manual
CentOS7 install Kubernetes 1.16.3
VirtualBox install centos7