-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XRDP Zombie Session #2299
Comments
Hi @darkworks You can auto-terminate your disconnected sessions by setting There's a utility called Does that answer your questions? |
ok thanks i had build xorg with xrdp so will check and set settings of sesman.ini |
Am just curious why by default |
When you reconnect you should end up with your old session. This supports use-cases like disconnecting from a session and then reconnecting to it later, possibly from an entirely different client. |
ok cool however i not understand the difference. so am wondering what will be the correct fix for the 2nd scenario where internet disconnected and connection is not properly closed and on reconnect user land on backscreen with cursor. thanks |
There's a long-standing bug where you can't connect to a session which already has a client hung off it. We're working on architectural changes to fix this, but they're pretty major. If you close the VPN first, there's no way for the TCP RST packet to get back to xrdp, and so the session stays open. You can work around this by enabling TCP keepalives and configuring the OS to send more regular keepalive probes than the default. |
I have noticed on strange issue with XRDP so i thought should report it.
first xrdp built version : 0.19.7
so i have none root xrdp user rdp_user which i use instead of root account . i connected to my machine and then in middle internet disconnect , as so as connection to xrdp interrupted. Now when i connect back to xrdp i get pure black screen with cursor. seems like old session is still kept due to which am getting black screen, so after that i login to xrdp via root account and i got access then i restarted xrdp service
systemctl restart xrdp.service
. after that i connected again to rdp_user account and this time i got access mean no black screen but my opened stuff become invisible like my chrome browser sessions note pad terminal etc , although i run htop and noticed that they are running but not visible on explorer UI after restart of xrdp service. after that i had to restart entire machine because i was not able to terminate and restart my chrome session because they were already runningso please fix the issue to auto terminate inactive session like after 5 minute and logout it auto.
also in linux commands with which i can see if any xrdp session still exists and maybe i just terminate it from root account instead of reboot xrdp service
thanks
The text was updated successfully, but these errors were encountered: