LXDE doesn't shutdown or reboot

Everything about X, Gnome, KDE, ... and everything running on it

LXDE doesn't shutdown or reboot

Postby thomthomthom » 2013-12-02 21:54

I am running a Debian Testing box and shutdown and reboot aren't working at all. When I in click restart/shutdown button, nothing happens.

This tip doesn't work: http://wiki.lxde.org/en/Debian#Configur ... nd_Suspend

What should I do?

Thanks.
thomthomthom
 
Posts: 7
Joined: 2013-07-21 17:49

Re: LXDE doesn't shutdown or reboot

Postby ted209 » 2013-12-05 16:49

I'm stuck on this too. Will try digging into my Lubuntu 13.10 install tonight to see if I can find the solution.
ted209
 
Posts: 1
Joined: 2013-11-29 19:19

Re: LXDE doesn't shutdown or reboot

Postby thomthomthom » 2013-12-05 20:47

I think it's time to report a bug ... I'll do that, would you comment ted209 if I open a bug report ?
Thanks.

EDIT:
Please ted209, add your information there: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731489
Thank you!
thomthomthom
 
Posts: 7
Joined: 2013-07-21 17:49

Re: LXDE doesn't shutdown or reboot

Postby mdmarmer » 2013-12-08 20:23

I am also running LXDE with Debian Testing and the Shutdown/Reboot panel takes longer to appear after I click Logout, but it does work.
mdmarmer
 
Posts: 16
Joined: 2009-10-13 15:31

Re: LXDE doesn't shutdown or reboot

Postby thomthomthom » 2013-12-08 21:07

How long does it take there?
Here, the menu appears fast. When I click in shutdown/reboot the action does not occur.
Thanks.
thomthomthom
 
Posts: 7
Joined: 2013-07-21 17:49

Re: LXDE doesn't shutdown or reboot

Postby Titania » 2013-12-08 21:22

Is your sudo configured to give you shutdown privileges? Add this to /etc/sudoers (replace FULANO with your user name)

Code: Select all
# allow FULANO to shutdown
FULANO ALL=(ALL) NOPASSWD:/sbin/shutdown


If all else fails, you can replace the LXDE shutdown thing with this handy python thingy which I use on two of my boxen:

https://github.com/doorknob60/pygtk-shutdown
Debian Jessie w/ Openbox on dinosaur hardware.
User avatar
Titania
 
Posts: 25
Joined: 2013-11-23 23:30
Location: USA

Re: LXDE doesn't shutdown or reboot

Postby mdmarmer » 2013-12-29 23:57

Apparently there is still a bug with the shutdown/reboot buttons. I have LXDE installed on 4 computers, shutdown/reboot works on 3 of them but i have the problem on the other one. I'll post back if i solve this.
The solution for me was
apt-get purge systemd
--------------------------------------
If you remove systemd the buttons will use consolekit, which they apparently need
Here's the open bug report:
https://bugs.mageia.org/show_bug.cgi?id=11158
mdmarmer
 
Posts: 16
Joined: 2009-10-13 15:31

Re: LXDE doesn't shutdown or reboot

Postby BoDiddley » 2014-01-02 06:11

I am running wheezy/LXDE - I removed my display manager, because I do not like the overhead, simply to give you a box to log in to. I want to be as stripped down as possible.

Long story short, I no longer have a shutdown/reboot option from my programs menu - logout only.

I simply - #init 0 (for shutdown); #init 6 (for reboot) or #shutdown -h 60 (to shutdown in 60 minutes). #shutdown -h now (for immediate shutdown). All as root.

No problems.
"Wisdom is justified of all her children."
User avatar
BoDiddley
 
Posts: 137
Joined: 2011-08-29 00:39

Re: LXDE doesn't shutdown or reboot

Postby llivv » 2014-01-02 06:36

BoDiddley wrote:I am running wheezy/LXDE - I removed my display manager, because I do not like the overhead, simply to give you a box to log in to. I want to be as stripped down as possible.

Long story short, I no longer have a shutdown/reboot option from my programs menu - logout only.

I simply - #init 0 (for shutdown); #init 6 (for reboot) or #shutdown -h 60 (to shutdown in 60 minutes). #shutdown -h now (for immediate shutdown). All as root.

No problems.

see: telinit
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5585
Joined: 2007-02-14 18:10
Location: willo the tree

Re: LXDE doesn't shutdown or reboot

Postby mdmarmer » 2014-01-03 00:00

You may want to look here. http://forum.lxde.org/viewtopic.php?f=4 ... 4&start=10

As I mention there is a patch here https://bugs.mageia.org/show_bug.cgi?id=11158 for one module of lxsession. I patched the module and compiled lxsession successfully, but it did not solve any problem for me. On my system, the buttons work correctly if systemd is not installed (that is, using consolekit). If systemd is installed, the buttons don't work. With the patch, the buttons still did not work if systemd was installed, tho there was an error message displayed rather than nothing at all happening. Apparently it's more complex than that, because my understanding is that mageia (distro that intends to use the patch) always includes systemd, so the patch probably works for mageia.
Mike
mdmarmer
 
Posts: 16
Joined: 2009-10-13 15:31

Re: LXDE doesn't shutdown or reboot

Postby PAP » 2014-04-08 19:46

This thread is rather old, but it seems the problem with LXDE shutdown/reboot/hibernate actions comes up again and again. After today's system update (Debian "jessie" - testing version), it happened again to me, and probably others too. Reason: new version of networkmanager requires systemd. However, as other people pointed out already, systemd breaks lxsession-logout functionality. This is because lxsession-logout detects systemd-logind and tries sending shutdown/reboot commands to dbus through logind, which won't work, as lxsession works correctly only with consolekit (see, e.g., this thread for details).

Solution: Get rid of systemd. There are plenty of threads out there proving switching to systemd is not an easy task, and I don't think it is a good choice anyway, at least for now. This, however, will break network-manager package. Not a big deal. Just install a very good alternative, namely wicd; you might also want to install wicd-gtk for a graphical front-end). Then purge network-manager and all its dependencies, plus network-manager-gnome, if you have it installed too.
Linux debian 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux
PAP
 
Posts: 58
Joined: 2007-03-02 13:34

Re: LXDE doesn't shutdown or reboot

Postby F1computerexperts » 2014-04-09 02:27

You could do like I did and install the lxsession debs from siduction's fixes repo. LXDE works fine shutting down or restarting on systemd.
F1computerexperts
 
Posts: 2
Joined: 2014-04-09 02:20
Location: Minnesota, USA

Re: LXDE doesn't shutdown or reboot

Postby llivv » 2014-04-09 05:26

F1computerexperts wrote:You could do like I did and install the lxsession debs from siduction's fixes repo. LXDE works fine shutting down or restarting on systemd.

better yet install siduction.
If you run unstable, sure, add any repo you like and recommend it to everyone else.
in the kitchen with Julia ....
[...]
Get on the D bus to B Can ....
[...]
User avatar
llivv
 
Posts: 5585
Joined: 2007-02-14 18:10
Location: willo the tree

Re: LXDE doesn't shutdown or reboot

Postby F1computerexperts » 2014-04-09 11:49

I installed siduction originally because of the systemd support. Too bad I couldn't change the icon theme, tho. Any of us that use sid or jessie KNOW that things are going to break at some point. It's not a matter of if, but when. If things get too wild and break my system in rapid succession, then I pull out the Ubuntu disk. :D
F1computerexperts
 
Posts: 2
Joined: 2014-04-09 02:20
Location: Minnesota, USA

Re: LXDE doesn't shutdown or reboot

Postby ratcheer » 2014-04-09 12:19

????

I run Siduction LXDE, and I changed my icon theme.

Tim
ratcheer
 
Posts: 143
Joined: 2012-09-10 20:40

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable