Ubuntu18.04 安装中文语言、修改国内源、安装xrdp

不想你离开。 提交于 2021-01-09 08:57:37
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

//之后可以通过远程连接登录

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!