No shut down or reboot options in LXDE after upgrade

Please post all general support questions for LXDE here.
Locked
nawitus
Posts: 5
Joined: Sun Sep 02, 2012 3:33 pm

No shut down or reboot options in LXDE after upgrade

Post by nawitus »

I did a large system update 2 days ago, and now the option to shut down the computer is missing from the "logout panel" in LXDE. There's only suspend, hibernate and logout options. I can shut the computer down using "sudo shutdown -h now", though. My user account is in power group. When I run "lxsession-logout", I get the error message '** (lxsession-logout:1486): WARNING **: dbus-interface.c:94: DBUS: The name org.freedesktop.Hal was not provided by any .service files' in terminal. I have the package upower and pm-utils installed. I don't have HAL and I don't plan to install that.

I'm not using any login manager.

Some info:
linux 3.5.3-1
lxde-common 0.5.5-2
lxdm 0.4.1-14
openbox 3.5.0-7
lxsession 0.4.6.1-1
lxpanel 0.5.10-1
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: No shut down or reboot options in LXDE after upgrade

Post by seppalta »

I think installing a display manager would eliminate your problem. I like lightdm:

Code: Select all

sudo apt-get install --no-install-recommends lightdm
.
Doing the no-install-recommends only adds 1603 kb to your system. This does replace the heavy, colorful backgrounds the few seconds when logging in and out with just bright one-color backgrounds.
nawitus
Posts: 5
Joined: Sun Sep 02, 2012 3:33 pm

Re: No shut down or reboot options in LXDE after upgrade

Post by nawitus »

I already have a display manager installed: lxdm.
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: No shut down or reboot options in LXDE after upgrade

Post by seppalta »

Since you said you did not have a "login manager", I presumed you did not have a display manager since the display manager does the log-in. I have found lxdm to be a bit erratic. You might try re-installing or replacing it.
nawitus
Posts: 5
Joined: Sun Sep 02, 2012 3:33 pm

Re: No shut down or reboot options in LXDE after upgrade

Post by nawitus »

Ah, actually it seems that lxdm is not used in my system. It was simply installed as part of the lxde package group in my Arch Linux setup. I don't want to use lxdm either, I'm just launching straight into lxde.

Portion from /etc/inittab

Code: Select all

id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/mingetty --autologin nawi tty1 linux
My .xinitrc

Code: Select all

#!/bin/sh
xbindkeys &
exec ck-launch-session startlxde

From pstree:

Code: Select all

    ├─login───xinit─┬─X
    │               └─ck-launch-sessi─┬─lxsession─┬─lxpanel
    │                                 │           ├─openbox
    │                                 │           ├─pcmanfm
    │                                 │           └─{lxsession}
    │                                 └─xbindkeys
rokytnji
Posts: 131
Joined: Mon Jun 13, 2011 10:45 pm
Location: pecos.tx
Contact:

Re: No shut down or reboot options in LXDE after upgrade

Post by rokytnji »

I needed to install hal on my core install to get correct shutdown reboot menu gui to show up in my Debian Testing LXDE install.


http://forum.lxde.org/viewtopic.php?f=5&t=31330

Though I have read on this forum that

http://forum.lxde.org/viewtopic.php?p=38354#p38354
Amrel RT 786ex 1.6ghz, 512MB ram , AntiX 8.5 core, Biker Linux user # 475019
Lead,Follow, or get the heck out of the way
My AntiX LXDE Install
nawitus
Posts: 5
Joined: Sun Sep 02, 2012 3:33 pm

Re: No shut down or reboot options in LXDE after upgrade

Post by nawitus »

I didn't have HAL before system upgrade and the reboot and shutdown buttons worked fine.
rokytnji
Posts: 131
Joined: Mon Jun 13, 2011 10:45 pm
Location: pecos.tx
Contact:

Re: No shut down or reboot options in LXDE after upgrade

Post by rokytnji »

nawitus wrote:I didn't have HAL before system upgrade and the reboot and shutdown buttons worked fine.
I guess you missed the part about
Though I have read on this forum that
Re: Cannot shutdown or reboot lxde from lxde-logout menu

Postby rockdoctor » Sun Jan 08, 2012 8:05 am
I see the same problem in Fedora Rawhide. I believe it's related to the problems with lxpolkit.
http://bbs.archbang.org/viewtopic.php?id=2481

http://www.mail-archive.com/blfs-dev@li ... 13379.html

https://bbs.archlinux.org/viewtopic.php?id=142110

https://bbs.archlinux.org/viewtopic.php?pid=1148545
Amrel RT 786ex 1.6ghz, 512MB ram , AntiX 8.5 core, Biker Linux user # 475019
Lead,Follow, or get the heck out of the way
My AntiX LXDE Install
nawitus
Posts: 5
Joined: Sun Sep 02, 2012 3:33 pm

Re: No shut down or reboot options in LXDE after upgrade

Post by nawitus »

Thanks for your links. I've read them, but what do you suggest me to do? HAL is deprecated in Arch Linux, so I don't want to install that.
Locked