Subject: Re: X Windows under netbsd...getting started
To: a.e.nelson <aen1575@silver.sdsmt.edu>
From: Rick Byers <rickb@iaw.on.ca>
List: netbsd-help
Date: 05/22/1997 09:21:44
On Wed, 21 May 1997, a.e.nelson wrote:
> i figured out my initial problem, but i have a new one...startx can't find
> xinit. i read the faq and figured that dynamic link editor hasn't been
> configured correctly. this is detailed in another plea for help (two in
> one day!) that i just submitted to the list. if you can help with this
> problem, please do.
> thanks for your help
Sure, basically you just need to "ldconfig /usr/X11R6/lib". This is
normally done in /etc/rc. If you've got 1.2, you'll have to change the
ldconfig line in /etc/rc to:
ldconfig /usr/lib /local/lib /usr/X11R6/lib
If you have a newish current machine, just add /usr/X11R6/lib to
/etc/ld.so.conf. Also make sure /usr/X11R6/bin is in your path, and that
/usr/X11 is a sym-link to /usr/X11R6. That should do it...
Rick
> >It is working properly. The X server by itself doesn't do much. What X
> >distribution are you using? You should have a startx command in
> >/usr/X11R6/bin. Once the X server is running (which you've done - which
> >is really the hardest part), you have to run clients - do something in
> >your new graphical display. startx normally sets up some stuff, starts a
> >window manager (so you control windows and start new programs) and starts
> >an xterm.
> >
> >If you've got access to antother console you can probably start some stuff
> >manually like this (sh/bash):
> >export DISPLAY=:0.0
> >twm
> >xterm
> >but the proper way to do it is to have startx call xinit to do everything
> >for you...
=========================================================================
Rick Byers Internet Access Worldwide
rickb@iaw.on.ca System Administrator
Welland, Ontario, Canada (905)714-1400
http://www.iaw.on.ca/rickb/ http://www.iaw.on.ca/