follow Kali's docs
echo "[+] Installing Xfce, this will take a while"
apt-get update
apt-get dist-ugrade -y --force-yes
apt-get install --yes --force-yes kali-desktop-xfce xorg xrdp
echo "[+] Configuring XRDP to listen to port 3390 (but not starting the service)..."
sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
wget https://gitlab.com/kalilinux/build-scripts/kali-wsl-chroot/-/raw/master/xfce4.sh
kali@kali:~$
kali@kali:~$ chmod +x xfce4.sh
kali@kali:~$
kali@kali:~$ sudo ./xfce4.sh
sudo systemctl enable xrdp --now
however, I still could not connect as luke
then
the default /etc/X11/Xrapper.config entry is allowed_users=console
change this to allowed_users=anybody and anyone can login using xrdp.
No comments:
Post a Comment