Ubuntu12/Ubuntu14/Ubuntu16/Ubuntu18 (general) install Xfce graphical interface
step 1
sudo su root
apt-get update
apt-get install python-software-properties xfce4 xfce4-goodies -y
Step 2
apt-get install net-tools tightvncserver xrdp firefox xfonts-wqy sysv-rc-conf -y
Step 3
Set to support Chinese display
Execute localectl set-locale LANG=zh_CN.UTF-8 to support Chinese display
Or execute the following command
echo 'export LC_ALL=zh_CN.utf8' >> ~/.bashrc
source ~/.bashrc
Step 4
① sysv-rc-conf xrdp on
② vim /etc/xrdp/xrdp.ini
Remove "#" and modify #port 3389 to port 33899 (or another port between 1025 and 65535)
If there is no ssl_protocols=xxx, then add a line ssl_protocols=TLSv1, TLSv1.1, TLSv1.2 under crypt_level=high
If there is ssl_protocols=xxx, make sure that the right side of the equal sign is TLSv1, TLSv1.1, TLSv1.2
This is very important
③ service xrdp start
Run netstat -tunlp to check that the remote port is in the listening state, and you can use mstsc in windows to remote, which is exactly the same as the remote mode of windows server
Install Chinese fonts on Ubuntu system (not necessary)
Refer to https://help.accusoft.com/PrizmDoc/v12.2/HTML/Installing_Asian_Fonts_on_Ubuntu_and_Debian.html
apt-get install language-pack-zh*
apt-get install chinese*
apt-get install fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core