2012-05-01, 12:53
I cannot get poweroff/shutdown/reboot to work. I have googled the net and have tried:
* adding my xbmc user to the sudoer to allow shutdown/halt/reboot without password
* installed polkit and tried various custom configurations for my xbmc user
I have used successfully these two methods with other releases but this time nothing worked.
Some questions for the forum:
(1) some suggestions on how to make shutdown work?
(2) to help me find a solution does anyone know what mechansim does xbmc actually use to do shutdown?
Some more information regarding my installation:
* Ubuntu 12.04 64-bit server (so no window manager)
* ubuntu repository xbmc (installs Eden)
There are no ppa's in my sources - only standard Ubuntu.
xbmc is run as user xbmc with --standalone using xinit
Clicking on the "power button" on bottom left gives me the options (this is with no polkit installed):
* Exit
* Power off System
* Customer shutdown timer
* Reboot
Clicking on "Power off System" always leads to a restart of XBMC.
Here is a fragment of the xbmc.log
* adding my xbmc user to the sudoer to allow shutdown/halt/reboot without password
* installed polkit and tried various custom configurations for my xbmc user
I have used successfully these two methods with other releases but this time nothing worked.
Some questions for the forum:
(1) some suggestions on how to make shutdown work?
(2) to help me find a solution does anyone know what mechansim does xbmc actually use to do shutdown?
Some more information regarding my installation:
* Ubuntu 12.04 64-bit server (so no window manager)
* ubuntu repository xbmc (installs Eden)
There are no ppa's in my sources - only standard Ubuntu.
xbmc is run as user xbmc with --standalone using xinit
Clicking on the "power button" on bottom left gives me the options (this is with no polkit installed):
* Exit
* Power off System
* Customer shutdown timer
* Reboot
Clicking on "Power off System" always leads to a restart of XBMC.
Here is a fragment of the xbmc.log
Quote:11:58:28 T:139829470410624 DEBUG: ExecuteXBMCAction : Translating XBMC.Powerdown()
11:58:28 T:139829470410624 DEBUG: ExecuteXBMCAction : To XBMC.Powerdown()
11:58:28 T:139829470410624 DEBUG: CAnnouncementManager - Announcement: OnQuit from xbmc
11:58:28 T:139829470410624 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnQuit
11:58:28 T:139829470410624 NOTICE: Storing total System Uptime
11:58:28 T:139829470410624 NOTICE: Saving settings
11:58:28 T:139829470410624 NOTICE: stop all
11:58:28 T:139829470410624 DEBUG: NetworkMessage - Signaling network services to stop
11:58:28 T:139829470410624 NOTICE: ES: Stopping event server
11:58:28 T:139829470410624 DEBUG: CZeroconfAvahi::doRemoveService named: servers.airplay
11:58:28 T:139829470410624 DEBUG: CZeroconfAvahi::doRemoveService named: servers.airtunes
11:58:28 T:139829470410624 DEBUG: NetworkMessage - Waiting for network services to stop
11:58:28 T:139829470410624 NOTICE: stopping zeroconf publishing
11:58:28 T:139829470410624 NOTICE: Webserver: Stopping...
11:58:28 T:139829470410624 NOTICE: WebServer: Stopped the webserver
11:58:28 T:139829470410624 NOTICE: Webserver: Stopped...