Operating System - HP-UX
1847696 Members
7032 Online
110265 Solutions
New Discussion

No more than 2 X sessions at any one time

 
Michael O'brien_1
Regular Advisor

No more than 2 X sessions at any one time

Hi,

We have recently applied a HP supplied patch bundle to a server. The server has a graphics card installed and allows the application to render pdf docs. But we are now experiencing a strange issue were no more than 2 X application sessions can be fired up.

If I connect to the server from 3 different sessions , set my DISPLAY=localhost:0.0 and then run xclock. I can successfully run 2 xclocks but when I start the 3 xclock. one of the previous sessions is terminated which the following error

X connection to broken hostname :0.0 (explicit kill or server shutdown)

I am looking through the patches which were installed to try and find an issues with the patches.

I would be interested if anyone could suggest a possible cause why this is happening or a solution to resolve this issue rather than removing any patches which relate to X.

Prior to applying the patches the server allowed multiple X sessions to run.

Thanks
Michael
3 REPLIES 3
Victor Fridyev
Honored Contributor

Re: No more than 2 X sessions at any one time

Hi,

Does this happen for root only or for any other user ?
Can you look on ~/.dt/errorlog ?

HTH
Entities are not to be multiplied beyond necessity - RTFM
Michael O'brien_1
Regular Advisor

Re: No more than 2 X sessions at any one time

Hi Victor,

Thanks for your reply, It happens to root and non-root users. If root had two sessions running and a non root user started a session then one of the root session would end. The same applies to non-root user sessions will be terminated by root sessions. So I don't think it's an user related issue. I can't get to the dt log until monday but I will check to see if their are any errors
Victor Fridyev
Honored Contributor

Re: No more than 2 X sessions at any one time

Hi Michael,

Additionally run
#>/usr/contrib/bin/X11/dr_dt

May be it's output will help you to find a reason of the case.
Ince I saw something similar, when X tried to open a temporary file and file with the same name, but other ownersip existed.

HTH
Entities are not to be multiplied beyond necessity - RTFM