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

[Pkg-xfce-devel] Bug#643292: Bug#643292: lightdm: empty shutdown menu

On Wed, 28 Sep 2011 22:41:19 +0200, Yves-Alexis Perez <corsac at debian.org> wrote:
> On mar., 2011-09-27 at 04:47 +0300, Dmitry Kurochkin wrote:
> > 
> > lightdm has empty shutdown menu (i.e. there is the menu icon in top
> > right corner, but an empty menu is opened when you click on it).  This
> > happened on a freshly installed minimal Debian unstable system, so I
> > guess I have some package(s) missing.  But I have no idea which one. 
> Is it only on gtk greeter? Could you try with qt one? My guess is a
> permission issue (like if you can't shutdown/restart/whatever) but I
> fail to see why.

I did not try the qt greeter.  And I do not see the issue anymore,
apparently because I installed more packages on the system.  I can try
reproducing it in a VM but it seems that "looking at source code" method
should be more straightforward, especially if you know it.

I agree that it looks like a permission issue of some sort.  But I did
not see any related warnings or errors in lightdm log.  If lightdm just
executes shutdown command directly, I would expect to see the menu items
but get permission error when I try to run it.  Since there is no items
in the menu, that means lightdm does some check like "am I allowed to
shutdown?" or receives a list of shutdown commands from an external

I think it is fine for lightdm to not allow shutdown.  But it should not
display the shutdown menu icon if it is empty.  Besides a notice in the
log may be useful.  And the Debian package should recommend/suggest
appropriate package to get the shutdown functionality.

My primary suspects for required Debian package(s) is something related
to PolicyKit or ConsoleKit.


> Regards,
> -- 
> Yves-Alexis

Reply to: