[Bug 1005813] Re: Locking session leads to stale X server

2013-03-27 Thread Peter de Ridder
I can confirm the session lock is fixed with 1.5.2
No stale greeter.
I also tested with SwitchToGreeter, that was indeed working properly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005813

Title:
  Locking session leads to stale X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1005813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005813] Re: Locking session leads to stale X server

2013-03-26 Thread Robert Ancell
Geoff, your report confirms you are getting the correct behaviour. I'll
assume that MNLipp is also seeing the same thing based on their
comments. The issue you have reported about not being able to shutdown
sounds like bug 861171. It makes sense that you can't shutdown from the
greeter because another user is logged in, however the greeter should
report this case and/or allow you to override this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005813

Title:
  Locking session leads to stale X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1005813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005813] Re: Locking session leads to stale X server

2013-03-26 Thread Peter de Ridder
I was able to run the test after all.
I added the tests to patched lightdm I'm using.
All but one of the test-switch-to-greeter tests pass.

test-switch-to-greeter-return-session fails after *STOP-DAEMON:
...
*GREETER :51 START-SESSION
GREETER :51 TERMINATE SIGNAL=15
XSERVER :51 TERMINATE SIGNAL=15
*STOP-DAEMON
SESSION :50 TERMINATE SIGNAL=15
XSERVER :51 TERMINATE SIGNAL=15
^^^ expected (SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15)

Although this fails, the log still shows that the second greeter is
terminated here. Which differs from the manual test.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005813

Title:
  Locking session leads to stale X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1005813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005813] Re: Locking session leads to stale X server

2013-03-26 Thread Robert Ancell
Peter,

That particular bug is due to the X server being sent SIGTERM twice
which occurred when using the patch you had. It should be fixed in
revision 1620 [1].

[1] http://bazaar.launchpad.net/~lightdm-
team/lightdm/trunk/revision/1620

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005813

Title:
  Locking session leads to stale X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1005813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005813] Re: Locking session leads to stale X server

2013-03-26 Thread Robert Ancell
Fixed in lightdm 1.5.2

** Changed in: lightdm
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005813

Title:
  Locking session leads to stale X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1005813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005813] Re: Locking session leads to stale X server

2013-03-26 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/lightdm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005813

Title:
  Locking session leads to stale X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1005813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1005813] Re: Locking session leads to stale X server

2013-03-26 Thread Launchpad Bug Tracker
This bug was fixed in the package lightdm - 1.5.2-0ubuntu1

---
lightdm (1.5.2-0ubuntu1) raring; urgency=low

  * New upstream bugfix release:
* Fix stale X server being left behind when using LockSession D-Bus API
  (LP: #1005813)
* Adjust AppArmor profile to also work with logind
* Don't use GIO to access X authority files - it uses GVFS which is
  unnecessary overhead/complexity
* Handle over/underflows when reading from greeter
* Improve warning message when XDMCP packet has length mismatch
* Only report test command line if it fails
* Add more regression tests
 -- Robert Ancell robert.anc...@canonical.com   Wed, 27 Mar 2013 14:44:44 
+1300

** Changed in: lightdm (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1005813

Title:
  Locking session leads to stale X server

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1005813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs