Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165838

Re: User's bin path not recognised in login script

From Seeker <seeker5528@comcast.net>
Newsgroups linux.debian.user
Subject Re: User's bin path not recognised in login script
Date 2016-03-22 21:20 +0100
Message-ID <rfAWu-1e6-21@gated-at.bofh.it> (permalink)
References <rfcAO-Zv-17@gated-at.bofh.it> <rfkoG-6ju-5@gated-at.bofh.it> <rfznI-af-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 3/22/2016 11:20 AM, Russell Gadd wrote:
>
> Thanks for the export point which I have now used. However it doesn't 
> solve the problem.
>
> I experimented by adding the following line into ~/.bash_profile, 
> ~/.profile and ~/.bashrc:
> echo "This is <scriptname>" &>>/tmp/out.txt
>
> Neither of the profile files triggered the output, nor did .bashrc 
> until I manually opened a Mate terminal from the desktop. So it 
> appears that the profile files do not get invoked at any time.
>
> I've even tried changing the PATH which is set at the top of 
> /etc/profile, but this doesn't work either, so it looks like profile 
> files are ignored altogether.
>

I did a search using terms that seemed like likely suspects if I 
expected the login shell stuff to get
sourced when a display manager is handling the login instead of the shell.

The first page of results I got where some combination of old, 
incomplete, and/or GDM specific.
Even in the GDM case, I'm not sure if the documentation is correct for 
current versions of GDM
since I have not used GDM for a long time.

Sourcing '~/.profile' when the shell is not your login was more of a 
Redhat thing that other
distributions may or may not do.

I did see some bug reports which would probably have some relevant 
information in the
responses.

Create '~/.xprofile' and put your export commands and extra non-desktop 
specific stuff you
  always want to run there.

https://wiki.archlinux.org/index.php/xprofile

Later, Seeker

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-21 19:20 +0100
  Re: User's bin path not recognised in login script Sven Arvidsson <sa@whiz.se> - 2016-03-21 19:30 +0100
  Re: User's bin path not recognised in login script David Christensen <dpchrist@holgerdanske.com> - 2016-03-22 03:40 +0100
    Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 19:40 +0100
      Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-22 20:00 +0100
        Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 23:50 +0100
          Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-23 03:50 +0100
          Re: User's bin path not recognised in login script David Wright <deblis@lionunicorn.co.uk> - 2016-03-24 01:30 +0100
            Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-24 01:40 +0100
            Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-24 09:30 +0100
      Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 21:20 +0100
        Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 23:50 +0100
      Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 22:10 +0100
      Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 22:30 +0100
      Re: User's bin path not recognised in login script seeker5528@comcast.net - 2016-03-22 22:50 +0100
        Re: User's bin path not recognised in login script Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-23 00:00 +0100

csiph-web