LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2020, 08:16 AM   #1
JuanBucz
LQ Newbie
 
Registered: Dec 2020
Posts: 1

Rep: Reputation: Disabled
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
 
Old 12-16-2020, 06:33 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-current
Posts: 6,592

Rep: Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866Reputation: 2866
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XRDP failes authentication via xRDP divernick Linux - Software 3 02-06-2019 05:19 AM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
[SOLVED] How can I display a user's last login info, immediately after they login via gui? rgsurfs Linux - Newbie 3 05-17-2013 08:54 AM
non privileged user sessions close immediately after login. lcstew Linux - Security 2 04-16-2009 04:42 PM
Logging into a debian primary domain controller via windows xp pro via windows VPN dr5419 Linux - Newbie 15 12-11-2008 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions