<div dir="ltr"><div><div><div>Thanks Martin,<br><br></div>Sorry for the large delay, I haven't had an in-depth look at this. Does revision 1569 [1] also fix the issue?<br></div><br></div>-Robert<br><div><br>[1] <a href="http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/1569">http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/1569</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 December 2012 01:54, Martin Briza <span dir="ltr"><<a href="mailto:mbriza@redhat.com" target="_blank">mbriza@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Robert,<br>
<br>
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.<br>
If you manage to write a cleaner one, please let me know.<br>
<br>
Thank you,<br>
Martin Bříza<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, 27 Nov 2012 09:36:52 +0100, Robert Ancell <<a href="mailto:robert.ancell@gmail.com" target="_blank">robert.ancell@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Confirmed. Thanks Martin!<br>
<br>
The cause seems quite clear now, LightDM is not detecting the VT switches<br>
so when the session exits LightDM thinks it is a background session and<br>
doesn't start a greeter (it thinks you are looking at the other session).<br>
The reason I haven't seen this is we are using the switch D-Bus calls in<br>
LightDM for VT switching in Unity and so LightDM knows which session is<br>
active. Using ConsoleKit or logind or doing the VT switches manually will<br>
trigger the problem.<br>
<br>
I think this may be the cause of:<br>
<a href="https://bugs.launchpad.net/lightdm/+bug/851612" target="_blank">https://bugs.launchpad.net/<u></u>lightdm/+bug/851612</a></blockquote>
</div></div></blockquote></div><br></div>