Shutdown button not working on LXDE environment

2014-05-15 Thread Divya Subramanian
Hi all,

I am working on porting debian wheezy to a13-olinuxino board. I am using
LXDE as desktop environment, openbox as windows manager. Shut Down button
doesn't work after I installed cairo-dock.

Earlier I had SysVinit as service manager, after which  I have installed
systemd. From the terminal I can shutdown using either systemctl shutdown
or init 0. Does that mean I have two service managers ?

can anyone help me ?

 Regards,

Divya Subramanian


Re: Shutdown button not working on LXDE environment

2014-05-15 Thread Paul Wise
Sounds like you installed systemd and are running that. systemd
supports `systemctl poweroff`, `init 0` and `shutdown -h now` as
shutdown methods.

I suggest you look at the apt history (/var/log/apt/history.log) and
try to figure out if any hardware-specific packages were removed. For
example on amd64 machines, acpid/acpi-support/acpi-support-base are
responsible for turning the button press event into shutdown.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAKTje6HnBwRn6ZH2onB6pcSEj1=9b7NuoRaJiOD-=p-umv0...@mail.gmail.com



Re: Shutdown button not working on LXDE environment

2014-05-15 Thread Divya Subramanian
I checked it but no such packages are removed.

Is there any other way to do so ?
Where does the shut down button from application menu mapsto ?



 Regards,

Divya Subramanian


On Thu, May 15, 2014 at 3:15 PM, Paul Wise p...@debian.org wrote:

 Sounds like you installed systemd and are running that. systemd
 supports `systemctl poweroff`, `init 0` and `shutdown -h now` as
 shutdown methods.

 I suggest you look at the apt history (/var/log/apt/history.log) and
 try to figure out if any hardware-specific packages were removed. For
 example on amd64 machines, acpid/acpi-support/acpi-support-base are
 responsible for turning the button press event into shutdown.

 --
 bye,
 pabs

 http://wiki.debian.org/PaulWise


 --
 To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/CAKTje6HnBwRn6ZH2onB6pcSEj1=9b7NuoRaJiOD-=p-umv0...@mail.gmail.com




Re: Shutdown button not working on LXDE environment

2014-05-15 Thread Paul Wise
On Thu, May 15, 2014 at 8:05 PM, Divya Subramanian wrote:

 I checked it but no such packages are removed.

Seems I was mistaken, I thought you were talking about a hardware button.

 Where does the shut down button from application menu mapsto ?

That depends on the software in question. At a guess, lxpanel is
package containing the shutdown button for LXDE. Looking at
codesearch.d.n for lxpanel I found that shutdown in lxpanel uses gdm
or hal. hal has been removed from Debian so I doubt you are using
that. IIRC gdm requires systemd interfaces. Searching the Internet for
systemd shutdown debian, I found some related links, including that
this is a known bug. The issue is that the LXDE support for
systemd/logind is buggy. Your options are to get an NMU of lxsession
with the Maeiga/upstream patch included, get involved in the LXDE team
and help them maintain it and fix the bug, switch back to sysvinit or
ignore it for now and use systemctl poweroff/init 0/shutdown -h now.

http://sources.debian.net/src/lxpanel/latest/debian/lxpanel.README.Debian
https://bugs.debian.org/730123
https://bugs.debian.org/731489

BTW: LXDE will be probably soon be removed from Debian to make way for
the rewrite called LXQt.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAKTje6F=d3bq4kfsh+lm6hmegrbsw5sx_vopbexdxstetik...@mail.gmail.com