SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Gtk-WARNING **: cannot open display: :0, Maximum number of clients reached
Maximum number of clients reached
(gwenview:18513): Gtk-WARNING **: cannot open display: :0
slackware 64 14.1 kde
I can not open other programs when i run three of it.
if i run dolphin, pidgin and seamonkey i can not open more.
Or if a use skype i can not open other windows and programs
i use this but i dont know whats next
netstat -an --unix | grep X11-unix
and also
lsof -p `pidof X` | grep socket | wc -l
nothing happen.
at this time i only use xfce instead of kde4
my temporary solution its reboot the system many times until the kdeinit want to work.
other thing is not always run programs, ,any times dont run anything, just desktop.
Disable everything, custom Desktop gadgets, moving Desktop backgrounds, eye candy extra features etc until you have something that works. Then enable plugins etc until you find the culprit
In particular, it mentions a script that you can run the moment you get this “maximum clients” issue again.
It should list the X client programs that have an active unix socket. It may show you what program is eating up all sockets.
Wow, these fedora people must really hate shell scripting with a passion. As far as I can tell that script is more or less the two commands he mentions above spread over 30 lines of Python.
The for loops compare what was returned from the two commands and only prints if there is an inode match. It also skips over any errors. If you just want the output from the two bash commands, then yes you should just run them in bash.
Wow, these fedora people must really hate shell scripting with a passion. As far as I can tell that script is more or less the two commands he mentions above spread over 30 lines of Python.
You have no idea how bad it is... I've seen and heard things that would amaze you about Fedora.
Staying out of topic: The lorax tool that creates Anaconda-based installation images is known to be very efficient and has been re-written entirely in python, partly to sort the previous mess. It now looks clean. You can check that yourself:
Here's a good question I've been pondering since the topic was posted but... how many UNIX sockets should a system have any way for services? is there a limited number of socket compared to other process methods like pipelining?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.