Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 2 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm pretty new to Linux, though I've very casually used it off and on for a few years. But I've decided to finally make the move from Windows and I thought it would be a great learning experience to try Linux From Scratch.
Well, it sure has been a great experience so far. I decided to use the User Package Management System (which may have a bearing on my problem) on this first time through (it's the one where each package that you install is done so under a different user and so on, it's also the one they talk about in the LFS book).
All has gone well until now. I've got a good system installed with X, Fluxbox and KDE all working. I even have got my wireless working (via ndiswrapper) and some other stuff. But I've got to the point where I really wanted to start using this system in my everyday life, so I thought I'd create a normal (non-root) account and this is where I've run into problems.
The new user account seems to work okay until I try to run X. When I do this I get the following error.
Cannot move old log file /var/log/Xorg.0.log to /var/log/Xorg.0.log.old
Now, I CAN change the permissions on the /var/log folder to let anyone do anything to it (likely a bad idea) and X will load past this point. But it will then fail later down the line in the loading process. So the problem has something to do with the way I've set up this user.
Also, I checked a Gentoo installation and the /var/log seems to have the same permissions that my folder has, so that's not it. Like I said, it's got to be something with the way I've set up the user, or X or something.
Maybe I've just simply forgotten something very basic and boneheaded, something that is just assumed everyone should know.
Right now I'm back in Window (in VISTA no less) writing this because I don't like surfing the net as root. It's very depressing.
All has gone well until now. I've got a good system installed with X, Fluxbox and KDE all working.
Now that's impressive. Kudos.
Anyway it sounds as if the X binary has inappropriate permissions. Find $XORG_PREFIX/bin/X and ensure it is owned by root:root and has 6755 permissions (rwsr-sr-x).
I'm just going by X on my system. I didn't have to change any permissions manually. It may well have something to do with the "User Package Management System". If it is what I think it is (will do some reading later), then you may run into more problems with programs that have to run suid.
DAWS, your ROCK!! I don't know what I was thinking before, I swear I tried you suggestion correctly, but I guess I didn't. Anyway, after struggling for awhile after you made you suggestion I came back and tried it again (actaully for the first time, but I thought it was 'again') and everything worked fine. So thank you for all your help!
I've had to make similar changes to kde to get it to run with normal user too.