Hi Basilio - I have since converted the classroom to use LDM in Edubuntu
Gutsy, and I'm not onsite, so I can't really test MaxPending. However, I
have just run the above test on MaxSession in Hardy using straight
Ubuntu, setting MaxSession and MaxPending to '2' using the steps I gave
above, with the result that the third remote session is indeed refused.
The GDM debug log shows messages like this:

DEBUG: Got config xdmcp/MaxSessions=2 <custom>
...<snip>...
DEBUG: gdm_xdmcp_handle_request: xdmcp_pending=0, MaxPending=4, 
xdmcp_sessions=1, MaxSessions=16, ManufacturerID=

This has spurious entries for MaxPending and MaxSessions, both of which
I set to 2. The xdmcp_sessions figure varies correctly depending on how
many sessions are connected. Therefore, I suspect there remains a
problem in the *logging* code, which is not using the customised
settings, rather than in the session acceptance code.

Thanks!

-- 
MaxSessions is set to 16 regardless of configured setting
https://bugs.launchpad.net/bugs/159477
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to