Installation and Configuration

  • Update System Packages: sudo apt update && sudo apt upgrade

  • Install xRDP and Dependencies: sudo apt install xrdp xorgxrdp -y

  • Enable xRDP to Start on Boot:

    • sudo systemctl enable xrdp

    • sudo systemctl status xrdp

  • Configure Firewall to Allow RDP Connections: sudo ufw allow 3389/tcp

  • Create .xsession File for Cinnamon Desktop:

    • echo "cinnamon-session" > ~/.xsession

    • chmod +x ~/.xsession

    • Restart xRDP Service: sudo systemctl restart xrdp

Last updated