[kodi-rpi] missing shutdown from the power menu

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[kodi-rpi] missing shutdown from the power menu

Postby graysky » Tue May 09, 2017 12:05 am

Somewhat recently it seems, the power menu on our kodi-rpi package only displays one item, "exit" whereas in the past, it contained an option to shutdown and reboot. Any thoughts are appreciated.
graysky
 
Posts: 407
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [kodi-rpi] missing shutdown from the power menu

Postby Kabbone » Tue May 09, 2017 3:33 pm

Do you start it via systemd service? If I remember right, there was a problem with the session.
Did you try to start it local with logged in user?
Kabbone
 
Posts: 86
Joined: Thu Jul 25, 2013 9:20 am

Re: [kodi-rpi] missing shutdown from the power menu

Postby graysky » Tue May 09, 2017 4:09 pm

Kabbone wrote:Do you start it via systemd service? If I remember right, there was a problem with the session.
Did you try to start it local with logged in user?


Correct, it is starting as the systemd service. I do not have a DE installed on the RPi3.
graysky
 
Posts: 407
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [kodi-rpi] missing shutdown from the power menu

Postby graysky » Tue May 09, 2017 11:28 pm

Seems like a dbus problem when I grep out ERROR I get:
Code: Select all
19:24:12.859 T:1917653568   ERROR: DBus: Error org.freedesktop.PolicyKit1.Error.Failed - Action org.freedesktop.login1.power-off-multiple-sessions is not registered
19:24:12.865 T:1917653568   ERROR: DBus: Error org.freedesktop.PolicyKit1.Error.Failed - Action org.freedesktop.login1.reboot-multiple-sessions is not registered
19:24:12.872 T:1917653568   ERROR: DBus: Error org.freedesktop.PolicyKit1.Error.Failed - Action org.freedesktop.login1.inhibit-delay-sleep is not registered
19:24:12.879 T:1917653568   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanSuspend'
19:24:12.880 T:1917653568   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanHibernate'
19:24:13.095 T:1917653568   DEBUG: UDisks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UDisks was not provided by any .service files
19:24:13.095 T:1917653568   DEBUG: DeviceKit.Disks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
19:24:14.290 T:1917653568   ERROR: Unable to load libcec.so.4, reason: libcec.so.4: cannot open shared object file: No such file or directory


Link to complete debug log.
graysky
 
Posts: 407
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [kodi-rpi] missing shutdown from the power menu

Postby Kabbone » Wed May 10, 2017 3:50 pm

you don't need a DE, just login in tty and start kodi with "kodi"
Kabbone
 
Posts: 86
Joined: Thu Jul 25, 2013 9:20 am

Re: [kodi-rpi] missing shutdown from the power menu

Postby graysky » Wed May 10, 2017 11:24 pm

No, not available there either...the plot thickens: the shutdown and reboot options are available on other RPi3 boxes so whatever is affect this is unique to my particular machine. I rules out something in my kodi profile by renaming /var/lib/kodi (the homedir) and creating a fresh one.. again, just exit. Any thoughts are welcomed. My preference is not to wipe out the card and reinstall.
graysky
 
Posts: 407
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [kodi-rpi] missing shutdown from the power menu

Postby graysky » Wed May 10, 2017 11:42 pm

Removing kodi-rbp and all its dependencies, rebooting, then reinstalling it fixed the problem. Note that I did not delete /var/lib/kodi, it is the same as it always was. Can't explain.
graysky
 
Posts: 407
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 3 guests