Skip to content

Instantly share code, notes, and snippets.

@seamaner
Created September 26, 2023 06:16
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 seamaner/a852124c61c421a2d6721d9323d7b53c to your computer and use it in GitHub Desktop.
Save seamaner/a852124c61c421a2d6721d9323d7b53c to your computer and use it in GitHub Desktop.
install rdp on ubuntu server 22.04
apt install xubuntu-desktop
sudo apt install lightdm
sudo service lighudm start
sudo apt install xrdp -y
sudo apt install xfce4 xfce4-goodies -y
echo "xfce4-session" | tee .xsession
systemctl status xrdp
sudo systemctl disable --now firewalld
sudo sed -i 's/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.config
sudo systemctl restart lightdm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment