Re: Nothing in FAQ about X ?
* Harry Putnam [EMAIL PROTECTED] [060228 20:34]: I haven't seen any section of FAQ devoted to setting up X. Is it supposed to just work after installing the base tgz files? Or maybe I'm just blindly overlooking the section? The part about building X doesn't have anything to say about setting it up. Is it covered somewhere else? I'm guessing its just supposed to work. I didn't install the Xpackages at first bu have now gone back and go them from latest snapshots. 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' /usr/X11R6/bin/xauth: can't load library 'libXmuu.so.4.0' /usr/X11R6/bin/xinit: can't load library 'libX11.so.9.0' /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0' man ldconfig I suspect your library cache is not up to date. Try using ldconfig -r and seeing if they are listed. If not, you likely have to get them in there. Jim
Re: Nothing in FAQ about X ?
Harry Putnam wrote: I haven't seen any section of FAQ devoted to setting up X. Is it supposed to just work after installing the base tgz files? it would be nice. But they have not reached that goal yet, at least on some very popular platforms. Or maybe I'm just blindly overlooking the section? The part about building X doesn't have anything to say about setting it up. Is it covered somewhere else? see /usr/X11R6/README on your installed system for some tips on getting X up and running. Yes, the FAQ is sadly deficient on setting up and using X at the moment. Hopefully, that will be changing in the future. Nick.
Re: Nothing in FAQ about X ?
On Wednesday 01 March 2006 09:22, Harry Putnam wrote: I haven't seen any section of FAQ devoted to setting up X. Is it supposed to just work after installing the base tgz files? That's the idea and it works fairly well for me. The only manual X configuration I've had to do is make it use my 3button mouse, other than that it usually just works. At least that's my experience. 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' /usr/X11R6/bin/xauth: can't load library 'libXmuu.so.4.0' /usr/X11R6/bin/xinit: can't load library 'libX11.so.9.0' /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0' This is not related to configuring X. Something's screwy with your X installation but I wouldnt know exactly what. I'd try to upgrade to a later snapshot. --- Lars Hansson
Re: Nothing in FAQ about X ?
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/