Kali上面依次安装

apt install tightvncserver
apt install xrdp

开启防火墙

ufw allow 3389/tcp

开启服务

service xrdp start

无法连接可以查看错误日志

/root/.xorgxrdp.10.log
/root/.xsession-errors
/var/log/xorg.log
/var/log/xrdp-sesman.log
/var/log/massessge