Your message dated Mon, 14 Nov 2022 13:59:50 +0100
with message-id <[email protected]>
and subject line Re: Bug#1024073: lightdm on debian does not source ~/.profile
has caused the Debian Bug report #1024073,
regarding lightdm on debian does not source ~/.profile
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1024073: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024073
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lightdm
Version: 1.26.0-7
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
it seems that *lightdm* still does not source ~/.profile .
Steps to reproduce:
1. Create script in ~/bin and desktop-file for it
```
mkdir ~/bin
cat <<EOF > ~/bin/mew
#!/bin/bash
zenity --info --text "Mew!"
EOF
chmod +x ~/bin/mew
source ~/.profile
mew
cat <<EOF > ~/Desktop/mew.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Icon=/usr/share/icons/mate/32x32/apps/access.png
Icon[en_US]=/usr/share/icons/mate/32x32/apps/access.png
Name[en_US]=mew
Exec=mew
Terminal=false
Name=mew
EOF
sudo reboot
```
2. Double click on *mew* desktop file on Desktop
Expected results:
* zenity window is shown
Actual results:
* error is shown "There was an error launching the application."
Additional details:
1. I can't understand what makes you unique from Ubuntu. They source needed
files - see https://github.com/canonical/lightdm/blob/main/debian/lightdm-
session#L38 .
2. The same happens on Debian 10.
3. This problem prevents normal usage of Ubuntu Make on Debian - see
https://github.com/ubuntu/ubuntu-make/issues/678 .
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-18-amd64 (SMP w/1 CPU thread)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lightdm depends on:
ii adduser 3.118
ii dbus 1.12.20-2
ii debconf [debconf-2.0] 1.5.77
ii libaudit1 1:3.0-2
ii libc6 2.31-13+deb11u4
ii libgcrypt20 1.8.7-6
ii libglib2.0-0 2.66.8-1
ii libpam-systemd [logind] 247.3-7+deb11u1
ii libpam0g 1.4.0-9+deb11u1
ii libxcb1 1.14-3
ii libxdmcp6 1:1.1.2-3
ii lightdm-gtk-greeter [lightdm-greeter] 2.0.8-2
ii lsb-base 11.1.0
Versions of packages lightdm recommends:
ii xserver-xorg 1:7.7+22
Versions of packages lightdm suggests:
ii accountsservice 0.6.55-3
ii upower 0.99.11-2
pn xserver-xephyr <none>
-- debconf information:
shared/default-x-display-manager: lightdm
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
control: tag -1 wontfix
On Mon, 2022-11-14 at 15:27 +0300, nrbrtx wrote:
> it seems that *lightdm* still does not source ~/.profile .
Hi,
I think there are already some duplicated about this, but yes, ~/.profile is
not a LightDM configuration file so it doesn't have any reason to read it.
/etc/profile (and ~/.profile for some extent) is a bash (or at least login
shell) configuration file.
Regards,
- --
Yves-Alexis
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmNyO8YACgkQ3rYcyPpX
RFv1aAf+Pzv0B+Snvai9cbotFBXCL/Hc4JZB18a7SFwdct4J+JKy4o5jiuc+o6Kw
qHAqLDDpPsP4ekn1C94Z1LiJTNLa+XN62JoTKarnnojY+E4YueGQj5lclqtAUeqp
RyhpHm2ggkWH7joNpaIHCFDvkIOLqQZWdQ22k6ewKp8+qKQPatrxgBANjPR7UsEP
Cel7Y/OTyM/cF3gg1HgZ2PodKZtHtWDHDSsj55AjJk0nngJCPwx/PVQM4BMJyQOD
RrcG9yYfjo/ZHrcX3IlFv86U12FXfI1jrnMcHL5ElLOGqLvPJnx6ob0MvpOBH7JT
dNe6mABaZU0mFGycDMtM8N5HZ2YYdg==
=U3TS
-----END PGP SIGNATURE-----
--- End Message ---