#1.更换国内源
sudo vim /etc/apt/sources.list
#ubtuntu20.04源
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
#2安装xfce4桌面
sudo apt update
sudo apt upgrade
sudo apt install -y xfce4 xrdp
#安装完后会出现一个选择界面,推荐使用lightdm,也可以选择gdm3
#3.连接
sudo vim /etc/xrdp/xrdp.ini
#由于xrdp安装好后默认配置使用的是和Windows远程桌面相同的3389 端口,
#为了防止和Windows系统远程桌面冲突,建议修改成其他的端口
# 修改下面这一行,将默认的3389改成其他端口即可
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余1页未读,立即下载