Skip to content

Instantly share code, notes, and snippets.

@abd1rahmane
Created October 26, 2021 19:27
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 abd1rahmane/dd42e39ee2dcd46af510635b8a4a5290 to your computer and use it in GitHub Desktop.
Save abd1rahmane/dd42e39ee2dcd46af510635b8a4a5290 to your computer and use it in GitHub Desktop.
Xfce4 and XRDP on Ubuntu Server.
echo "[+] Installing ..."
sudo apt update -y
sudo apt upgrade -y
sudo apt install xrdp
sudo systemctl start xrdp
sudo systemctl enable xrdp
sudo adduser xrdp ssl-cert
echo "[!] Select lightdm."
sudo apt install xubuntu-desktop
echo xfce4-session >~/.xsession
sudo systemctl restart xrdp
echo "[+] Done."
@abd1rahmane
Copy link
Author

Get a VPS from here :
https://www.vultr.com/?ref=8115452

@abd1rahmane
Copy link
Author

If XFCE4 is slow try this :
xfconf-query --channel=xfwm4 --property=/general/use_compositing --type=bool --set=false --create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment