← Back to team overview

desktop-packages team mailing list archive

Re: [Bug 1322275] Re: lightdm sessions started by dm-tool lock (or a session locker) never get closed


* Jonathan Sahagun [2016-01-29 12:51:08 +0000]:
> In this file:
> /etc/xdg/xdg-xubuntu/lightdm/

You probably mean /etc/xdg/xdg-xubuntu/lightdm/lightdm-gtk-greeter.conf

> In line 27, in a default installation, it reads:
> show-indicators=power;~session;~language;~a11y;~power;
> Remove the first "power" entry, leaving only the built-in indicators:
> show-indicators=~session;~language;~a11y;~power;
> Save the file, and any subsequent lock screens and the processes they
> spawn should now exit properly upon screen unlock.

Not for me, they don't. (I rebooted after making the change you suggested
and before testing it.)

> Can you see if this solves the issue on your computers?

Here it doesn't. Of course there may be more than one issue. Could you look
at the end of your /var/log/lightdm/x-1-greeter.log{,.old} files? I'm still
seeing unity-greeter crash instead of exiting cleanly:

[+85,90s] WARNING: unity-greeter: Fatal IO error 11 (Resource
temporarily unavailable) on X server :1.

In my case the lingering processes are mostly indicator-sound and
indicator-bluetooth, with pulseaudio occasionally showing up too.
I'd happily turn these off too (especially the Bluetooth one for
which our workstations aren't supposed to have any hardware) but don't
see how.

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.

  lightdm sessions started by dm-tool lock (or a session locker) never
  get closed

Status in Light Display Manager:
Status in lightdm package in Ubuntu:
Status in upstart package in Ubuntu:

Bug description:
  dm-tool lock starts a new lightdm greeter (for unlocking) and a new
  logind session. After unlocking the greeter disappears, but the logind
  session never closes. loginctl session status c24 reports something

  c24 - lightdm (103)
             Since: Thu 2014-05-22 18:38:27 CEST; 30min ago
            Leader: 7872
              Seat: seat0; vc8
           Display: :1
           Service: lightdm-greeter; type x11; class greeter
             State: closing
            CGroup: systemd:/user/103.user/c24.session
                    └─7907 init --user --startup-event indicator-services-start

  This results in an accumulation of stale lightdm sessions after using
  e.g. a session locker for a while.

  I get this issue on a freshly installed and fully updated Xubuntu

To manage notifications about this bug go to: