Subject: Re: X-Windows library probs
To: None <port-arm32@netbsd.org>
From: Timothy Coltman <tim@fivehighfield.demon.co.uk>
List: port-arm32
Date: 08/23/1998 16:37:28
In message <3d9c297a48%chris@cowdery.demon.co.uk>, Chris Cowdery
<chris@cowdery.demon.co.uk> writes
>In message <487a0f3c46mh120608@staffs.ac.uk>
>          Ian Molton <mh120608@cr10m.staffs.ac.uk> wrote:
>
>> On 23 Aug, Chris Cowdery <chris@cowdery.demon.co.uk> wrote:
>> >  When I try to run XDM, it complains that it
>> > can't find libXmu.so.6.0
>> 
>> it's in /usr/X11R6.3/libs
>> 
>> you need to configure the dynamic linker (/etc/ld.so.conf).
>
>Well found!. I do indeed have it there. I made /etc/ld.so.conf
>contain the following:
>/usr/X11R6.3/lib
>and bit worked then.
>
>However, now I have the following two problems. XDM fails with the
>following xdm-errors file:
>
>Couldn't open RGB_DB '/usr/X11R6.3/lib/X11/rgb'
>Initial console: 0
>RiscBSD X Server #33 (Acorn Show)
>width = 1024, height = 768, depth = 8
>mmap(0, c4000, PROT_READ | PROT_WRITE, MAP_SHARED, 3, 0) = 102b7000
>8bpp palette
>8bpp palette
>Black = 1, White = 0
>InitInput() not finishedAbout to mieqInit()
>Mouse fd: 4
>Mouse on.
>failed to set default font path '/usr/X11R6.3/lib/X11/fonts/misc/,/usr/X11R6.3/l
>ib/X11/fonts/Speedo/,/usr/X11R6.3/lib/X11/fonts/Type1/,/usr/X11R6.3/lib/X11/font
>s/75dpi/,/usr/X11R6.3/lib/X11/fonts/100dpi/'
>Fatal server error:
>could not open default font 'fixed'
>xdm error (pid 439): IO Error in XOpenDisplay
>xdm error (pid 425): Display :0 cannot be opened
>xdm error (pid 425): Display :0 is being disabled
>
>The RGB_DB file is not there, how do I make that?.
>

When I attempted to use the new X sets, in /usr/X11R6/lib/X11 there's a
file called 'rgb.txt' which holds all the colour info. I have no idea
how to get the server to access that instead, but you could try making a
link, ie: ln -s /usr/X11R6/lib/X11/rgb.txt /usr/X11R6/lib/X11/rgb. If
you don't have the rgb.txt file in that directory, you can always use
the one from the X11R6.3 distribution on the CD-Rom.

>THe font path is there, as is the font.dir and font.scale files. What's
>up with that?.
>

Stupid question, but have you set up all the links correctly? I tried to
use the new sets but I couldn't be bothered messing about trying to get
them to work properly and so I'm back to using the CD-Rom ones instead,
which work fine. What's the difference anyway (apart from a few apps
like xcalc and so on which I've already got better versions of in KDE-
1.0).

Cheers,
tim