Hi list, I have been trying to set x2gosessionlimit to limit the number of active sessions. So as a simple test I set the x2gousers group setting to 2 and then started creating sessions for users that were part of the x2gousers group. It did not seem to limit the number of sessions that I could create. So is this not the correct usage? I read John's post from last summer about x2gosessionlimit but there was no response to his post. Can anyone shed some light on this?
Regards, Gerry
Am 12.10.2010 22:26, schrieb Gerry Reno:
Hi list, I have been trying to set x2gosessionlimit to limit the number of active sessions. So as a simple test I set the x2gousers group setting to 2 and then started creating sessions for users that were part of the x2gousers group. It did not seem to limit the number of sessions that I could create. So is this not the correct usage? I read John's post from last summer about x2gosessionlimit but there was no response to his post. Can anyone shed some light on this?
Regards, Gerry
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Hello Gerry,
Setting group limit to 2, mean that every user which is part of this group can create max. 2 sessions.
Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home
On 10/17/2010 06:30 AM, Oleksandr Shneyder wrote:
Am 12.10.2010 22:26, schrieb Gerry Reno:
Hi list, I have been trying to set x2gosessionlimit to limit the number of active sessions. So as a simple test I set the x2gousers group setting to 2 and then started creating sessions for users that were part of the x2gousers group. It did not seem to limit the number of sessions that I could create. So is this not the correct usage? I read John's post from last summer about x2gosessionlimit but there was no response to his post. Can anyone shed some light on this?
Regards, Gerry
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Hello Gerry,
Setting group limit to 2, mean that every user which is part of this group can create max. 2 sessions.
Regards,
Thanks Alex. That now makes sense. I was thinking it might have been a setting for absolute total session limit.
Maybe x2gosessionlimit could be expanded to include a [server] section in the config that could declare a total maximum number of sessions for the server?
Regards, Gerry
Following up on this topic.
I made an entry in /etc/x2go/x2goserver.conf. [limit users] user1 = 2
Then I proceeded to trying to create sessions for 'user1'. I was able to create any number of sessions without limit on that server. So I don't understand how this configuration file is working. Or perhaps it is not working and is a bug. Has anyone been successful at limiting sessions?
Regards, Gerry
On 10/17/2010 06:30 AM, Oleksandr Shneyder wrote:
Am 12.10.2010 22:26, schrieb Gerry Reno:
Hi list, I have been trying to set x2gosessionlimit to limit the number of active sessions. So as a simple test I set the x2gousers group setting to 2 and then started creating sessions for users that were part of the x2gousers group. It did not seem to limit the number of sessions that I could create. So is this not the correct usage? I read John's post from last summer about x2gosessionlimit but there was no response to his post. Can anyone shed some light on this?
Regards, Gerry
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Hello Gerry,
Setting group limit to 2, mean that every user which is part of this group can create max. 2 sessions.
Regards,
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
I found that if you change some of the tests in x2gosessionlimit to emit "LIMIT\n" that the session limiting starts working:
if($strlimit <= $scount)
{
print "LIMIT\n";
exit 0;
}
Regards, Gerry