Am Montag, 3. September 2007 14:17 schrieb Stephan Witt:
> Rainer Dorsch schrieb:
> > Am Montag, 3. September 2007 12:19 schrieb Stephan Witt:
> >> Rainer Dorsch schrieb:
> >>> Am Freitag, 31. August 2007 19:50 schrieb Pavel Sanda:
> >>>>> I run lyx remove on the SLES9 machine and connect from a Debian etch
> >>>>> machine with SSH.
> >>>>
> >>>> ssh -X or ssh -Y ?
> >>>>
> >>>>> I have also lyx 1.4.3 on the SLES9 machine, this one runs in the same
> >>>>> session flawless.
> >>>>>
> >>>>> lyx 1.4.3 is linked against QT3.
> >>>>>
> >>>>> Do you know which X setting is affected and how I could check that
> >>>>> (or a term to google for)?
> >>>>
> >>>> i would search for Depth in your xorg.conf.
> >>>
> >>> Hmmm...I do not yet understand the concept.
> >>>
> >>> On the SLES which runs LyX, there is no XServer. Thus there is no color
> >>> depth on the machine which runs LyX.
> >>>
> >>> On the client, which is a Debian etch machine and which runs the
> >>> XServer, I get
> >>>
> >>>  Section "Screen"
> >>>         Identifier "Screen0"
> >>>         Device     "Card0"
> >>> #       Device     "radeon driver"
> >>>         Monitor    "Monitor0"
> >>>         DefaultDepth    24
> >>>
> >>> i.e. a color depth of 24. That seems to be reasonable, any locally
> >>> compiled version of LyX does not show and bad colors.
> >>>
> >>> Do I have to tell LyX on the SLES machine that the XServer it is
> >>> displayed on the etch machine supports 24 bits color depth? How would I
> >>> do that?
> >>
> >> No, you don't have to tell LyX about that. The Xlib code is aware of the
> >> properties of the Xservers (Screen) it is connected to.
> >>
> >> You may check that with the following command:
> >>
> >> % ssh -XC [EMAIL PROTECTED] xdpyinfo
> >>
> >> or
> >>
> >> % ssh -XC [EMAIL PROTECTED] /usr/X11/bin/xdpyinfo
> >>
> >> The output tells you about the default visual and it's depth.
> >> But I would guess that's not the problem.
> >
> > I am not an expert reading these data, I did not see something
> > suspicious, do you?
>
> No, it's all well, the X-server (your client machine) and the
> Xconnection is able to display true color (24 bit depth). Your problem
> is not the X-server.
>
> See the comments in your output below.
>
> It is IMHO a Qt-ABI-incompatibility. Maybe, you can "force" your lyx
> binary which is compiled and linked against Qt 4.2.1 to use the correct
> (?) shared library at runtime?
> I suspect something is fishy with your libQtCore.so.4 =>
> /afs/bb/data/d3197/galaxy2/zLinux/qt-4.2.1//lib/libQtCore.so.4
> line in ldd output...
> Are you sure it is compatible with libQtGui.so.4 =>
> /afs/qt-4.2.1/lib/libQtGui.so.4 ?
>

It is actually the same. I did not want to confuse people with long 
paths...which I achieved now :-(

Rainer


-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07032-359190
jabber: [EMAIL PROTECTED]
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

Reply via email to