XRDP suddenly cannot connect to Xorg. What should I check? #3539
-
I am on NixOS 25.5 with everything frequently upgraded. My XRDP setup worked quite well until the end of last month. I did not use it for a few days, today, when I connected, I got "Error connecting to Xorg". The "Connection Log" showed in RDP window after login is:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
It looks like sesman has been restarted. As a result, it doesn't know about the session on display 10. This is bug #800 which is now fixed in the devel stream, but has not yet been delivered to a build. Is there important data in the session you are trying to recover? |
Beta Was this translation helpful? Give feedback.
-
Full logs here. sesman:
xrdp:
|
Beta Was this translation helpful? Give feedback.
It's not clear what version of xrdp you're using.
Version v0.10.2 provides a facility for running xrdp as a non-root user. The release note is here. You need to set
SessionSockdirGroup
in sesman.ini to the group that xrdp is running under so xrdp can access the sockets.