On 04/01/14 19:36, Ken Moffat wrote:
> On Tue, Apr 01, 2014 at 06:15:05PM -0500,rhubarbpie...@gmail.com  wrote:
>> My BLFS 7.5 xterm displays a “sh-4.2#” prompt. My xterm prompt in BLFS
>> 7.4 is “/ >” and “PS1=”\w > “ is in my BLFS 7.5 /etc/bashrc file. In
>> addition to the wrong prompt, I can't “source” scripts, and receive
>> “file not found.” LFS 7.5 seems to be working fine, with the correct
>> prompt and without “file not found” or sourcing problems.
>> I've apparently done something wrong with X.  I've re-read the
>> documentation but am flat-out not seeing my error. What should I check?
>   Since you are running as root (the '#' in the prompt), check root's
> .bashrc (if it exists) and .bash_login.  In particular, check
> anything setting the path.  Also, if bash is invoked as 'sh' the
> behaviour is apparently different.  See the "source filename"
> explanation in 'man bash'.
>   Alternatively, perhaps ~/ (i.e. /root) is not writable by root.  Or
> even not readable.  I was going to suggest you checked that '/' and
> '/tmp' were not full [ that would be 100% full for root, including
> any reserved space ], but I guess that if X starts then it has
> managed to write in /tmp.
> ĸen

$PATH and .bashrc are identical on my BLFS 7.4 and 7.5 partitions. I see 
no .bash_login, but .bash_profile is identical between my partitions.

I can copy files between my BLFS 7.5 and other partitions.  That 
includes / and I can copy files between / and other directories on my 
BLFS 7.5 partition.

I should mention I can't even bring up an xterm window if I start X as a 
non-root user.  The window flashes briefly and disappears. Also, while 
using a root user xterm, I can't "source SomeScript.sh" but can 

I'm really at a loss as to how I messed this up.

FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to