Kodi Community Forum

Full Version: [Linux] Cannot shutdown PC from XBMC on Lucid
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an old Samsung S20 laptop and have installed xbmc-standalone on to of Ubuntu Lucid 10.04.

I installed using the ppa and synaptic.

Everything seems to be working fine expect I cannot shutdown the PC from xbmc, using the shutdown option sends me back to the login screen if I'm running an xbmc session or the desktop if I run xbmc from a gnome session.

Exit XBMC, Reboot and Suspend all work OK.

I really need to be able to shutdown but I have not been able to find much info relating to this, can anyone help?

I have installed udisks, hal, upower, pm-utils and policykit
I've had exact same problem - xbmc would just drop back to console. Try flipping between shutdown/suspend/hibernate options a few times, then select shutdown and try again. It almost seems like there're 4 options, two of them are "shutdown" but only one actually works as expected.
Toggling does not work for me.

Exit xbmc, this works and drops me back to the login or desktop
shutdown, this seems to do the same thing as exit
suspend, this works perfectly
reboot, this also works.

Does anyone one else have any suggestions to get shutdown to work?
Here is a copy of the xbmc.log

http://pastebin.com/g2CszCJC

output of pkaction

Quote:com.hp.hplip.installplugin
com.mythbuntu.controlcentre.scriptedchanges
com.ubuntu.devicedriver.check
com.ubuntu.devicedriver.info
com.ubuntu.devicedriver.install
com.ubuntu.devicedriver.update
com.ubuntu.screenresolution.mechanism.configure
com.ubuntu.screenresolution.mechanism.dontzap
com.ubuntu.systemservice.getkeyboard
com.ubuntu.systemservice.getproxy
com.ubuntu.systemservice.ispkgsystemlocked
com.ubuntu.systemservice.setkeyboard
com.ubuntu.systemservice.setnoproxy
com.ubuntu.systemservice.setproxy
com.ubuntu.usbcreator.bootloader
com.ubuntu.usbcreator.format
com.ubuntu.usbcreator.image
com.ubuntu.usbcreator.mount
org.debian.apt.add-vendor-key
org.debian.apt.cancel-foreign
org.debian.apt.change-repository
org.debian.apt.fix
org.debian.apt.get-trusted-vendor-keys
org.debian.apt.install-file
org.debian.apt.install-packages
org.debian.apt.remove-packages
org.debian.apt.remove-vendor-key
org.debian.apt.update-cache
org.debian.apt.upgrade-packages
org.debian.apt.upgrade-system
org.debian.aptxapianindex.update
org.freedesktop.RealtimeKit1.acquire-high-priority
org.freedesktop.RealtimeKit1.acquire-real-time
org.freedesktop.consolekit.system.restart
org.freedesktop.consolekit.system.restart-multiple-users
org.freedesktop.consolekit.system.stop
org.freedesktop.consolekit.system.stop-multiple-users
org.freedesktop.network-manager-settings.system.hostname.modify
org.freedesktop.network-manager-settings.system.modify
org.freedesktop.network-manager-settings.system.wifi.share.open
org.freedesktop.network-manager-settings.system.wifi.share.protected
org.freedesktop.policykit.exec
org.freedesktop.policykit.lockdown
org.freedesktop.systemtoolsbackends.self.set
org.freedesktop.systemtoolsbackends.set
org.freedesktop.udisks.cancel-job-others
org.freedesktop.udisks.change
org.freedesktop.udisks.change-system-internal
org.freedesktop.udisks.drive-ata-smart-refresh
org.freedesktop.udisks.drive-ata-smart-retrieve-historical-data
org.freedesktop.udisks.drive-ata-smart-selftest
org.freedesktop.udisks.drive-detach
org.freedesktop.udisks.drive-eject
org.freedesktop.udisks.drive-set-spindown
org.freedesktop.udisks.filesystem-check
org.freedesktop.udisks.filesystem-check-system-internal
org.freedesktop.udisks.filesystem-lsof
org.freedesktop.udisks.filesystem-lsof-system-internal
org.freedesktop.udisks.filesystem-mount
org.freedesktop.udisks.filesystem-mount-system-internal
org.freedesktop.udisks.filesystem-unmount-others
org.freedesktop.udisks.inhibit-polling
org.freedesktop.udisks.linux-lvm2
org.freedesktop.udisks.linux-md
org.freedesktop.udisks.luks-lock-others
org.freedesktop.udisks.luks-unlock
org.freedesktop.upower.hibernate
org.freedesktop.upower.qos.cancel-request
org.freedesktop.upower.qos.request-latency
org.freedesktop.upower.qos.request-latency-persistent
org.freedesktop.upower.qos.set-minimum-latency
org.freedesktop.upower.suspend
org.gnome.clockapplet.mechanism.configurehwclock
org.gnome.clockapplet.mechanism.settime
org.gnome.clockapplet.mechanism.settimezone
org.gnome.cpufreqselector
org.gnome.displaymanager.settings.write
org.gnome.gconf.defaults.set-mandatory
org.gnome.gconf.defaults.set-system

output of ck-list-sessions
Quote:Session1:
unix-user = '1000'
realname = 'bedroom'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-05-25T20:02:44.811480Z'
login-session-id = ''
idle-since-hint = '2010-05-25T20:03:15.001786Z'
Session5:
unix-user = '1000'
realname = 'bedroom'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty8'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2010-05-25T20:03:55.664356Z'
login-session-id = ''

output of groups

Quote:adm dialout cdrom plugdev fuse lpadmin haldaemon admin sambashare mythtv polkituser

hopefully this info may allow one of you to help me sort this out?

I have also installed xbmc on my desktop PC this evening and have the same issue, it will not shutdown