Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Why does xrdp only work for root?

User_NA0ZDAug 16 2021

Oracle Linux 8.4 kernel-uek-5.4.17-2102.201.3.el8uek.x86_64
Root can login via windows RDP/xrdp successfully. Any other user session closes immediately after opening. I can't find an obvious error in /var/log/xrdp.log, it is exactly the same for a failed user login as it is for a successful root login.
I see this in /var/log/messages for a failed login:
VH00 xrdp[238135]: [INFO ] VNC connection complete, connected ok
VH00 xrdp[238135]: [INFO ] connected ok
VH00 xrdp[238135]: [INFO ] Layout from OldLayout (geom=1280x800 #screens=1) : 1804289383:(1280x800+0+0)
VH00 xrdp-chansrv[238206]: [INFO ] Socket 12: AF_UNIX connection received
VH00 xrdp-sesman[238141]: [WARN ] Window manager (pid 238142, display 10) exited quickly (0 secs). This could indicate a window manager config problem
VH00 xrdp-sesman[238141]: [INFO ] Calling auth_stop_session and auth_end from pid 238141
VH00 xrdp-sesman[238141]: [INFO ] Terminating X server (pid 238143) on display 10
I have googled numerous similar situations, but the solutions are inapplicable as the configuration file names don't even match what is on my system.
Can anyone point me at how to fix the "window manager config problem?"
Thanks!

Comments
Post Details
Added on Aug 16 2021
1 comment
1,573 views