[Pkg-xfce-devel] Bug#729081: Suspend not working when closing lid

Omen Nemo serv994 at gmail.com
Sat Apr 19 09:22:15 UTC 2014

After a massive upgrade from gnome 2.xx to a nearly completely
up-to-date unstable mate+lightdm, closing the lid fails to suspend as
set in mate-power-preferences.
The acpi event is correctly detected:

# acpi_listen
button/lid LID close
button/lid LID open

but I see the following:

Apr 19 02:42:15 machine dbus[2295]: [system] Activating service
name='org.freedesktop.systemd1' (using servicehelper)
Apr 19 02:42:15 machine dbus[2295]: [system] Activated service
'org.freedesktop.systemd1' failed: Launch helper exited with unknown
return code 1
Apr 19 02:42:15 machine console-kit-daemon[2796]: GLib-CRITICAL:
Source ID 4916 was not found when attempting to remove it

Looking at the thread for the various related bugs, maybe the
following information will help:

# ck-list-sessions
unix-user = '1000'
realname = 'omen'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2014-04-19T07:53:27.417773Z'
login-session-id = '1'

# loginctl list-users
       UID USER
      1000 omen
       108 lightdm

# dpkg -l |egrep 'consolekit|policykit|systemd|ck-conn'
ii  consolekit                             0.4.6-4
       i386         framework for defining and tracking users,
sessions and seats
ii  libck-connector0:i386                  0.4.6-4
       i386         ConsoleKit libraries
ii  libpam-ck-connector:i386               0.4.6-4
       i386         ConsoleKit PAM module
ii  libpam-systemd:i386                    204-8
       i386         system and service manager - PAM module
ii  libsystemd-daemon0:i386                204-8
       i386         systemd utility library
ii  libsystemd-id128-0:i386                204-8
       i386         systemd 128 bit ID utility library
ii  libsystemd-journal0:i386               204-8
       i386         systemd journal utility library
ii  libsystemd-login0:i386                 204-8
       i386         systemd login utility library
ii  policykit-1                            0.105-4
       i386         framework for managing administrative policies and
ii  policykit-1-gnome                      0.105-2
       i386         GNOME authentication agent for PolicyKit-1
ii  systemd                                204-8
       i386         system and service manager
ii  systemd-ui                             3-1
       i386         graphical frontend for systemd

# cat /etc/pam.d/common-session |grep  'pam_systemd'
session optional pam_systemd.so

I have console-kit-daemon running:
 2918 ?        Sl     0:00 /usr/sbin/console-kit-daemon --no-daemon


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.51-xps (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lightdm depends on:
ii  adduser                                3.113+nmu3
ii  consolekit                             0.4.6-4
ii  dbus                                   1.8.0-3
ii  debconf [debconf-2.0]                  1.5.52
ii  libc6                                  2.17-97
ii  libgcrypt11                            1.5.3-4
ii  libglib2.0-0                           2.40.0-2
ii  libpam0g                               1.1.8-3
ii  libxcb1                                1.10-2
ii  libxdmcp6                              1:1.1.1-1
ii  lightdm-gtk-greeter [lightdm-greeter]  1.8.3-1

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

Versions of packages lightdm suggests:
pn  accountsservice  <none>
ii  upower           0.9.23-2+b2

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

More information about the Pkg-xfce-devel mailing list