Kodi Community Forum

Full Version: [LINUX] Shutdown doesn't always work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sometimes when I press shutdown, it restarts XBMC while other times it works and shutsdown.

I'm using Dharma on Xubuntu. In the power settings I have the shutdown type set to Shutdown and the shutdown timer set to 30 minutes. When I press shutdown on the remote or select it from the menu it works about 50% of the time. The 30 minutes idle shutdown never works.

The log from the time an autoshutdown is initiated:
Code:
17:22:57 T:3078416256 M:1695363072  NOTICE: Storing total System Uptime
17:22:57 T:3078416256 M:1695363072  NOTICE: Saving settings
17:22:57 T:3078416256 M:1695363072  NOTICE: stop all
17:22:57 T:3078416256 M:1695363072  NOTICE: ES: Stopping event server
17:22:57 T:3078416256 M:1695363072  NOTICE: stopping upnp
17:22:58 T:2932857712 M:1695363072  NOTICE: ES: UDP Event server stopped
17:22:58 T:2924465008 M:1695363072  NOTICE: DS: DBUS server stopped
17:22:58 T:3078416256 M:1695363072  NOTICE: stopping zeroconf publishing
17:22:58 T:3078416256 M:1695363072  NOTICE: Webserver: Stopping...
17:22:58 T:3078416256 M:1695363072  NOTICE: WebServer: Stopped the webserver
17:22:58 T:3078416256 M:1695363072  NOTICE: Webserver: Stopped...
17:22:58 T:3078416256 M:1695363072  NOTICE: stop dvd detect media
17:22:58 T:3078416256 M:1695363072  NOTICE: stop sap announcement listener
17:22:58 T:3078416256 M:1695363072  NOTICE: clean cached files!
17:22:58 T:3078416256 M:1695363072  NOTICE: unload skin
17:22:58 T:3078416256 M:1699934208  NOTICE: stop python

I've added a script to the autoexec.py to send a packet on startup to another computer to log bootups and it shows this:

Code:
Sun Jan 23 16:22:43 2011: Script Started
Sun Jan 23 16:52:57 2011: Script Started
Sun Jan 23 17:23:11 2011: Script Started
Sun Jan 23 17:53:25 2011: Script Started

So it is just restarting everytime.

It doesn't restart the computer, just XBMC. I'm using it in standalone mode with autologin. It will close XBMC and I can see the login screen background for about 3 seconds and then the XBMC splash screen and it starts up again.

I've been through the forums and wiki and tried everything that I have found. Nothing seems to be helping.

Thanks
I don't know how xbmc/ you have set up permissons in your setup, but in xbmcLive do not have allow stop-muliple-users & restart-multipel-users enabled.

Meaning that if you are logged in on another session xbmc will be blocked. This could give that kind of problem, but I have no clue how that fits with the auto stop.