[Pkg-xfce-devel] Bug#826397: lightdm: Environment is not overridden for greeter session

Vladimir Kudrya pzs-fs at yandex.ru
Sun Jun 5 09:38:31 UTC 2016


Package: lightdm
Version: 1.10.3-3
Severity: normal

Dear Maintainer, I'm trying to set custom language of lightdm greeter
while leaving system-wide defaults alone. Lightdm manual suggests that
it takes language from /etc/environment, so it should be possible to
override them in /var/lib/lightdm/.pam_environment. Same mechanism was
suggested on Archlinux forums: https://bbs.archlinux.org/viewtopic.php?id=165381
But that does not happen. Greeter process is started with system-wide
language variables. Perhaps some debian-related mechanism is involved.

/etc/environment: empty

/etc/default/locale:

	#  File generated by update-locale
	LANG=en_DK.UTF-8
	LANGUAGE="en_DK:en"

/var/lib/lightdm/.pam_environment:

	LANG=ru_RU.UTF-8
	LANGUAGE=ru_RU:ru
	LC_TIME=en_DK.UTF-8

Expected results: greeter starts with LANG=ru_RU.UTF-8...
Actual results: greeter starts with LANG=en_DK.UTF-8...

-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable'), (400, 'testing'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lightdm depends on:
ii  adduser                                3.113+nmu3
ii  dbus                                   1.8.20-0+deb8u1
ii  debconf [debconf-2.0]                  1.5.56
ii  libc6                                  2.19-18+deb8u4
ii  libgcrypt20                            1.6.3-2+deb8u1
ii  libglib2.0-0                           2.42.1-1+b1
ii  libpam-systemd                         215-17+deb8u4
ii  libpam0g                               1.1.8-3.1+deb8u1+b1
ii  libxcb1                                1.10-3+b1
ii  libxdmcp6                              1:1.1.1-1+b1
ii  lightdm-gtk-greeter [lightdm-greeter]  1.8.5-2

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+7

Versions of packages lightdm suggests:
pn  accountsservice  <none>
ii  upower           0.99.1-3.2

-- Configuration Files:
/etc/lightdm/lightdm.conf changed [not included]

-- debconf information excluded



More information about the Pkg-xfce-devel mailing list