Comment 12 for bug 1322275

Revision history for this message
Sergio Gelato (sergio-gelato) wrote : 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.