[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#940996: lightdm: when resuming from ram, user desktop appears for 1sec before getting prompted for a password



Package: lightdm
Version: 1.26.0-6
Severity: important
Tags: patch

Dear Maintainer,

When I suspend to ram (eg, by closing the lid), then wake up, I see the last
state of my screen (desktop with open applications) for ~1sec before getting
the lightdm password prompt.
I don't know if my session is properly locked during that time, but for sure it
releases information which I would expect to be protected by proper screen
locking.

Configuration: ligthdm + xfce + lightlocker (thus I'm not sure against which
package to report the bug)

I suspect the `lid close' event is handled by systemd to suspend before
xfce/lightdm has a chance to lock the screen

Temporary fix: run [light-locker-command -l] or [xfce4-session-logout -u]
before closing the lid


   * What led up to the situation?
apt-get dist-upgrade in August (was working properly before, both with buster
and right after upgrading to bullseye - say in July)

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?
tried to play with the various configuration options in xfce-power-management
also tried to play with commands like [xfconf-query -c xfce4-power-manager -p
/xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true], as mentioned
here
https://askubuntu.com/questions/460101/xfce4-power-manager-suspend-not-
available-for-lid-close

so far I couldn't find a configuration that properly locks the screen when I
just close the lid

Best,
Damien



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /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.16-1
ii  debconf [debconf-2.0]                  1.5.73
ii  libaudit1                              1:2.8.5-2
ii  libc6                                  2.29-1
ii  libgcrypt20                            1.8.5-2
ii  libglib2.0-0                           2.60.6-2
ii  libpam-systemd [logind]                242-7
ii  libpam0g                               1.3.1-5
ii  libxcb1                                1.13.1-2
ii  libxdmcp6                              1:1.1.2-3
ii  lightdm-gtk-greeter [lightdm-greeter]  2.0.6-1
ii  lsb-base                               11.1.0

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

Versions of packages lightdm suggests:
ii  accountsservice  0.6.45-2
ii  upower           0.99.11-1
pn  xserver-xephyr   <none>

-- Configuration Files:
/etc/lightdm/lightdm.conf changed:
[LightDM]
[Seat:*]
greeter-hide-users=false
greeter-allow-guest=false
[XDMCPServer]
[VNCServer]

/etc/lightdm/users.conf changed:
[UserList]
minimum-uid=500
hidden-users=nobody nobody4 noaccess bench
hidden-shells=/bin/false /usr/sbin/nologin /sbin/nologin


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


Reply to: