On Sat, 22 Sep 2001 10:19:28 -0600
Collins Richey <[EMAIL PROTECTED]> wrote:

> The following is an excerpt from my interchange with the linux-users
> group.  I'm hoping that someone with an xfce perspective may have some
> insight on this problem.  The basic problem is that when an xterm is
> started or a kde Konsole is started under xfce, any aliases in the
> profile (/etc/porfile .bashrc  .bash_profile) are ignored.  I have to
> manually enter source /etc/profile after the window appears.  Other
> statements in the profile (prompt, path, and variable settings) are
> processed without error.  If I enter su (and password), the aliases
> are honored.  If I login directly from a prompt (no X or xfce in the
> picture) the aliases are honored both for root and normal user.
> 
> Any clues?
>  
> 
> On Sat, 22 Sep 2001 03:02:17 +0000 Chris Kassopulo
> <[EMAIL PROTECTED]> wrote:
> 
> > On Fri, 21 Sep 2001 21:24:03 -0600
> > Collins Richey <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > 
> > > On Fri, 21 Sep 2001 14:47:50 +1130 Mike Andrew
> > <[EMAIL PROTECTED]>
> > > wrote:
> > > 
> > > > On Tuesday 18 September 2001 14:23, Collins Richey wrote:
> > > > > I have bash 2.04, and I can't find anyway to get the aliases
> > in
> > > > the
> > > > > profile to take effect for normal users.
> > > > >
> > > > .............
> > > > > If, however, I use su, ls is available immediately in color.
> > > > >
> > > > > Is this a bash bug, maybe?
> > > > [snipetty hack]
> > > > 
> > > > 
> > > > "su"  uses the existing users environment and paths
> > > > 
> > > > "su -"
> > > > 
> > > > uses root's bash script
> > > > 
> > > 
> > > Yes, but both sets of scripts are identical, namely both
> > .bash_profile
> > > and .bashrc in both /home/collins and /root are
> > > 
> > > #!/bin/bash -ls
> > > source /etc/profile
> > > 
> > > The alias ... statements take effect only when I use su or login
> > > directly as root.
> > > 
> > > 
> > > OK, here's the problem.  Direct login as root or normal user works
> > > aok.  xterm under xfce, or konsole under kde ignores the aliases
> > > during initial login; you have to manually issue source
> > /etc/profile. 
> > > It's not just my profile - any aliases you put in the profile will
> > be
> > > ignored.
> > > 
> > > How can I slay this beast?
> > > 
> > > 
> > > -- 
> > > Collins Richey
> > 
> > Interesting, on my system (vectorlinux 2.0):
> > 
> > /etc/profile has exports and paths that work and an alias that
> > doesn't
> > /etc/bashrc has exports and aliai that work
> > ~/.bashrc sources /etc/bashrc
> > /etc/profile is not sourced
> > 
> > Try putting the aliai in /etc/bashrc and source it from ~/.bashrc
> > 
> 
> Same results
> 
> ----- 
> Collins Richey

Try this:
http://lists.debian.org/debian-user/1999/debian-user-199906/msg00214.html

Sourcing from .xsession might be a work around till you find the real problem.

-- 
Chris Kassopulo

_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to