Search This Blog

Sunday, August 9, 2020

install remote desktop on Kali linux 5.7.0-kali-amd64

 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.

try again , still no luck

I shutdown the Kali box in despair

a few hours later, I gave it another GO

surprise

It started working ----- yayayayayayyayaay


















No comments:

Post a Comment