Rocky Linux 9.8 update xrdp broken

When I try to upgrade from Rocky Linux 9.7 with xrdp server and xrdp-selinux installed (both at version 0.10.6-1.el9) from epel, I run into an error message:

Error:
Problem 1: cannot install the best update candidate for package xrdp-selinux-1:0.10.6-1.el9.x86_64

  • nothing provides selinux-policy >= 38.1.75-2.el9_8 needed by xrdp-selinux-1:0.10.6-2.el9.x86_64 from epel

Problem 2: package xrdp-selinux-1:0.10.6-1.el9.x86_64 from @System requires xrdp = 1:0.10.6-1.el9, but none of the providers can be installed

  • cannot install both xrdp-1:0.10.6-2.el9.x86_64 from epel and xrdp-1:0.10.6-1.el9.x86_64 from @System
  • problem with installed package xrdp-selinux-1:0.10.6-1.el9.x86_64
  • cannot install the best update candidate for package xrdp-1:0.10.6-1.el9.x86_64
  • nothing provides selinux-policy >= 38.1.75-2.el9_8 needed by xrdp-selinux-1:0.10.6-2.el9.x86_64 from epel
    (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Upgrading Rocky with “dnf update --nobest” works, but remains xrdp on the old version. But the error is still there. It seems, that Rocky 9.8 upgraded selinux-policy to 38.1.75-2.el9 but xrdp wants 38.1.75-2.el9_8 which in not in the Rocky Repositories.

What can I do to solve that problem?

About the only thing would be to open a bug report with Rocky to fix their package names. In RH9 the package is 38.1.75-2.el9_8 so it should be the same in Rocky as well which as we can see it’s not.

No idea why the naming convention isn’t the same for Rocky packages, but it’s not the first time it’s occurred.

I created Red Hat bugizlla 2484288. to maybe fix it at the package level.

Thank you very much. I tried it out and it is working now.

I have a fistful of RL 9 boxes that were reachable via RDP using Remmina, but after some updates, it no longer works. Is there a way to fix it? Hand holding style do this then do that steps to make it work again would really be appreciated.

Zero response here so I looked at the xrdp.log as the error instructed. Can anyone spot the problem here?

ailed
[2026-07-27T20:56:31.425-0500] [ERROR] Error connecting to X server [No such file or directory]
[2026-07-27T20:56:31.174-0500] [ERROR] xrdp_wm_log_msg: Error connecting to user session
[2026-07-27T21:08:23.289-0500] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-07-27T21:08:25.475-0500] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[2026-07-27T21:08:25.502-0500] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[2026-07-27T21:08:25.525-0500] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[2026-07-27T21:08:25.547-0500] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[2026-07-27T21:09:05.740-0500] [ERROR] Error connecting to X server [No such file or directory]
[2026-07-27T21:09:06.634-0500] [ERROR] xrdp_wm_log_msg: Error connecting to user session
[2026-07-27T21:09:13.987-0500] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[2026-07-27T21:09:14.748-0500] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[2026-07-27T21:09:14.297-0500] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[2026-07-27T21:09:14.519-0500] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[2026-07-31T19:38:53.916-0500] [ERROR] Error connecting to X server [No such file or directory]
[2026-07-31T19:38:53.942-0500] [ERROR] xrdp_wm_log_msg: Error connecting to user session
[2026-07-31T19:38:56.534-0500] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed

My Rocky 9.8 systems became unreachable via RDP using Remmina after running updates a couple of weeks ago.

No specific solutions jump out to me from your log output, but based on my past experience with xrdp, there are a couple of things that I always do around updates:

  1. Exclude '*xrdp*' from yum/dnf update commands when there are any active xrdp sessions running.
  2. Restart the service (systemctl restart xrdp) after any xrdp packages are updated.

If you haven’t already done so since updating, one of the first things I’d recommend is to restart xrdp because this doesn’t happen automatically as part of the package update (or at least didn’t in the past). If you can safely reboot, that’s even better — it will naturally clear any “orphaned” sessions that might prevent a user from connecting.

I have ssh’ed into the box and updated via DNF (usually use the Gnone Software Update) and rebooted. No dice. What seems to have happened is an update a couple of weeks ago caused this. The log indicates a missing file. I just tried DNF and it found nothing so I rebooted. Still no dice.

Here is a pic of the error. Unsure why it’s sideways.

There are at least two additional log files you might want to look at for more info: xrdp-sesman.log (in /var/log) and .xorgxrdp.10.log (in the home directory of the user trying to log in). Of these two, the second is more likely to tell you something useful.

Note that the file name of this second log might vary. As long as you’re using xorgxrdp as the session backend, the log should be named like .xorgxrdp.{display_number}.log.

I’ll take a look. But the question remains, why did doing a routine update via Gnome Software Update break this? And has it happened to anyone else? And is there any hope that a future update will fix it?

Nobody can answer the questions without seeing ALL logs related to xrdp. Until then nobody can say what broke it, and if an update will fix it.

That said, Gnome is known to be problematic with xrdp anyway. I’ve mostly ran it with LXDE, XFCE, or other light desktop environments.

I’m starting to grasp as straws to get my remote access back. I enabled screen sharing in the Gnome preferences and tried to connect with Remmina via VNC. It goves a similar error “error connecting to Xorg - check log Error connecting to user session” so something in addition to RDP seems goobered.

And what do the logs say then? Please copy and paste the logs here. If we cannot see the logs we cannot help.

Please don’t provide screenshots either, the one you provided was so small and sideways you cannot even read it.

Here is an RDP log

2026-07-26T08:25:16.725-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T08:25:16.128-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T08:25:16.174-0500\] \[INFO \] starting xrdp-sesexec with pid 38804
\[2026-07-26T08:25:16.318-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T08:25:16.350-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T08:25:16.373-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T08:25:16.406-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T08:25:16.755-0500\] \[INFO \] Starting X server on display 10: /usr/libexec/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
\[2026-07-26T08:25:17.980-0500\] \[INFO \] X server :10 is working
\[2026-07-26T08:25:18.679-0500\] \[INFO \] Starting window manager for display :10
\[2026-07-26T08:25:18.713-0500\] \[ERROR\] Can't set process group ID of 38834 to 38826 \[Operation not permitted\]
\[2026-07-26T08:25:18.713-0500\] \[INFO \] Starting the xrdp channel server for display :10
\[2026-07-26T08:25:18.735-0500\] \[INFO \] Using the default window manager on display 10: /usr/libexec/xrdp/startwm-bash.sh
\[2026-07-26T08:25:18.757-0500\] \[INFO \] Session in progress on display :10. Waiting until the window manager (pid 38834) exits to end the session
\[2026-07-26T08:25:18.757-0500\] \[ERROR\] Can't set process group ID of 38835 to 38826 \[Operation not permitted\]
\[2026-07-26T08:26:28.497-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T08:26:28.554-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T08:26:28.579-0500\] \[INFO \] starting xrdp-sesexec with pid 39431
\[2026-07-26T08:26:28.618-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T08:26:28.643-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T08:26:28.665-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T08:26:28.688-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T08:26:28.710-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 38804, ip ::ffff:192.168.1.53
\[2026-07-26T08:26:28.710-0500\] \[ERROR\] Can't set process group ID of 39435 to 38826 \[Operation not permitted\]
\[2026-07-26T08:26:28.743-0500\] \[INFO \] xrdp-sesexec pid 39431 is now logging out
\[2026-07-26T08:26:28.763-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-26T08:27:14.131-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T08:27:14.187-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T08:27:14.212-0500\] \[INFO \] starting xrdp-sesexec with pid 39540
\[2026-07-26T08:27:14.249-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T08:27:14.276-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T08:27:14.298-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T08:27:14.331-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T08:27:14.354-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 38804, ip ::ffff:192.168.1.53
\[2026-07-26T08:27:14.354-0500\] \[ERROR\] Can't set process group ID of 39544 to 38826 \[Operation not permitted\]
\[2026-07-26T08:27:14.387-0500\] \[INFO \] xrdp-sesexec pid 39540 is now logging out
\[2026-07-26T08:27:14.410-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-26T08:30:06.410-0500\] \[INFO \] starting xrdp-sesman with pid 1310
\[2026-07-26T08:30:07.116-0500\] \[INFO \] Sesman now listening on /run/xrdp/sesman.socket
\[2026-07-26T08:31:33.353-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T08:31:33.409-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T08:31:33.446-0500\] \[INFO \] starting xrdp-sesexec with pid 3161
\[2026-07-26T08:31:33.590-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T08:31:33.620-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T08:31:33.642-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T08:31:33.676-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T08:31:34.168-0500\] \[INFO \] Starting X server on display 10: /usr/libexec/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
\[2026-07-26T08:31:35.582-0500\] \[INFO \] X server :10 is working
\[2026-07-26T08:31:35.621-0500\] \[INFO \] Starting window manager for display :10
\[2026-07-26T08:31:35.656-0500\] \[ERROR\] Can't set process group ID of 3198 to 3182 \[Operation not permitted\]
\[2026-07-26T08:31:35.656-0500\] \[INFO \] Starting the xrdp channel server for display :10
\[2026-07-26T08:31:35.689-0500\] \[INFO \] Using the default window manager on display 10: /usr/libexec/xrdp/startwm-bash.sh
\[2026-07-26T08:31:35.711-0500\] \[INFO \] Session in progress on display :10. Waiting until the window manager (pid 3198) exits to end the session
\[2026-07-26T08:31:35.711-0500\] \[ERROR\] Can't set process group ID of 3199 to 3182 \[Operation not permitted\]
\[2026-07-26T08:36:47.712-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T08:36:47.768-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T08:36:47.793-0500\] \[INFO \] starting xrdp-sesexec with pid 3802
\[2026-07-26T08:36:47.831-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T08:36:47.846-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T08:36:47.868-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T08:36:47.901-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T08:36:47.924-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3161, ip ::ffff:192.168.1.53
\[2026-07-26T08:36:47.924-0500\] \[ERROR\] Can't set process group ID of 3806 to 3182 \[Operation not permitted\]
\[2026-07-26T08:36:47.957-0500\] \[INFO \] xrdp-sesexec pid 3802 is now logging out
\[2026-07-26T08:36:48.524-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-26T08:39:27.362-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T08:39:27.417-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T08:39:27.442-0500\] \[INFO \] starting xrdp-sesexec with pid 3807
\[2026-07-26T08:39:27.480-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T08:39:27.495-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T08:39:27.518-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T08:39:27.551-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T08:39:27.607-0500\] \[INFO \] Starting X server on display 11: Xvnc :11 -auth .Xauthority -geometry 1540x1040 -depth 32 -rfbauth /root/.vnc/sesman_passwd-root@plex:11 -bs -nolisten tcp -localhost -dpi 96
\[2026-07-26T08:39:28.607-0500\] \[INFO \] X server :11 is working
\[2026-07-26T08:39:28.632-0500\] \[INFO \] Starting window manager for display :11
\[2026-07-26T08:39:28.654-0500\] \[INFO \] Starting the xrdp channel server for display :11
\[2026-07-26T08:39:28.654-0500\] \[INFO \] Using the default window manager on display 11: /usr/libexec/xrdp/startwm-bash.sh
\[2026-07-26T08:39:28.676-0500\] \[INFO \] Session in progress on display :11. Waiting until the window manager (pid 3817) exits to end the session
\[2026-07-26T12:16:33.738-0500\] \[INFO \] starting xrdp-sesman with pid 1316
\[2026-07-26T12:16:34.250-0500\] \[INFO \] Sesman now listening on /run/xrdp/sesman.socket
\[2026-07-26T12:21:08.152-0500\] \[INFO \] sesman_main_loop: sesman asked to terminate
\[2026-07-26T12:27:08.602-0500\] \[INFO \] starting xrdp-sesman with pid 1329
\[2026-07-26T12:27:09.404-0500\] \[INFO \] Sesman now listening on /run/xrdp/sesman.socket
\[2026-07-26T12:28:35.907-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T12:28:35.940-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T12:28:35.978-0500\] \[INFO \] starting xrdp-sesexec with pid 3210
\[2026-07-26T12:28:36.111-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T12:28:36.129-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T12:28:36.151-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T12:28:36.184-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T12:28:36.606-0500\] \[INFO \] Starting X server on display 10: /usr/libexec/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
\[2026-07-26T12:28:38.843-0500\] \[INFO \] X server :10 is working
\[2026-07-26T12:28:38.864-0500\] \[INFO \] Starting window manager for display :10
\[2026-07-26T12:28:38.887-0500\] \[INFO \] Starting the xrdp channel server for display :10
\[2026-07-26T12:28:38.887-0500\] \[ERROR\] Can't set process group ID of 3249 to 3233 \[Operation not permitted\]
\[2026-07-26T12:28:38.909-0500\] \[INFO \] Session in progress on display :10. Waiting until the window manager (pid 3249) exits to end the session
\[2026-07-26T12:28:38.909-0500\] \[ERROR\] Can't set process group ID of 3250 to 3233 \[Operation not permitted\]
\[2026-07-26T12:28:38.931-0500\] \[INFO \] Using the default window manager on display 10: /usr/libexec/xrdp/startwm-bash.sh
\[2026-07-26T12:29:30.447-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T12:29:30.502-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T12:29:30.528-0500\] \[INFO \] starting xrdp-sesexec with pid 3841
\[2026-07-26T12:29:30.567-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T12:29:30.647-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T12:29:30.669-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T12:29:30.703-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T12:29:30.725-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3210, ip ::ffff:192.168.1.53
\[2026-07-26T12:29:30.725-0500\] \[ERROR\] Can't set process group ID of 3845 to 3233 \[Operation not permitted\]
\[2026-07-26T12:29:30.758-0500\] \[INFO \] xrdp-sesexec pid 3841 is now logging out
\[2026-07-26T12:29:30.810-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-26T12:30:52.242-0500\] \[ERROR\] sesman_check_wait_objs: trans_check_wait_objs failed, removing trans
\[2026-07-26T12:30:53.118-0500\] \[INFO \] sesman_main_loop: sesman asked to terminate
\[2026-07-26T12:37:57.796-0500\] \[INFO \] starting xrdp-sesman with pid 1380
\[2026-07-26T12:37:58.322-0500\] \[INFO \] Sesman now listening on /run/xrdp/sesman.socket
\[2026-07-26T12:39:35.571-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T12:39:35.615-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T12:39:35.643-0500\] \[INFO \] starting xrdp-sesexec with pid 3006
\[2026-07-26T12:39:35.786-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T12:39:35.804-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T12:39:35.826-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T12:39:35.860-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T12:39:36.276-0500\] \[INFO \] Starting X server on display 10: /usr/libexec/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
\[2026-07-26T12:39:38.463-0500\] \[INFO \] X server :10 is working
\[2026-07-26T12:39:38.483-0500\] \[INFO \] Starting window manager for display :10
\[2026-07-26T12:39:38.506-0500\] \[ERROR\] Can't set process group ID of 3045 to 3027 \[Operation not permitted\]
\[2026-07-26T12:39:38.506-0500\] \[INFO \] Starting the xrdp channel server for display :10
\[2026-07-26T12:39:38.529-0500\] \[INFO \] Using the default window manager on display 10: /usr/libexec/xrdp/startwm-bash.sh
\[2026-07-26T12:39:38.551-0500\] \[INFO \] Session in progress on display :10. Waiting until the window manager (pid 3045) exits to end the session
\[2026-07-26T12:39:38.551-0500\] \[ERROR\] Can't set process group ID of 3046 to 3027 \[Operation not permitted\]
\[2026-07-26T12:48:46.336-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T12:48:46.370-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T12:48:46.384-0500\] \[INFO \] starting xrdp-sesexec with pid 3805
\[2026-07-26T12:48:46.422-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T12:48:46.436-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T12:48:46.447-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T12:48:46.470-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T12:48:46.481-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3006, ip ::ffff:192.168.1.53
\[2026-07-26T12:48:46.481-0500\] \[ERROR\] Can't set process group ID of 3809 to 3027 \[Operation not permitted\]
\[2026-07-26T12:48:46.503-0500\] \[INFO \] xrdp-sesexec pid 3805 is now logging out
\[2026-07-26T12:48:46.538-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-26T12:49:35.794-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T12:49:35.816-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T12:49:35.830-0500\] \[INFO \] starting xrdp-sesexec with pid 3810
\[2026-07-26T12:49:35.868-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T12:49:35.917-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T12:49:35.939-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T12:49:35.961-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T12:49:36.198-0500\] \[INFO \] Starting X server on display 11: Xvnc :11 -auth .Xauthority -geometry 644x480 -depth 32 -rfbauth /root/.vnc/sesman_passwd-root@plex:11 -bs -nolisten tcp -localhost -dpi 96
\[2026-07-26T12:49:37.209-0500\] \[INFO \] X server :11 is working
\[2026-07-26T12:49:37.401-0500\] \[INFO \] Starting window manager for display :11
\[2026-07-26T12:49:37.630-0500\] \[INFO \] Starting the xrdp channel server for display :11
\[2026-07-26T12:49:37.631-0500\] \[INFO \] Using the default window manager on display 11: /usr/libexec/xrdp/startwm-bash.sh
\[2026-07-26T12:49:37.851-0500\] \[INFO \] Session in progress on display :11. Waiting until the window manager (pid 3820) exits to end the session
\[2026-07-26T13:01:44.947-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T13:01:44.991-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T13:01:45.171-0500\] \[INFO \] starting xrdp-sesexec with pid 3961
\[2026-07-26T13:01:45.556-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T13:01:45.696-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T13:01:45.920-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T13:01:45.125-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T13:01:45.147-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3006, ip ::ffff:192.168.1.53
\[2026-07-26T13:01:45.148-0500\] \[ERROR\] Can't set process group ID of 3965 to 3027 \[Operation not permitted\]
\[2026-07-26T13:01:45.181-0500\] \[INFO \] xrdp-sesexec pid 3961 is now logging out
\[2026-07-26T13:01:45.207-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-26T15:39:32.654-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T15:39:32.709-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T15:39:32.734-0500\] \[INFO \] starting xrdp-sesexec with pid 4061
\[2026-07-26T15:39:32.773-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T15:39:32.798-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T15:39:32.820-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T15:39:32.865-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T15:39:32.887-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3006, ip ::ffff:192.168.1.53
\[2026-07-26T15:39:32.888-0500\] \[ERROR\] Can't set process group ID of 4065 to 3027 \[Operation not permitted\]
\[2026-07-26T15:39:32.921-0500\] \[INFO \] xrdp-sesexec pid 4061 is now logging out
\[2026-07-26T15:39:32.948-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-26T18:26:01.343-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-26T18:26:01.387-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-26T18:26:01.412-0500\] \[INFO \] starting xrdp-sesexec with pid 4147
\[2026-07-26T18:26:01.450-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-26T18:26:01.476-0500\] \[INFO \] Access permitted for user: root
\[2026-07-26T18:26:01.498-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-26T18:26:01.532-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-26T18:26:01.554-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3006, ip ::ffff:192.168.1.53
\[2026-07-26T18:26:01.554-0500\] \[ERROR\] Can't set process group ID of 4151 to 3027 \[Operation not permitted\]
\[2026-07-26T18:26:01.587-0500\] \[INFO \] xrdp-sesexec pid 4147 is now logging out
\[2026-07-26T18:26:01.611-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-27T20:21:34.526-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-27T20:21:34.593-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-27T20:21:34.618-0500\] \[INFO \] starting xrdp-sesexec with pid 5321
\[2026-07-27T20:21:34.657-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-27T20:21:34.682-0500\] \[INFO \] Access permitted for user: root
\[2026-07-27T20:21:34.704-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-27T20:21:34.738-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-27T20:21:34.760-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3006, ip ::ffff:192.168.1.53
\[2026-07-27T20:21:34.760-0500\] \[ERROR\] Can't set process group ID of 5325 to 3027 \[Operation not permitted\]
\[2026-07-27T20:21:34.793-0500\] \[INFO \] xrdp-sesexec pid 5321 is now logging out
\[2026-07-27T20:21:34.820-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-27T20:33:01.708-0500\] \[INFO \] sesexec_main_loop: sesexec asked to terminate. Terminating active session
\[2026-07-27T20:33:01.713-0500\] \[ERROR\] sesman_check_wait_objs: trans_check_wait_objs failed, removing trans
\[2026-07-27T20:33:01.504-0500\] \[ERROR\] sesman_check_wait_objs: trans_check_wait_objs failed, removing trans
\[2026-07-27T20:33:01.870-0500\] \[INFO \] sesman_main_loop: sesman asked to terminate
\[2026-07-27T20:34:52.393-0500\] \[INFO \] starting xrdp-sesman with pid 1325
\[2026-07-27T20:34:53.535-0500\] \[INFO \] Sesman now listening on /run/xrdp/sesman.socket
\[2026-07-27T20:55:57.178-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-27T20:55:57.245-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-27T20:55:57.300-0500\] \[INFO \] starting xrdp-sesexec with pid 3220
\[2026-07-27T20:55:57.454-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-27T20:55:57.478-0500\] \[INFO \] Access permitted for user: root
\[2026-07-27T20:55:57.501-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-27T20:55:57.545-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-27T20:55:58.208-0500\] \[INFO \] Starting X server on display 10: /usr/libexec/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
\[2026-07-27T20:56:00.333-0500\] \[INFO \] X server :10 is working
\[2026-07-27T20:56:00.370-0500\] \[INFO \] Starting window manager for display :10
\[2026-07-27T20:56:00.392-0500\] \[ERROR\] Can't set process group ID of 3260 to 3242 \[Operation not permitted\]
\[2026-07-27T20:56:00.392-0500\] \[INFO \] Starting the xrdp channel server for display :10
\[2026-07-27T20:56:00.414-0500\] \[INFO \] Using the default window manager on display 10: /usr/libexec/xrdp/startwm-bash.sh
\[2026-07-27T20:56:00.437-0500\] \[INFO \] Session in progress on display :10. Waiting until the window manager (pid 3260) exits to end the session
\[2026-07-27T20:56:00.437-0500\] \[ERROR\] Can't set process group ID of 3261 to 3242 \[Operation not permitted\]
\[2026-07-27T21:08:35.372-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-27T21:08:35.405-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-27T21:08:35.430-0500\] \[INFO \] starting xrdp-sesexec with pid 4000
\[2026-07-27T21:08:35.469-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-27T21:08:35.494-0500\] \[INFO \] Access permitted for user: root
\[2026-07-27T21:08:35.516-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-27T21:08:35.550-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-27T21:08:35.572-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3220, ip ::ffff:192.168.1.53
\[2026-07-27T21:08:35.572-0500\] \[ERROR\] Can't set process group ID of 4004 to 3242 \[Operation not permitted\]
\[2026-07-27T21:08:35.605-0500\] \[INFO \] xrdp-sesexec pid 4000 is now logging out
\[2026-07-27T21:08:35.643-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-07-31T19:38:23.560-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-07-31T19:38:23.616-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-07-31T19:38:23.641-0500\] \[INFO \] starting xrdp-sesexec with pid 54580
\[2026-07-31T19:38:23.680-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-07-31T19:38:23.694-0500\] \[INFO \] Access permitted for user: root
\[2026-07-31T19:38:23.716-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-07-31T19:38:23.761-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-07-31T19:38:23.783-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 3220, ip ::ffff:192.168.1.53
\[2026-07-31T19:38:23.783-0500\] \[ERROR\] Can't set process group ID of 54584 to 3242 \[Operation not permitted\]
\[2026-07-31T19:38:23.816-0500\] \[INFO \] xrdp-sesexec pid 54580 is now logging out
\[2026-07-31T19:38:23.841-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-08-01T08:25:45.513-0500\] \[ERROR\] sesman_check_wait_objs: trans_check_wait_objs failed, removing trans
\[2026-08-01T08:25:46.282-0500\] \[INFO \] sesman_main_loop: sesman asked to terminate
\[2026-08-01T08:27:40.859-0500\] \[INFO \] starting xrdp-sesman with pid 1331
\[2026-08-01T08:27:41.327-0500\] \[INFO \] Sesman now listening on /run/xrdp/sesman.socket
\[2026-08-01T08:29:20.979-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-08-01T08:29:21.234-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-08-01T08:29:21.148-0500\] \[INFO \] starting xrdp-sesexec with pid 2960
\[2026-08-01T08:29:21.302-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-08-01T08:29:21.324-0500\] \[INFO \] Access permitted for user: root
\[2026-08-01T08:29:21.346-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-08-01T08:29:21.380-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-08-01T08:29:21.837-0500\] \[INFO \] Starting X server on display 10: /usr/libexec/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
\[2026-08-01T08:29:24.601-0500\] \[INFO \] X server :10 is working
\[2026-08-01T08:29:24.937-0500\] \[INFO \] Starting window manager for display :10
\[2026-08-01T08:29:24.116-0500\] \[ERROR\] Can't set process group ID of 2997 to 2981 \[Operation not permitted\]
\[2026-08-01T08:29:24.116-0500\] \[INFO \] Starting the xrdp channel server for display :10
\[2026-08-01T08:29:24.138-0500\] \[INFO \] Using the default window manager on display 10: /usr/libexec/xrdp/startwm-bash.sh
\[2026-08-01T08:29:24.160-0500\] \[INFO \] Session in progress on display :10. Waiting until the window manager (pid 2997) exits to end the session
\[2026-08-01T08:29:24.160-0500\] \[ERROR\] Can't set process group ID of 2998 to 2981 \[Operation not permitted\]
\[2026-08-01T11:53:31.758-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-08-01T11:53:31.825-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-08-01T11:53:31.850-0500\] \[INFO \] starting xrdp-sesexec with pid 3729
\[2026-08-01T11:53:31.889-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-08-01T11:53:31.914-0500\] \[INFO \] Access permitted for user: root
\[2026-08-01T11:53:31.936-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-08-01T11:53:31.981-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-08-01T11:53:32.340-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 2960, ip ::ffff:192.168.1.53
\[2026-08-01T11:53:32.401-0500\] \[ERROR\] Can't set process group ID of 3733 to 2981 \[Operation not permitted\]
\[2026-08-01T11:53:32.367-0500\] \[INFO \] xrdp-sesexec pid 3729 is now logging out
\[2026-08-01T11:53:32.808-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[2026-08-01T12:23:53.110-0500\] \[INFO \] Socket 13: connection accepted from AF_UNIX
\[2026-08-01T12:23:53.777-0500\] \[INFO \] Received system login request from xrdp for user: root IP: ::ffff:192.168.1.53
\[2026-08-01T12:23:53.102-0500\] \[INFO \] starting xrdp-sesexec with pid 3753
\[2026-08-01T12:23:53.140-0500\] \[INFO \] TerminalServerUsers group tsusers doesn't exist. Access granted for root
\[2026-08-01T12:23:53.166-0500\] \[INFO \] Access permitted for user: root
\[2026-08-01T12:23:53.189-0500\] \[INFO \] Received sys login status for root : logged in
\[2026-08-01T12:23:53.233-0500\] \[INFO \] Received request from xrdp to create a session for user root
\[2026-08-01T12:23:53.255-0500\] \[INFO \] ++ reconnected session: username root, display :10.0, session_pid 2960, ip ::ffff:192.168.1.53
\[2026-08-01T12:23:53.256-0500\] \[ERROR\] Can't set process group ID of 3757 to 2981 \[Operation not permitted\]
\[2026-08-01T12:23:53.289-0500\] \[INFO \] xrdp-sesexec pid 3753 is now logging out
\[2026-08-01T12:23:53.314-0500\] \[INFO \] Starting session reconnection script on display 10: /usr/libexec/xrdp/reconnectwm.sh
\[root@plex log\]#

Is selinux enabled on this system? If so, I’d be tempted to do this:

setenforce 0

and then try to connect to the machine. I’m just wondering if those can't set process group ID errors are being caused by that.

I wonder if attempting to log in as the root user is the problem. Is there any good reason to log in as root, instead of logging in as a regular user? Does it work if you log in as regular user?

I further note that the tsusers file doesn’t exist (according to that logfile).

No I disable SELinux. As mentioned, this worked great for a long time but some update around two weeks ago killed it on seven different boxes.

I logged in as a normal user and got the same result. If anyone can figure out if a recent update did something to make this happen, that would reveal the root cause I think.

Does this give you anything?

journalctl -u xrdp-sesman --since "2026-07-26"