https://blog.csdn.net/qq_38631503/article/details/80093174
sudo apt install lubuntu-core lxde fcitx fcitx-googlepinyin //安装中文语言包
sudo apt install fonts-wqy-zenhei //安装字体
sudo dpkg-reconfigure locales //选择中文 zh_CN_UT8
//国内源安装清华大学源
修改文件 sudo vi /etc/apt/sources.list
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
//安装之后
sudo apt-get update
sudo apt-get upgrade
//其他版本可以 https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
//安装 xorg
sudo apt-get install xorg
//安装xfce4
sudo apt-get install xfce4
//安装xrdp
sudo apt-get install xrdp
//配置xrdp
sudo sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
//上面是配置端口,向xsession中写入xfce4-session
sudo echo xfce4-session >~/.xsession
//重启xrdp服务
sudo service xrdp restart
//之后可以通过远程连接登录
来源:oschina
链接:https://my.oschina.net/u/4381386/blog/3523246