ubuntu安装远程桌面比centos要简单化,可以通过Xrdp远程登录
安装Xrdp
- 安装软件
apt-get install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils xrdp
apt-get update
- 编辑配置文件
sudo nano /etc/xrdp/xrdp.ini
在文件末尾添加以下行:
exec startxfce4
- 启动服务关闭防火墙
systemctl restart xrdp
sudo ufw disable
远程连接出现登录后蓝屏卡主不动
cd ~
mkdir Downloads
cd /root
wget http: