Kan Chee Siong wrote:

> Has anyone has an experience running LyX using Mix as x-server ? I have
> installed Mix ver 2.0.10 and edited the x-server path in runlyx.bat file.
> The dos prompt popped up says something like this:
>
> ******************************************************************************
> "Starting LyX/Win32....."
> Bad length
> 0 [sig] LYX 1001 stackdump. Dumping stack trace to LYX.EXE stackdump.
> ****************************************************************************
> *******
> The dos window then exit by itself.
>
> I was able to fire up Mix manually.
>
> Could anyone suggest other x-server as I am experience difficulties working
> with Xwin32.
>
> Thanks.

>From the mix-faq ( http://www.microimages.com/mix/mix-faq.htm ):
Q: I get a Bad Length error message when I'm trying to run a program through
MI/X. What can I do to correct this?

            A: This error occurs when the UNIX box that MI/X is running against
attempts to pass an image that is at a greater bit depth than the
            display of the local machine is set to. For example, if you are
running MI/X on a Windows machine set to display 256 colors (8-bit) and
            the program you are running tries to pass a 16 bit image, you'll get
this error. To correct this, set the parameters of the program you are
            running to match the resolution of the local machine, or change the
resolution of the local machine to match the bit depth of the images that
            the UNIX box is trying to pass.

What bit depth is lyx set to? I have no problems using Xwin32, but get the same
error message as you in MI/X.  I tried
changing the bit depth in windows to 24 bits, but the error persists. If I could
get MI/X to work it would be so much better!
(Xwin32 is $200, but MI/X is only $25!).
Cheers,

-Mario

Reply via email to