Greetings,
I've seen issues like this since Solaris 8, using plain old X
applications under Xvfb. Try using 'hostname:4.0' instead of ':4.0',
it sometimes makes a difference. I've also had to mess around with
xauth. There hasn't been much consistency to it -- sometimes the
problem spontaneously re-appears after a reboot, but that happens so
rarely (basically, only for major extended power outages) that I've not
been able to get to the bottom of it. Also, notice that there are some
hidden X-related directories created under /tmp when you start your X
session. There will be one or two files for each display, IIRC one for
UDP and one for TCP sessions. I've seen it happen that these are left
after a reboot, so they don't get re-created, but have their file
permissions changed so that the non-root user needing to start the Xvfb
session on that display can't do so. Our application then has issues
the first time it tries to start an X client needing to talk to that
display (which might be a long time after the reboot).
--Robert
On Nov 5, 2005, at 4:58 AM, Andreas Höschler wrote:
Hi,
I haven't used solaris in years, so I can only guess what may be the
root of this problem. From what I can tell by the source code I would
start looking at the different settings of DISPLAY for the different
users. I would expect these to be different. This does not explain why
the different, but probably sensible values, make such a big
difference
for GNUstep.
We checked that already. The values reach from :0.0 to :4:0, obviously
depending on the number of session (Sun Ray). I first thaught having
multiple session would cause the problem (GNUstep not being able to
handle that would be a disaster), but we were able to have two
parallel sessions with two different accounts. I also modified the
DISPLAY variable for a user that does not work, though I know think
that this makes no sense. Solaris seems to set a specific value for
each Sun Ray session. Anyway, this didn't solve the problem. We still
get
2005-11-04 20:53:43.000 ProjectBuilder[8158] NOTE: Only one display
per
host fully supported.
2005-11-04 20:53:43.000 ProjectBuilder[8158] NSImage:
compositeToPoint:fromRect:operation: failed due to ImageCache: Cannot
lock focus on nil rep
for many (also for newly created) users. Any more ideas what to look
for? We will dig into the gui code some more on monday, but if anybody
has a clue...
Thanks,
Andreas
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep