[Pkg-xfce-devel] Bug#784158: lightdm: /etc/environment also not read

strk strk at kbt.io
Wed Dec 14 09:55:12 UTC 2016


Package: lightdm
Version: 1.10.3-3
Followup-For: Bug #784158

Dear Maintainer,

I was configuring a systemwide http proxy

I've added http_proxy env variable to /etc/environment

X application did not see the env variable, ssh sessions did

I expected X to also see the env variable

not sure if it's the same issue as the original bug report,
anyway adding a line to /etc/pam.d/lightdm and /etc/pam.d/lightdm-autologin
to do what the comment above pam_env.so line stated did fix the issue.


-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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+deb8u2
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:
ii  accountsservice  0.6.37-3+b1
ii  upower           0.99.1-3.2

-- Configuration Files:
/etc/lightdm/lightdm.conf changed:
[LightDM]
[SeatDefaults]
[Seat:0]
autologin-user = kodi
autologin-session = MATE
[XDMCPServer]
[VNCServer]

/etc/pam.d/lightdm changed:
auth      requisite pam_nologin.so
session    required     pam_env.so # [1]
auth      required pam_env.so envfile=/etc/default/locale
@include common-auth
-auth  optional pam_gnome_keyring.so
@include common-account
session  [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
session  required        pam_limits.so
session  required        pam_loginuid.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
-session optional        pam_gnome_keyring.so auto_start
@include common-password

/etc/pam.d/lightdm-autologin changed:
auth      requisite pam_nologin.so
session    required     pam_env.so # [1]
auth      required pam_env.so envfile=/etc/default/locale
auth      required pam_permit.so
@include common-account
session  [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
session  required        pam_limits.so
session  required        pam_loginuid.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
password  required pam_deny.so
@include common-password


-- debconf information:
  lightdm/daemon_name: /usr/sbin/lightdm
* shared/default-x-display-manager: lightdm



More information about the Pkg-xfce-devel mailing list