[Pkg-xfce-devel] Bug#807001: lightdm fails to register user-sessions

Daniel Reichelt debian at nachtgeist.net
Thu Dec 3 23:00:58 UTC 2015


Package: lightdm
Version: 1.10.3-3
Severity: important

Hi,

this system is Jessie with lightdm, sysvinit-core and systemd-shim installed,
running sysvinit-core's /sbin/init.


After booting, lightdm works fine. After doing a `/etc/init.d/lightdm restart`,
whenever I log on with the username user, policykit fails miserably, leaving
e.g. USB-(un-)mounting or NetworkManager completely useless. E.g. on trying to
disconnect eth0, nm says "(32) org.freedesktop.NetworkManager.network-control
request failed: not authorized"



Only when lightdm gets started from init, everything works fine again, e.g. by
reboot or by issuing `init S; init 2`



Here's the output of `loginctl show-session $XDG_SESSION_ID` in either case:

--------8<--------- lightdm with borked user-session ----------
Id=12
Name=root
Timestamp=Thu 2015-11-26 15:18:17 CET
TimestampMonotonic=368883785
VTNr=1
TTY=/dev/tty1
Remote=no
Service=login
Scope=session-12.scope
Leader=10652
Audit=12
Type=tty
Class=user
Active=no
State=online
IdleHint=no
IdleSinceHint=1448547576672000
IdleSinceHintMonotonic=448499146
--------8<--------- end lightdm with borked user-session -----

--------8<--------- lightdm with working user-session ---------
Id=16
Name=user
Timestamp=Thu 2015-11-26 15:21:07 CET
TimestampMonotonic=539246920
VTNr=7
Display=:0
Remote=no
Service=lightdm
Scope=session-16.scope
Leader=13916
Audit=16
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
--------8<--------- end lightdm with working user-session -----


The leader PIDs from above are:
10652: /bin/login --
13916: lightdm --session-child...



`groups user` says:
--------8<---------
user : user adm cdrom floppy sudo audio dip video plugdev netdev lpadmin
scanner kvm ssh bluetooth debian-tor wireshark
--------8<---------



Installed sysvinit/systemd packages:
--------8<---------
# dpkg -l | grep -e sysv -e systemd
ii  libpam-systemd:amd64                            215-17+deb8u2                amd64                        system and service manager - PAM module
ii  libsystemd0:amd64                               215-17+deb8u2                amd64                        systemd utility library
ii  libsystemd0:i386                                215-17+deb8u2                i386                         systemd utility library
ii  live-config-sysvinit                            4.0.4-1                      all                          Live System Configuration Components (sysvinit backend)
ii  systemd                                         215-17+deb8u2                amd64                        system and service manager
ii  systemd-shim                                    9-1                          amd64                        shim for systemd
ii  sysv-rc                                         2.88dsf-59                   all                          System-V-like runlevel change mechanism
ii  sysvinit-core                                   2.88dsf-59                   amd64                        System-V-like init utilities
ii  sysvinit-utils                                  2.88dsf-59                   amd64                        System-V-like utilities
--------8<---------



Let me know if you need further information.

Thanks
Daniel






-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

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+deb8u1
ii  libgcrypt20                            1.6.3-2
ii  libglib2.0-0                           2.42.1-1
ii  libpam-systemd                         215-17+deb8u2
ii  libpam0g                               1.1.8-3.1
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

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



More information about the Pkg-xfce-devel mailing list