[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#732623: Bug#732623: lightdm-gtk-greeter: Hibernate and Restart buttons disappear after first login/logout



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Fri, Dec 20, 2013 at 04:53:59PM +0100, Vincent Lefevre wrote:
> Control: reassign -1 lightdm 1.8.5-2
> Control: retitle -1 lightdm_get_can_hibernate and lightdm_get_can_restart return FALSE after first login/logout
> 
> On 2013-12-19 15:09:01 +0100, Vincent Lefevre wrote:
> > Package: lightdm-gtk-greeter
> > Version: 1.6.1-4
> > Severity: normal
> > 
> > Initially the following buttons are present in the top-right menu:
> > 
> > Suspend
> > Hibernate
> > Restart...
> > Shutdown...
> > 
> > But after the first login/logout, the Hibernate and Restart ones
> > disappear. I don't see any reason for that.
> 
> This is not a bug in lightdm-gtk-greeter itself, as the greeter
> just calls the lightdm_get_can_* functions to decide whether the
> menu items should be visible or not.
> 
> If I modify the liblightdm-gobject/power.c lightdm file to return
> TRUE in all these functions, the problem no longer occurs. So, this
> confirms that the problem comes from there. Thus reassigning.
> 
> I've tried to add some debug messages in these functions, but they
> do not appear in the log files! I've attached the patch I've used.

Well, that confirms logind disable suspend/hibernate/shutdown. If it's
not a gnupg issue, check if something else is holding the previous
session?
- -- 
Yves-Alexis Perez
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQEcBAEBCgAGBQJStNORAAoJEG3bU/KmdcCl+xUH/1Rud7QzxAdqefFQJ1VUsoEZ
6dL/kua4Z/ARqSgVFai6naurlcXZ6uthUgtmJbi5br/dV7P4e/QV981JQldo++l9
QUJK89AvJ+WOTXjn1u5IXa2/kMRn21DPZC3BJiKp2KztxKpOg1v2IHe2vqLn58Kd
9YUI/JY7YeqEWJA1vSDTG3AFBOg+tPVmyUR8SbhkzmO5lA/4JUxOAuQJIY3/mZMQ
Sh0tyej9ZaYspJb8JhxUCRmv40HPnh/xJoKF69FSLMK17XstjDCJDVN6I8Ktb1LC
ZFOJrUOPezfCL4DN/gK8gTmu5zyI6/RnORIXbzyORwC0abXT/6SPAu0lgdD2ZBc=
=/TOg
-----END PGP SIGNATURE-----




Reply to: