Closed tsz8899 closed 10 months ago
Thanks for this @tsz8899
I've managed to reproduce this. You've nicely uncovered a bit of duff coding on my part, related to scanning the session list.
Can you try this patch?
--- a/sesman/session_list.c
+++ b/sesman/session_list.c
@@ -525,9 +525,9 @@ session_list_get_wait_objs(tbus robjs[], int *robjs_count)
int
session_list_check_wait_objs(void)
{
- int i;
+ int i = 0;
- for (i = 0 ; i < g_session_list->count; ++i)
+ while (i < g_session_list->count)
{
struct session_item *si;
si = (struct session_item *)list_get_item(g_session_list, i);
Thanks !
debian 11 and ubuntu 22.04
xrdp-sesman multi-user normal !
xrdp-sesadman multi-user normal ! ^^
xrdp version
devel
Detailed xrdp version, build options
Operating system & version
debian 11 ubuntu 22.04
Installation method
git clone & make install
Which backend do you use?
xorgxrdp
What desktop environment do you use?
any
Environment xrdp running on
VM
What's your client?
mstsc freerdp
Area(s) with issue?
Session manager (sesman)
Steps to reproduce
XRDP awesome
2023 may 2 (https://github.com/neutrinolabs/xrdp/commit/82ede293886094dc5438fa4db8136e0ed2e36dd5) The previous version of xrdp-sesman worked fine.
2.There is also a strange issue with xrdp-sesadmin with multiple users:
........loop@@
✔️ Expected Behavior
1.xrdp-sesman multi-user normal
2.xrdp-sesadman multi-user normal
❌ Actual Behavior
No response
Anything else?
No response