This forum has been archived. All content is frozen. Please use KDE Discuss instead.

limit for concurrent desktop sessions

Tags: None
(comma "," separated)
yosiy
Registered Member
Posts
4
Karma
0
Hi

We use KDE for long time, all the family on the same computer with fast user switching

However, I'v just installed fedora 20 + kde, and found that now we are limited to 4 concurrent sessions:
After 4 users loged in, for the next "start new session" you are redirected to one of the exist sessions.

Is this known problem? Someone have solution for this?

With best regards
Yosi
User avatar
google01103
Manager
Posts
6668
Karma
25

Wed Sep 24, 2014 4:06 pm
might be due to the Fedora upgrade not KDE, that Fedora set maxsyslogins to 4 by default and that it earlier it was not set or maybe set to 0

Code: Select all
cat  /etc/security/limits.conf|grep maxsyslogins


OpenSuse Leap 42.1 x64, Plasma 5.x

yosiy
Registered Member
Posts
4
Karma
0
Hi all

I set both maxsyslogins and maxlogins to unlimited, but no help.
Any idea? Should I open bug on this issue?

With best regards
Yosiy
yosiy
Registered Member
Posts
4
Karma
0
Some more information:
When I played with maxsyslogins and maxlogins and set it to very small, and then tried to start new login, I got error notification in popup window, and I also found this error notification in /var/log/secure:

[root@yserver ~]# egrep 'pam.*limit' /var/log/secure
Sep 27 22:47:42 localhost kdm: :3[4705]: pam_limits(kdm:session): Too many logins (max 8) for xxx
Sep 27 22:47:46 localhost systemd: pam_limits(systemd-user:session): Too many logins (max 8) for xxx
Sep 27 22:47:46 localhost systemd: pam_limits(systemd-user:session): conversation failed

However, when I set maxsyslogins and maxlogins to unlimited, no any popup message nor log message appears, just when I
"k-menu->leave->switch user->new session" it elegantly redirect me not to KDM login screen, but to another screen where I can only choose between exist users.

With best regards
YosiY
User avatar
google01103
Manager
Posts
6668
Karma
25
does rebooting the machine help, if so maybe it's a display issue and you need to increase DisplaysPerHost= in /usr/share/kde4/config/kdm/kdmrc (your locale may differ) https://www.starnet.com/xwin32kb/sessio ... s-reached/


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
I'm perplexed as Linux should be able to open a fairly large number of distinct user sessions by default as you had previously experienced, I wouldn't think this was a kdm thing (though it could be) and I'd ask on the Fedora forum


OpenSuse Leap 42.1 x64, Plasma 5.x

yosiy
Registered Member
Posts
4
Karma
0
Hi

Thanks very much!

The solution was in kdmrc config file. The parameter to change was ReserveServers, and I changed it from:
ReserveServers=:1,:2,:3
to
ReserveServers=:1,:2,:3,:4,:5,:6,:7

With best regards
Yosi


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]