Page 1 of 2

Unable to Logout LXDE

Posted: Wed Jul 02, 2014 7:38 am
by newkid
I'm using Debian (for BeagleBone Black) and when I click "Logout" from the menu, the menu disappeared and nothing seems to happen.

After doing a lot of googling (sorry that I'm new to lxde & debian), I was pointed to the command "lxde-logout". When I ran this command inside lxterminal, I got the following messages:
debian@beaglebone:~$ lxde-logout
Xlib: extension "RANDR" missing on display ":13.0".


** (lxsession-logout:7584): WARNING **: dbus-interface.c:94: DBUS: The name org.freedesktop.Hal was not provided by any .service files


** (lxsession-logout:7584): WARNING **: dbus-interface.c:94: DBUS: The name org.freedesktop.Hal was not provided by any .service files


** (lxsession-logout:7584): WARNING **: dbus-interface.c:94: DBUS: The name org.freedesktop.Hal was not provided by any .service files


** (lxsession-logout:7584): WARNING **: dbus-interface.c:94: DBUS: The name org.freedesktop.Hal was not provided by any .service files
debian@beaglebone:~$
Same result for the command "lxsession-logout"

Any ideas and any solution for this ?

Thanks.

Re: Unable to Logout LXDE

Posted: Thu Jul 03, 2014 12:38 am
by Rex Bouwense
Welcome to the lxde forum. I took care of your duplicate posts. Because we had a terrible problem with spam a year or so a go, your first posting has to be approved. You should not have a problem now. Since we are very small forum (we deal only with the LXDE) and an even smaller group of active participants, it may take a while before you get a response. So have patience.

Re: Unable to Logout LXDE

Posted: Thu Jul 03, 2014 4:55 am
by drooly
hello newkid!
how did you install lxde and which version of debian (stable or testing) are you using?
if i got output like this, my first guess would be to look wether "hal" is installed.

Re: Unable to Logout LXDE

Posted: Thu Jul 03, 2014 8:35 am
by newkid
Thanks drooly!

Both the LXDE and Debian (version 7.5) are pre-installed with the device (BeagleBone Black).

Yes. I've checked that "hal" was not installed, so I installed it by "sudo apt-get install hal" and rebooted.

I tried logout again, the following message shown:

Code: Select all

** (lxsession-logout:1347): WARNING **: dbus-interface.c:94: DBUS: No property power_management.type on device with id /org/freedesktop/Hal/devices/computer

** (lxsession-logout:1347): WARNING **: dbus-interface.c:94: DBUS: No property power_management.type on device with id /org/freedesktop/Hal/devices/computer
Still no luck :cry:

Re: Unable to Logout LXDE

Posted: Thu Jul 03, 2014 10:32 pm
by seppalta
Most Debian-based LXDE distros have a reboot and shutdown exec in /sbin. So just put /sbin/shutdown or /sbin/reboot into the terminal. You can add (replace) these to the bottom of your lxde menu following the recipe prescribed in http://lxlinux.com/#9. Use action=/sbin/shutdown and action=/sbin/reboot.

Re: Unable to Logout LXDE

Posted: Fri Jul 04, 2014 4:04 am
by newkid
Thanks seppalta!

I have no problem on "shutdown" and "reboot" command, they are working fine.

My problem is I am unable to logout no matter via menu or command line. :cry:

Re: Unable to Logout LXDE

Posted: Fri Jul 04, 2014 2:44 pm
by Rex Bouwense
Can you boot with an older kernel? If you can, can you log out?

Re: Unable to Logout LXDE

Posted: Sat Jul 05, 2014 8:09 am
by drooly
newkid wrote:My problem is I am unable to logout no matter via menu or command line.
have you tried

Code: Select all

killall lxsession
(no sudo)?
it sounds harsh, but lxde's session management is practically non-existent, so this command should be perfectly harmless. i just tried on my vm lubuntu install, no problem.

Re: Unable to Logout LXDE

Posted: Mon Jul 07, 2014 6:38 am
by newkid
Thanks Rex!
The Debian (v7.5) is pre-installed with the device shipped, and it should be a custom made version particular for the device (beaglebone black). I'm not sure if older version is available?! I need some time to search and test your suggestion.

To drooly: I've tried "killall lxsession" and no response was given (i.e. when I input the command and pressed enter, nothing happened. It only showed a new command prompt and ready for me to input anything).
If I run "sudo killall lxsession", the system showed "lxsession: no process found". That's all I got !!

Thanks all of you! You guys in this forum are really helpful!! :D

Re: Unable to Logout LXDE

Posted: Sun Jul 13, 2014 9:54 pm
by drooly
this is unexpected behavior for a normal pc/lxde installation.
i guess the answer to your problem lies with "preinstalled" and "beagle bone black".