Skip to content

Instantly share code, notes, and snippets.

@toanalien
Last active May 8, 2020 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toanalien/6aaa77aa3d96dffd92b63b24da1e9af5 to your computer and use it in GitHub Desktop.
Save toanalien/6aaa77aa3d96dffd92b63b24da1e9af5 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-get update
sudo apt-get install xrdp -y
sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon -y
sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh
sudo ufw allow 3389/tcp
sudo /etc/init.d/xrdp restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment