Forum Stats

  • 3,759,879 Users
  • 2,251,610 Discussions
  • 7,870,856 Comments

Discussions

Why does xrdp only work for root?

User_NA0ZD
User_NA0ZD Member Posts: 1 Green Ribbon

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!

Answers

  • Todd Vierling-Oracle
    Todd Vierling-Oracle Member Posts: 28 Employee

    I don't have any immediate solutions; if you have a support contract, please feel free to open a SR for deeper analysis (and possible debugging).

    What I can suggest in the meantime is to create a brand new user fresh, with absolutely no home directory files (not even dotfiles), and see if that user can login. Thought here is, maybe existing users have dotfile configuration overriding how X11 normally starts up in some way that is making xrdp unhappy.