Author Topic: Shutdown Menu Wont After Upgrade  (Read 1424 times)

Offline frogprince

  • Newbie
  • *
  • Posts: 38
Shutdown Menu Wont After Upgrade
« on: April 30, 2014, 06:50:47 pm »
A new one: I upgraded again this morning, and now when I try to shut down the machine with the panel logout applet, I get an error message:



GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1



So..given my record here, does the Sparky team need any code testers?.. :P
« Last Edit: April 30, 2014, 06:50:47 pm by 37 »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Shutdown Menu Wont After Upgrade
« Reply #1 on: April 30, 2014, 06:56:44 pm »
Have you followed this instruction already?

http://sparkylinux.org/lxde-systemd/
« Last Edit: July 01, 2014, 02:27:08 pm by 14 »
Nothing is easy as it looks.

Offline frogprince

  • Newbie
  • *
  • Posts: 38
Re: Shutdown Menu Wont After Upgrade
« Reply #2 on: May 01, 2014, 03:53:10 am »
Did that, and in the process another apt-get update && apt-get dist-upgrade.   Rebooting after that upgrade left me with no icons or background on the desktop, and a group of error messages about failed dependencies for sparky initialization routines. I did a dist-upgrade -f and an additional forced update to intramfs, and now finally everything seems to work. One must pay careful attention to the error messages during the updates.
« Last Edit: July 01, 2014, 02:26:54 pm by 37 »

Offline creole_cat

  • Newbie
  • *
  • Posts: 5
Re: Shutdown Menu Wont After Upgrade
« Reply #3 on: September 27, 2014, 03:25:33 pm »
Hello Everyone,

I installed Sparky Open Box last night and did the updates and upgrades.
Having the same issue in the menu, the "Restart" and "Exit" functions are not working.

frogprince, could you elaborate on the commands you used to fix this issue.

Thanks,

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Shutdown Menu Wont After Upgrade
« Reply #4 on: September 27, 2014, 05:05:09 pm »
Hi
The "Restart" option restarts Openbox window manager only, but NOT the system.
To get some more info about the "Exit" option run in a terminal emulator:
Code: [Select]
wm-logoutand show me the output, please.
Tell me what is your Sparky Openbox version: i486 or x86_64 ?
« Last Edit: September 27, 2014, 08:49:23 pm by pavroo »
Nothing is easy as it looks.

Offline creole_cat

  • Newbie
  • *
  • Posts: 5
Re: Shutdown Menu Wont After Upgrade
« Reply #5 on: September 28, 2014, 03:08:38 am »
pavroo,

I am using the i486 version. Here is the output from the wm-logout command:

david@sparky:~$ wm-logout
Traceback (most recent call last):
  File "/usr/bin/wm-logout", line 173, in <module>
    wmlogout = WMLogout()
  File "/usr/bin/wm-logout", line 42, in __init__
    self.gtk_init()
  File "/usr/bin/wm-logout", line 143, in gtk_init
    self.btn_suspend.set_sensitive(self.upower.SuspendAllowed())
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SuspendAllowed" with signature "" on interface "org.freedesktop.UPower" doesn't exist

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Shutdown Menu Wont After Upgrade
« Reply #6 on: September 28, 2014, 12:20:07 pm »
Do you have installed package 'wm-logout'.
Show me the output:
Code: [Select]
sudo dpkg-query -l | grep wm-logout
Nothing is easy as it looks.

Offline creole_cat

  • Newbie
  • *
  • Posts: 5
Re: Shutdown Menu Wont After Upgrade
« Reply #7 on: September 28, 2014, 03:37:31 pm »
pavroo,

I guess based on the output, I do not have this package installed:

david@sparky:~$ sudo dpkg-query -l | grep wm-logout
[sudo] password for david:
david@sparky:~$

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Shutdown Menu Wont After Upgrade
« Reply #8 on: September 28, 2014, 03:39:38 pm »
It looks like, you have the old logout script which does not work well.
Simply install the new one:
Code: [Select]
sudo apt-get update
sudo apt-get install wm-logout
« Last Edit: September 28, 2014, 05:17:38 pm by pavroo »
Nothing is easy as it looks.

Offline creole_cat

  • Newbie
  • *
  • Posts: 5
Re: Shutdown Menu Wont After Upgrade
« Reply #9 on: September 28, 2014, 04:49:43 pm »
pavroo,

That corrected the issue. Thanks very much!!!