Guest User

Untitled

a guest
May 28th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #!/bin/bash
  2. echo "[+] Installing XFCE4, this will take a while"
  3. sudo apt update
  4. sudo apt dist-upgrade -y --force-yes
  5. sudo apt --yes --force-yes install kali-desktop-xfce xorg xrdp
  6. echo "[+] Configuring XRDP to listen on port 3390 (but not starting the service)..."
  7. echo "[+] To start the service run: sudo /etc/init.d/xrdp start"
  8. sudo sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
  9. sudo echo "alias startx=\"sudo /etc/init.d/xrdp start\"" > ~/.bash_aliases
  10. sudo echo "alias stopx=\"sudo /etc/init.d/xrdp stop\"" > ~/.bash_aliases
  11. source ~/.bash_aliases
Add Comment
Please, Sign In to add comment