Hi Harry,

> I haven't seen any section of FAQ devoted to setting up X.

Whatever Nick may say about deficiencies...
In fact, http://www.openbsd.org/faq/faq8.html#X
at least references /usr/X11R6/README.

> Is it supposed to just work after installing the base tgz files?

Sort of.  But you know, producing a working X configuration file
tends to be a hassle, no matter what OS you use.  It has become
easier during the last few years, but still, it's not fun.

> Or maybe I'm just blindly overlooking the section?

Well, you appear to be blindly overlooking lots of things.
Try looking a bit harder by yourself before asking zillions
of simple questions here, or people will soon start flaming
you for lazyness.  ;-)

[...]
> xbase39.tgz  xetc39.tgz   xfont39.tgz  xserv39.tgz  xshare39.tgz
> Untarred them in root as directed.
> Probably some config is required but I see no help about that.
> Running `startx' gets a number of library errors.
>   xauth: can't load library 'libXau.so.9.0'
>   /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0'
[...]

Oh well.  Here we go again.  Try

 $ ldconfig -r | head -n2

Nothing about /usr/X11R6/lib round there, right?

So read

 $ man ldconfig

next, then scan

 $ less /etc/rc

looking out for "ldconfig".  There's something about
configuring /usr/X11R6/lib into ld.so.hints at bootup.

Of course, when you install X after bootup, and do not reboot,
this code never gets executed.  When you know what you are doing,
you hardly ever need to reboot OpenBSD unless you want to use
a different kernel, but when you reconfigure stuff without
rebooting, you need to run the required configuration commands
manually, of course.

Once you understand what i said so far, try (as root)

 # ldconfig -m /usr/X11R6/lib

Use

 $ ldconfig -r | head -n2

once more to see what you just changed by doing so.

After that, ld.so ought to be able to find your X libraries.

That's all rather basic stuff, though.

Yours,
  Ingo

-- 
Ingo Schwarze <[EMAIL PROTECTED]>
http://www.usta.de/

Reply via email to