LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Why does Windows 10 to RHel 8.3 via xrdp close immediately after logging in? (https://www.linuxquestions.org/questions/linux-software-2/why-does-windows-10-to-rhel-8-3-via-xrdp-close-immediately-after-logging-in-4175686881/)

JuanBucz 12-15-2020 08:16 AM

Why does Windows 10 to RHel 8.3 via xrdp close immediately after logging in?
 
Hi:

First time poster; not sure is the right group.

I have a Hyper-V RHel 8.3 VM. I am trying to use RDP from a Windows 10 machine to connect to that VM (xrdp). I can ping the VM's ipaddress from my Windows 10 box.

I have gone through the steps for installing/initialization xrdp on my RHel VM following the instructions outlined in this post:

https://redlinetech.wordpress.com/20...-on-red-hat-8/

I can "load" the vm via Windows 10 RDP and get to the xrdp login screen. Once I enter my credentials, the connection seems to wait for a couple of seconds, then the connection just shuts down (the RDP window closes).

I saw a youtube video where someone was running into the same situation.

https://www.youtube.com/watch?v=syevSr-ElNE

They were able to resolve it by commenting the channel_code line out of the xrdp.ini file. I looked at my xrdp.ini file and no such line exists.

I was able to connect to a RHel 7.9 instance through xrdp (Ubuntu 20.04 as well). Is there a known issue/work around? Am I missing a step or setting somewhere?

Thanks

allend 12-16-2020 06:33 AM

Welcome to LQ!

A couple of things to check:
1) In xrdp.ini there is a setting for SSL protocols. For connection from Windows 10, I suggest
Code:

ssl_protocols=TLSv1.2, TLSv1.3
2) Do you have a file /etc/X11/Xwrapper.config containing a line?
Code:

allowed_users = anybody


All times are GMT -5. The time now is 06:46 PM.