Recently, Somebody Somewhere wrote these words
> I have compiled Xorg on a fresh LFS system, using the package user
> hint, and have two major problems - the first (which I also had on
> Gentoo many months ago, and never could fix there - it *didn't* happen
> on my previous LFS) is that once X starts, killing it or trying to
> switch back to a TTY freezes the system on a blank screen (forcing me
> to hard reboot).
> 
> The second, is that Xorg only starts as root (Xorg and xterm are both
> properly suid root) - if I try to start it as a non-priveledged user,
> it starts but immediately crashes (leaving my system hanging, as
> above). Unfortunately, it seems to only "half-crash", and not report
> anything in the logs (the last thing Xorg.0.log says is about not
> being able to init font path elements - and it lists a few that don't
> exit. This happens regardless of whether .xinitrc exists.
> 
>  (as an aside, the problems I had last time with Xorg & pkguser (many
> files not being installed if it's compiled as non-root) seem to have
> gone - must have been compiler weirdness of some kind...).
> 
> If it matters, Xorg has been compiled with C/CXXFLAGS="-O3
> -march=pentium4 -pipe",  LDFLAGS="-O1".
> 

It's a permissions thing, or perhaps a video one. Are you loading
irrelevant/conflicting video modules?
I would check : loopback networking; permissions on /etc/X11; I don't
like the compiler flags, but then it's a favourite target of those who
know little.

I would modprobe all conceivable modules first, then 

Try as user

startx > somefile 2>&1  && init 3

If X exits, that might just get you back. Anyhow, the file,
/var/log/Xorg.0.log and/or stdout (on the console you started X from)
might tell you something. Anuhow, your disasters might amuse us :-)

Another dodge would be to hack xorg.conf and comment out all the video
modules except the basic one for your card.

--

        With Best Regards,



        Declan Moriarty.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to