[LightDM] systemd cooperation

Martin Briza mbriza at redhat.com
Wed Dec 12 01:54:30 PST 2012


Hello Robert,

I'm sending a quick fix to this issue. It's kinda dirty as it compares tty  
strings but it works quite reliably (definitely more than the code before)  
as the tty string is generated in the same way.
If you manage to write a cleaner one, please let me know.

Thank you,
Martin Bříza

On Tue, 27 Nov 2012 09:36:52 +0100, Robert Ancell  
<robert.ancell at gmail.com> wrote:

> Confirmed. Thanks Martin!
>
> The cause seems quite clear now, LightDM is not detecting the VT switches
> so when the session exits LightDM thinks it is a background session and
> doesn't start a greeter (it thinks you are looking at the other session).
> The reason I haven't seen this is we are using the switch D-Bus calls in
> LightDM for VT switching in Unity and so LightDM knows which session is
> active. Using ConsoleKit or logind or doing the VT switches manually will
> trigger the problem.
>
> I think this may be the cause of:
> https://bugs.launchpad.net/lightdm/+bug/851612
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lightdm-1.4.0-active-display.patch
Type: application/octet-stream
Size: 1600 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20121212/0539dcdf/attachment.obj>


More information about the LightDM mailing list