Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "[+] Installing XFCE4, this will take a while"
- sudo apt update
- sudo apt dist-upgrade -y --force-yes
- sudo apt --yes --force-yes install kali-desktop-xfce xorg xrdp
- echo "[+] Configuring XRDP to listen on port 3390 (but not starting the service)..."
- echo "[+] To start the service run: sudo /etc/init.d/xrdp start"
- sudo sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
- sudo echo "alias startx=\"sudo /etc/init.d/xrdp start\"" > ~/.bash_aliases
- sudo echo "alias stopx=\"sudo /etc/init.d/xrdp stop\"" > ~/.bash_aliases
- source ~/.bash_aliases
Add Comment
Please, Sign In to add comment