This prevents permission errors related to the private key file. sudo adduser xrdp ssl-cert Use code with caution. Step 4: Configure the Remote Session
For XRDP to know which desktop environment to launch, you need to create an .xsession file in your user's home directory. echo "xfce4-session" > ~/.xsession . For GNOME: echo "gnome-session" > ~/.xsession . Restart the service: sudo systemctl restart xrdp . Troubleshooting Common Issues download xrdp for ubuntu 22.04
sudo apt install ubuntu-desktop .
If you are using , you must first install a Graphical User Interface (GUI), as servers do not come with one by default. This prevents permission errors related to the private