O.K. I'm starting to install Xorg-7.0.0 again (Prefix=/opt) right now. I'll
be taking note on the hint that was mentioned on this subject.
Thanks for all your input people. You will here from me again sometime
tomorrow.
Regards
Dave
On Thursday 20 April 2006 15:41, Andrew Benton wrote:
> linux23dragon wrote:
> > Hello
> >
> > I was able to get Xorg-7.0.0 to work when installed in /opt. I had no
> > problems with fonts or configuration files (The prefix was set
> > to /opt/lib/X11/config, but xorg will read from /etc/X11.).
> >
> > I could even install the Nvidia drivers (As log as the Nvidia extended
> > X11 modules and drivers were located in /usr/lib) to work well.
> >
> > But I had come across a few problems.
> >
> > 1> I could not start the X server as a normal user, at the command
> > prompt. ("startx"). And I do have xterm installed. (But I could, as
> > root user):-
> >
> > Starting X would give me an error message saying "can't
> > create /var/log/Xorg.0.log for writting".
> >
> > Or, if the file is already there (because I tested "startx" as root)
> > "can't create /var/log/Xorg.0.log.old".
> >
> > I do not think that has anything to do with owner/groups or other file
> > attributes. (could be wrong)
>
> Xorg needs to be installed set uid root
>
> chmod 4711 /otp/bin/Xorg
>
> > 2> I could get XDM to work on boot up, and log in as normal user.
> > (glx-gears worked fine as well). And that was the only way I could get a
> > normal user to use X.
> >
> >
> > 3> I noticed that Xorg complaned that it could not locate the rgb data
> > base at /opt/lib/X11/rgb (I double checked to see if I installed the app
> > package rgb-1.0.0).
> >
> > This problem happend with both root and user when using "startx" in run
> > levels 3 and 5.
>
> make sure the value set in /etc/X11/xorg.conf or /opt/etc/X11/xorg.conf
> or wherever it is points to the actual rgb.txt file. For example if it
> is /opt/lib/X11/rgb.txt then put a line in /etc/X11/xorg.conf that says
>
>
> Section "Files"
>
> RgbPath "/opt/lib/X11/rgb"
>
> EndSection
>
> If you're not sure what config file xorg is using then
>
> grep "Using config" /var/log/Xorg.0.log
>
> > 4> When trying to compile fgl-gears32.c (From Nvidia), ldd had troubles
> > trying to link to (at first):- -lGL -lXrender.
> >
> > Then after playing around with the nvidia installation (making sure that
> > the Nvidia headers and libs were installed into /usr/lib and GL was
> > in /usr/include/X11/GL) I then only had this problem linking to
> > -lXrender.
>
> Edit /etc/ld.so.conf so it includes /opt/lib then run ldconfig
>
> echo /opt/lib >> /etc/ld.so.conf &&
> ldconfig
>
> > 5> To confirm another problem. Ffluxbox compiles O.K. but did not behave
> > as expected. (I think is was the fact that I did not have the "
> > ~./fluxbox " setup correctly.
> >
> > The menu generator didnot work well and complaned about the missing
> > ~./fluxbox/init file. Could be my fault, as I downloaded from CVS.
>
> The fluxbox page in BLFS tels you how to populate ~/fluxbox
>
> Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page