touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #64230
[Bug 794315] Re: lightdm forgets to source /etc/profile and ~/.profile
On 2015-03-22 20:02, seeker5528 wrote:
> Is it a prerequisite?
Maybe a bad choice of words.
> It was done in the past so there is a strong argument that is should
> continue.
Right.
> If it is Ubuntu policy that '~/.profile' get sourced by the display
> manger, ...
Well, I'm not the one who should make statements about the "policy", but
I made a couple of remarks below.
> https://help.ubuntu.com/community/EnvironmentVariables
>
> Gives the expectation it should work...
Actually I have edited that page, and in connection with doing so I
started a thread on the topic at the ubuntu-devel mailing list.
https://lists.ubuntu.com/archives/ubuntu-devel/2013-December/037899.html
> But right after they link to
>
> http://userbase.kde.org/Session_Environment_Variables/en
>
> Which does not say anything about '/etc/profile' or '~/.profile'.
>
> So should I take it that I should not expect kdm to source these files
> or is the sole purpose of the link to give you additional KDE specific
> options?
>
> And I don't see on the community documentation page anyting about
> '~/.xsessionrc' (Debian) or '~/.xprofile' (Redhat).
Well, the page is part of an Ubuntu resource, and not an everything
Linux ditto. It's also a wiki page, so you are free to edit it. ;) OTOH,
I doubt that adding info about all configuration file variants in every
Linux distro would be an improvement...
> More discussion there than should be had in a bug report for lightdm,
> presenting them here so the questions are out there for future thought.
Since this bug report was closed long ago, it's unlikely that this is a
proper place for your thoughts. I would recommend that you bring the
matter up on the ubuntu-devel or ubuntu-devel-discuss mailing list.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/794315
Title:
lightdm forgets to source /etc/profile and ~/.profile
Status in Light Display Manager:
Fix Released
Status in lightdm package in Ubuntu:
Fix Released
Status in lightdm package in Debian:
Confirmed
Bug description:
Binary package hint: lightdm
/etc/gdm/Xsession had this code:
# First read /etc/profile and .profile
test -f /etc/profile && . /etc/profile
test -f "$HOME/.profile" && . "$HOME/.profile"
# Second read /etc/xprofile and .xprofile for X specific setup
test -f /etc/xprofile && . /etc/xprofile
test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
so that, for example, ~/bin gets added to the path (by the default ~/.profile), and any user-customized environment setup gets run.
After switching from gdm to lightdm, this no longer happens. This is
going to be a regression now that lightdm is becoming the default
display manager.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 0.3.7-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39
Uname: Linux 2.6.39-3-generic x86_64
NonfreeKernelModules: openafs
Architecture: amd64
Date: Tue Jun 7 19:27:11 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.utf8
LC_MESSAGES=en_US.utf8
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/794315/+subscriptions