octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maximum number of clients reached in Qt


From: Daniel J Sebald
Subject: Re: Maximum number of clients reached in Qt
Date: Sun, 14 Oct 2012 04:18:57 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 10/14/2012 12:06 AM, Daniel J Sebald wrote:
It appears there is some limit to the number of Qt windows that the
GUIDE+O can create:

octave:8> for i = 1:50
figure(i)
plot(1:50)
end
Maximum number of clients reached
(<unknown>:17154): Gtk-WARNING **: cannot open display: :0.0
Could not connect gnuplot_qt "" . Starting a new one
Maximum number of clients reachedgnuplot_qt: cannot connect to X server
:0.0
octave:9>

Is this a concern?

DANGER! The commands above could mess up your system. Don't try it unless you have everything of value saved.

I think the scenario is as follows: Octave GUIDE+O opens many plots through Qt, which in the case of Linux apparently uses GTK. GTK reaches it's limit of clients, then GUIDE+O can no longer open windows. However, GUIDE+O might not behave gracefully but instead gets stuck at the command line. In that case, GTK might be left in a state where it thinks the client limit has been reached. Every system might be different on this, but just giving a heads up.

Shortly after running the lines below I couldn't create any more instances of gvim without getting the GTK error about clients. Easy workaround, just open more buffers inside gvim. Here's the problem: if the screen saver engages, GTK fails to open a client for the password-screen. All that happens is a flash of the background image with each keystroke or mouse movement, leaving little option but to cycle the power.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]