xrdp 无法连接到远程计算机

一、问题

xrdp 无法连接到远程计算机

 

二、解决方案

解决方案一

1.配置xfce4

sudo vi /etc/xrdp/sesman.ini

在[Xvnc]下追加两行参数

param8=-SecurityTypes

param9=None

2.重启xrdp
sudo service xrdp restart

 

解决方案二

1.查看xrdp状态,发现进程挂掉

systemctl status xrdp

xrdp 无法连接到远程计算机

2. 查看主分区,发现主分区权限为只读,正常是读写权限

mount

xrdp 无法连接到远程计算机

3.手动挂载主分区

mount -o remount,rw /

mount -l

4.重启xrdp并查看xrdp状态

systemctl start xrdp

systemctl status xrdp

xrdp 无法连接到远程计算机

 

解决方案三

1.检查SSH是否安装

ssh localhost

xrdp 无法连接到远程计算机

2.通过APT进行安装

sudo apt install openssh-server

3.重启xrdp
sudo service xrdp restart

 

三、参考链接

https://blog.csdn.net/a1534219218/article/details/96479246(方案二的图出自于此)

https://blog.csdn.net/Emily_Nolan/article/details/105208033(方案三的图出自于此)