-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
xrdp version
0.10
Detailed xrdp version, build options
No response
Operating system & version
debian
Installation method
git clone & make install
Which backend do you use?
No response
What desktop environment do you use?
No response
Environment xrdp running on
No response
What's your client?
No response
Area(s) with issue?
No response
Steps to reproduce
When KillDisconnected triggers termination of a session, it immediately releases that session’s X11DisplayNumber. However, the session may not have fully terminated at that time, or it may have failed to terminate properly.
During this interval, a new session may connect and be assigned the same X11DisplayNumber, As a result, all subsequent new sessions are unable to enter the X11 session and instead display the XRDP login screen or a black screen.
If the user manually logout of the session, the X11DisplayNumber is released properly and this problem does not occur.
✔️ Expected Behavior
Request / Question
After KillDisconnected, is there a way to verify that an X11DisplayNumber is actually available before notifying the service to allow a new session to use it?
Or can a delay be introduced to ensure the old session has been fully cleaned up before the display number is reused?
❌ Actual Behavior
No response
Anything else?
No response