Solaris 2.6 Xlib Connections

Thanks goes out to Craig Shaver for his reply (the only one I received).

Here is his response to me:

-----

It sure looks to me like you ran out of pty's. You need to specify

more than 48 (the default) pty's in /etc/system. Not sure of the

specific set pty syntax, but should be in the answerbook. Or

at docs.sun.com.

Ok, I took a quick peek. It should be

set pt_cnt=128

or whatever..... this is from 2.5, I don't think it should

change under 2.6, but .....

This was in the 2.5 sys admin answerbook, sysadmin guide vol II,

tuning kernel parameters.

-------

I added the set pt_cnt=128 in my /etc/system file and then did a boot

-r. Problem resolved. I can now pop windows and apps to my heart's

content.

..Again thanks to Craig.

D. Stew McLeod wrote:

> Since moving to Solaris 2.6 I have been getting the following errors

> while running CDE and trying to pop some additional windows:

>

> Xlib: connection to ":0.0" refused by server

> Xlib: Maximum number of clients reached

> XView error: Cannot open connection to window server: :0.0 (Server

> package)

>

> Under 2.5.1 I used to be able to get more windows displayed. In fact I

> do not remember ever seeing this error message on my machine before.

> This is not a server and granted I may be popping more windows than I

> need (one for every server I look after), but I never had problems

> under 2.5.1.

>

> I checked Answerbook and found no reference to this error. Is there

> some kernel variable I need to tweak?

>

> I will summarize. TO reply, remove the "x" in my return address.

>

> Stew

>

> --

> # D. Stew McLeod ... (remove "x" in reply to address)

> #"A pessimist sees the difficulty in every opportunity;

> # an optimist sees the opportunity in every difficulty."

> # - Sir Winston Churchill (1874-1965)

>

>


--
# D. Stew McLeod ... (remove "x" in reply to address)
#"A pessimist sees the difficulty in every opportunity;
# an optimist sees the opportunity in every difficulty."
# - Sir Winston Churchill (1874-1965)

[2620 byte] By [CodeProf.com] at [2007-12-25 11:52:00]