LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2014, 11:12 AM   #1
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Rep: Reputation: Disabled
Post Gtk-WARNING **: cannot open display: :0


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.
 
Old 09-18-2014, 11:17 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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
 
Old 09-18-2014, 12:18 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
There's a pretty long discussion about this error on an old blog post of mine: http://alien.slackbook.org/blog/kde-...are-13-37-rc1/

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.

The script is here, http://slackware.com/~alien/tools/xsocket_list.py .
Run it as
Code:
python xsocket_list.py
Eric
 
Old 09-18-2014, 12:48 PM   #4
thirdm
Member
 
Registered: May 2013
Location: Massachusetts
Distribution: Slackware, NetBSD, Debian, 9front
Posts: 316

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
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.
 
Old 09-18-2014, 03:36 PM   #5
dwblas
Member
 
Registered: Jun 2011
Posts: 87

Rep: Reputation: Disabled
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.
 
Old 09-19-2014, 01:25 AM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by thirdm View Post
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.
 
Old 09-19-2014, 02:48 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
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:
Code:
git clone https://git.fedorahosted.org/git/lorax.git
It's not surprising that it be well written, as the Anaconda team includes Slackware Alumni

Last edited by Didier Spaier; 09-19-2014 at 03:16 AM. Reason: Path corrected in the git command.
 
1 members found this post helpful.
Old 09-19-2014, 03:10 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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?
 
Old 12-30-2014, 12:28 PM   #9
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
i re install after a few months slackware, i dont remember, and apologize with make this post alone. i re install some deps an all fix. thanks to all
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gtk warning cannot open display bosewicht Linux - Newbie 2 03-10-2010 07:53 PM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 02:51 AM
Gtk-WARNING **: cannot open display: intelectro Linux - Software 2 05-08-2007 09:46 PM
Gtk-warning **: Cannot Open Display: davikevi Programming 3 02-18-2005 11:42 PM
Gtk-WARNING **: cannot open display ocset Linux - Software 2 10-18-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration