SHARE
TWEET

RDP

BigOranges Apr 22nd, 2019 8,608 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1.  sudo apt-get update
  2.  
  3. 2.  sudo apt install xrdp
  4.  
  5. 3.  sudo apt-get install xserver-xorg-core
  6.  
  7. 4.  sudo apt-get install xorgxrdp
  8.  
  9. 5.  nano /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf
  10.  
  11. 6.  Copy the polkit
  12.  
  13. polkit.addRule(function(action, subject) {
  14. if ((action.id == “org.freedesktop.color-manager.create-device” || action.id == “org.freedesktop.color-manager.create-profile” || action.id == “org.freedesktop.color-manager.delete-device” || action.id == “org.freedesktop.color-manager.delete-profile” || action.id == “org.freedesktop.color-manager.modify-device” || action.id == “org.freedesktop.color-manager.modify-profile”) && subject.isInGroup(“{group}”))
  15. {
  16. return polkit.Result.YES;
  17. }
  18. });
  19.  
  20. 7.  sudo ufw allow 3389/tcp
  21.  
  22. 8.  sudo /etc/init.d/xrdp restart
  23.  
  24. 9.  sudo systemctl status xrdp
  25.  
  26. 10. sudo systemctl enable xrdp
  27.  
  28. 11. Get IP address
  29.  
  30. 12. Log out of ubuntu
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top