[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#752129: Bug#752129: lightdm: Shell profile startup files not sourced on login



On Sat, 2014 Jun 21 10:33+0200, Yves-Alexis Perez wrote:
>
> /etc/profile is for login shell, I guess that's the reason?

Exactly. If I reconfigure my X terminal emulator to give me a login
shell, then my profile initializations are run---but they are then run
for every new shell I open, which is incorrect behavior. (It's not
uncommon to start up background programs and such [like ssh-agent] in
~/.profile, as the file is by definition supposed to be run once per
login session.)




Reply to: