Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] No power off options in Kodi Menu
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: No power off options in Kodi Menu
4th Sep, 2021, 10:49 PM
Post: #1
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
No power off options in Kodi Menu
Since upgrading to Debian 11, the kodi shutdown menu doesn't show any entries except "exit" any more:

No shutdown, no reboot.
I already tried several tips for polkit-1:
https://forum.kodi.tv/showthread.php?tid=311630
https://www.reddit.com/r/kodi/comments/3o7cx2/shutdown_button_does_not_shutdown/
...but with no success. Any chance to get help here?
Find all posts by this user
Quote this message in a reply
5th Sep, 2021, 12:00 AM
Post: #2
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
RE: Not power off options in Kodi Menu
I also added
Code:
ResultAny=yes
and modified
Code:
ResultInactive=yes

in each /etc/polkit-1/localauthority/50-local.d/allow_all_users_to_restart.pkla and /etc/polkit-1/localauthority/50-local.d/allow_all_users_to_shutdown.pkla

with no success.
Find all posts by this user
Quote this message in a reply
11th Sep, 2021, 09:36 PM (This post was last modified: 11th Sep, 2021 09:38 PM by Nachteule.)
Post: #3
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: No power off options in Kodi Menu
Very strange.

If you still have elogind installed, it might be an idea to get rid of this package:

Code:
sudo apt-get install systemd  libpam-systemd
sudo apt-get purge elogind                             (ignore the error)
sudo apt-get install --reinstall xbian-update
sudo apt-get purge elogind                             (remove it again due to the previous error)
sudo start logind or reboot

In any case, the policy-kit settings are definitely not the problem
Find all posts by this user
Quote this message in a reply
12th Sep, 2021, 04:15 AM
Post: #4
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
RE: No power off options in Kodi Menu
Thank You very much.
Sadly, no relief, did all this, but still the error remains.
I also tried
Code:
sudo apt install --reinstall xbian-package-xbmc
Reason lies in history:
While upgrading, I had several hickups and had to do
Code:
sudo dpkg --configure -a
Code:
sudo apt --fix-broken install
Code:
sudo apt autoremove
each several times. All of this was mentioned in dialog boxes or output of previous commands.
I finally ended up with xbian booting into command line, instead into kodi, which I could solve with
Code:
sudo apt install xbian-package-xbmc

Since that it started and worked fine and also had no more updates available in xbian setting inside kodi.
Beside the mentioned error, having no power down or reboot options in Kodi menu.

On more thing I checked: It is not disabled in the skin. I looked it up inside ~/.kodi/addons/skin.confluence/720p/DialogButtonMenu.xml and also changed the skin as a double check. All other skins I tried show the same: no power-off options in menu.

Any more ideas?

Also tried making a new profile inside kodi, with all new settings. No change, also in the brand new profile no power off options.
Find all posts by this user
Quote this message in a reply
12th Sep, 2021, 04:30 AM
Post: #5
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: No power off options in Kodi Menu
You could have said right away that the upgrade did not work properly.
So, first of all make sure that all packages have been installed

Code:
sudo apt-get dist-upgrade

Maybe not all have been installed
Find all posts by this user
Quote this message in a reply
12th Sep, 2021, 05:30 AM
Post: #6
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
RE: No power off options in Kodi Menu
(12th Sep, 2021 04:30 AM)Nachteule Wrote:  You could have said right away that the upgrade did not work properly.
Sorry, you're right. Since I ended up with a quite working system, and no upgrades left, I thought, finally the update process was successful and didn't think, that the hickups left any traces.
(12th Sep, 2021 04:30 AM)Nachteule Wrote:  
Code:
sudo apt-get dist-upgrade
Also did that already before, forgot to mention. That was one of the things that made me believe, the upgrade finally worked.
Just did it again, it ends with:
Code:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
So, would You agree, that the upgrade process itself went fine (finally, in the result view)? Or is there anything else that could be checked?
Find all posts by this user
Quote this message in a reply
12th Sep, 2021, 07:44 PM
Post: #7
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: No power off options in Kodi Menu
Normally xbian-update is installed again at the end of the XBian upgrade, to fix some things if necessary. At upgrade Stretch -> Buster this was necessary anyway. At Buster -> Bullseye I don't know, because it is done as well

Maybe
Code:
sudo apt-get install --reinstall xbian-update
brings something

But I will be honest, I don't have much hope for this. Apart from that I can't think of anything else at the moment
Find all posts by this user
Quote this message in a reply
12th Sep, 2021, 09:31 PM
Post: #8
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
RE: No power off options in Kodi Menu
Ok, thank You very much for the effort anyway.
Maybe, I'll live with it. I can coldly switch off the machine seemingly, no negative side effects until now.
Find all posts by this user
Quote this message in a reply
13th Sep, 2021, 02:23 AM
Post: #9
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: No power off options in Kodi Menu
I can't say how many changes you have made to your system.
But for most users it makes more sense to back up the home directory, then completely reinstall and get the home back. This is a very simple thing to do and is usually much faster.
Find all posts by this user
Quote this message in a reply
8th Oct, 2021, 04:43 AM
Post: #10
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: No power off options in Kodi Menu
For the sake of completeness:

I also had this phenomenon today with an installation. After a reinstall of xbian-update didn't help, I then ran

Code:
sudo apt-get install --reinstall systemd libpam-systemd

and after a reboot everything was as it should be.
It seems that some maintenance scripts or whatever were not executed correctly
Find all posts by this user
Quote this message in a reply
8th Oct, 2021, 01:06 PM
Post: #11
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
RE: No power off options in Kodi Menu
(8th Oct, 2021 04:43 AM)Nachteule Wrote:  
Code:
sudo apt-get install --reinstall systemd libpam-systemd

Thank you very much for this update. Tried it, sadly to no avail. The reinstall worked fine, but my error remains.
Find all posts by this user
Quote this message in a reply
8th Oct, 2021, 08:20 PM
Post: #12
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: No power off options in Kodi Menu
This is desperate. I also updated Kodi (xbian-package-xbmc) at the same time, but that won't have fixed the bug i think.
Find all posts by this user
Quote this message in a reply
8th Oct, 2021, 10:41 PM
Post: #13
Gauner Offline
Registered
Posts: 20
Joined: Apr 2020
Reputation: 0
RE: No power off options in Kodi Menu
(8th Oct, 2021 08:20 PM)Nachteule Wrote:  I also updated Kodi (xbian-package-xbmc) at the same time, but that won't have fixed the bug i think.

No, at least not on my installation, tried that before, see above.
Find all posts by this user
Quote this message in a reply
8th Oct, 2021, 11:50 PM
Post: #14
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: No power off options in Kodi Menu
Then unfortunately I can't think of anything else to say Sad
Find all posts by this user
Quote this message in a reply
24th Feb, 2022, 08:19 PM
Post: #15
smirko Offline
Registered
Posts: 1
Joined: Feb 2022
Reputation: 0
RE: No power off options in Kodi Menu
It's been some time, but I actually managed to overcome the issue by combining some of the steps mentioned in this and some other threads regarding shutdown options being unavailable.


I tried:
Code:
apt-get install systemd libpam-systemd

Apparently, those packages were missing, as regular installation (without the --reinstall flag), worked.
This resulted in some packages being removed, elogind and libpam-elogind among others.
However, the issue persisted.

Then I thought about going back in the /var/log/dpkg.log* files, to investigate which packages might have been removed recently.
And apparently, a couple of weeks ago, I removed (unconsciously) a few important packages like policykit-1, libsystemd0, systemd and libpam-systemd

So, the solution for me was:
first:
Code:
apt-get install systemd libpam-systemd
then
Code:
apt-get install policykit-1
I'm not sure, but I think I did a reboot and the shutdown menu was working again.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] Limelight in Kodi menu Hellcube 1 8,325 20th May, 2016 04:02 AM
Last Post: IriDium

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 07:37 PM Powered By MyBB, © 2002-2025 MyBB Group.