Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This 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.


  Search this Thread
Old 04-18-2005, 10:26 AM   #1
LQ Newbie
Registered: Apr 2005
Location: Southeast Michigan
Distribution: Fedora-->LFS
Posts: 1

Rep: Reputation: 0
Error encountered in LFS v6.0 Ch. 4 .bash_profile

Can anyone help me? I loaded Red Hat Fedora on my system, then followed v. 6.0 of the LFS book up to Chapter 4.4, Setting up the Environment. When I set up the two profile files, I am unable to log into Fedora with the new userid I created for LFS. I've narrowed the problem down to the one line in .bash_profile,

exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash

When I try to log on with this line in .bash_profile, Fedora tells me that my logon lasted less than 10 seconds, along with some error about "X", and keeps me at the logon screen. I can actually logon in what I believe is Failsafe Mode, but that just gives me a small terminal window in the bottom right-hand corner.

Has anyone heard of this problem before? Should I just try to continue on through Chapter five and try to construct a temporary system from my little terminal window in Failsafe mode?
Old 04-18-2005, 11:44 AM   #2
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you could create a .xinitrc file and launch something from there, or launch it right out of the terminal ( e.g. "gnome-session" or " startkde")
Old 04-19-2005, 10:54 AM   #3
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I don't understand....
When I set up the two profile files, I am unable to log into Fedora with the new userid I created for LFS.
What does the new userid have to do with your host? Thats on your LFS system. You need to set up GRUB to have an entry for LFS and then boot directly into LFS.... I'm confused... Nevermind... You are just starting.... Sorry, I just woke up...

Last edited by jong357; 04-19-2005 at 10:57 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs-6.1 Patch-2.5.4 //ERROR or No ERROR?? ukyo Linux From Scratch 1 08-25-2005 08:34 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 03:23 AM
While trying to retrieve the URL: /reports The following error was encountered: Niceman2005 Linux - General 4 05-27-2005 07:55 PM
.profile & .bash_profile on $LFS cbates55 Linux - Distributions 1 01-02-2002 03:25 PM
$LFS Error cbates55 Linux - Distributions 10 12-29-2001 11:24 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration