安装脚本
#!/bin/sh
echo "[i] Updating and upgrading Kali (this will take a while)"
apt-get update
apt-get full-upgrade -y
echo "[i] Installing Xfce4 & xrdp (this will take a while as well)"
apt-get install -y kali-desktop-xfce xorg xrdp
echo "[i] Configuring xrdp to listen to port 3390 (but not starting the service)"
sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
安装后重启xrdp
sudo systemctl start xrdp
sudo systemctl enable xrdp
远程桌面端口是3390,不是3389,如果使用远程桌面时出现闪退现象,要在使用远程桌面连接之前,从界面上logout
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容