I am running an openSUSE Tumbleweed installation with KDE Plasma 5.4.3 . I tend to use a fair number of programs ( Eclipse, Firefox, Slack, Evolution, Konsole, various java applications ) and after some time I can't open new programs anymore due to

Maximum number of clients reachedxlsclients:  unable to open display ":0"

I am unable to determine which program causes the error. When xlsclients works it displays around 20-30 programs so I suspect that it does not display the right information.

How can I debug this issue and find out which program causes the error?

  • 1
    Try lsofc -c Xorg with the lsofc at Who's got the other end of this unix socketpair? – Stéphane Chazelas Dec 22 '15 at 14:29
  • @StéphaneChazelas - will do, thank you. What should I be looking for, unix socket connections? – Robert Munteanu Dec 22 '15 at 14:48
  • Yes, any connection, unix, abstract (unix on abstract domain) or TCP. – Stéphane Chazelas Dec 22 '15 at 14:59
  • Where do you see that Maximum number of clients reached message? – Stéphane Chazelas Dec 22 '15 at 15:00
  • @StéphaneChazelas - The symptom is that X applications fail to launch with no feedback, so if I happen to have a konsole window open, I try to launch an app form there. That's when I get the error. BTW, feel free to post your original comment as an answer, I think it got me far enough to nail the culprit ( the slack app ) – Robert Munteanu Dec 26 '15 at 22:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.