XRDP window is closing after authorization with Debian 11. Fixed

I read a lot about how to connect to Linux desktop from Windows RDP. Each description is simple- install XRDP and that’s it. Ok, not only XRDP, but XORG also.

So after that I expected to have an opportunity to use Remote desktop. But something went wrong. Instead after successful login my windows has been closed immediately. I thought that it’s because this user has already been authorized and tried to use another account, but the problem has not been fixed.

Only after several hours of researches I found a solution. You should add your xrdp user to ssl-cert group and reboot.

So, the full script is this one:

MarkiMarta.com. Notes of web-specialist
Since 2009