Follow these steps to set up XRDP on a Debian 12 container in Proxmox:
-
Install XFCE4 and XRDP:
sudo apt install xfce4 sudo apt install xrdp dpkg -L xrdp
Install the XFCE4 desktop environment and XRDP.
-
Add XRDP User as ssl-cert:
sudo adduser xrdp ssl-cert
Add the user 'xrdp' to the 'ssl-cert' group.
-
Restart XRDP:
sudo systemctl restart xrdp
Restart the XRDP service.
-
Check XRDP Session Manager:
ls -l /etc/alternatives/x-session-manager
Check the XRDP session manager.
-
Configure XRDP Session Manager:
sudo update-alternatives --config x-session-manager
Select option 3 and restart XRDP:
sudo systemctl restart xrdp
-
Done! XRDP is set up on your Debian 12 container in Proxmox. You can now use an RDP client to connect to your Debian container with XRDP. Ensure that your firewall allows connections to the XRDP port (default is 3389) if you are connecting from a remote machine. Adjust firewall settings accordingly.