RDP - Error Connecting to sesman

Hello,

I’m trying to log in to my Raspberry Pi 5 using RDP from Windows. This has worked before, and I followed the steps outlined here: https://support.remote.it/hc/en-us/articles/30878890490253-Windows-Remote-Desktop-RDP.

However, after turning my Raspberry Pi off and on again, I can no longer connect via RDP. SSH connection still works. What could be the cause of this, and does anyone have a solution?

Below is the information about my Raspberry Pi and the error message:

Distribution version:
PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
NAME=“Debian GNU/Linux”
VERSION_ID=“12”
VERSION=“12 (bookworm)”
VERSION_CODENAME=bookworm
ID=debian

Kernel version:
Linux raspberrypi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux

Model: Raspberry Pi 5 Model B Rev 1.0

Hopefully someone can help me with this… :slight_smile:

Already fixed it by myself:

  1. Check for Port Conflicts: sudo netstat -tuln | grep 3389
  2. Go to xrdp.ini: sudo nano /etc/xrdp/xrdp.ini
  3. Change the xrdp Port: from 3389 to 3390
  4. Save xrdp.ini (CTRL + O, Enter) and Exit (CTRL + X)
  5. Restart xrdp service: sudo systemctl restart xrdp
2 Likes

Good Job, thanks for letting us know the procedure.