Latest Ubuntu 26.04 LTS has dropped the support of X11 Server and xRDP and moved to the adoption of Wayland Display Server. Old approach with xRDP doesn’t work anymore. The solution / fix is the new Gnome Remote Desktop.

Generate Remote Desktop Server self-signed certificate:
1 | $ sudo openssl req -newkey rsa:2048 -nodes -keyout /var/lib/gnome-remote-desktop/rdp-tls.key -x509 -days 3650 -out /var/lib/gnome-remote-desktop/rdp-tls.crt -subj "/CN=$(hostname)" |
Register self-signed certificate with the system daemon:
1 | $ sudo grdctl --system rdp set-tls-key /var/lib/gnome-remote-desktop/rdp-tls.key |
Show Remote Desktop Server status:
1 | $ sudo grdctl --system status --show-credentials |
When connect from Windows App (Microsoft Remote Desktop), error thrown in log:
1 | $ sudo journalctl -u gnome-remote-desktop.service -f |
NOTE: According to A.I., GNOME Remote Desktop –system mode uses Server Redirection — after you authenticate at the system level, it redirects the RDP client to your actual user session on a different internal port. Microsoft Remote Desktop on Mac sometimes rejects this redirection for self-signed certificates because the certificate on the redirected session doesn’t match what it expects. And use user-level approach instead.
However, choose a different Remote Desktop Client like Royal TSX https://royalapps.com/ts/mac/features, works fine.
References
- xRDP – Easy install xRDP on Ubuntu 22.04,24.04,25.10,26.04 (Script Version 1.6)- Maintenance Release https://c-nergy.be/blog/?p=20369