Cannot shutdown the computer via XBMC

I cannot shutdown my HTPC via XBMC. When I try to shut it down, I just ends up back in the shell. Im not running any WM and I autostart XBMC via .xinitrc so I have to make a hard shutdown everytime.
Dunno what to do?
Last edited by Hund (2011-01-04 23:52:54)

Same problem here since an upgrade to the recent xbmc version.
- hal removed
- udisks and upower installed
- my user is in the 'power' group
I start X via /etc/inittab:
x:5:respawn:/bin/su lynix -l -c "/bin/bash --login -c 'startx xbmc'>/dev/null 2>&1"
and my .xinitrc is:
#!/bin/sh
nvidia-settings -l
if [ "$2" == "xbmc" ]; then
# start XBMC
exec ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs --debug &>$HOME/.xsession-errors
else
# start openbox session
exec ck-launch-session openbox-session &>$HOME/.xsession-errors
fi
Any hints what could be wrong?

Similar Messages

  • "Program Not Responding" and cannot shutdown the computer? Help?

    I have a TouchSmart tx2, upgraded from Vista to Win 7 Ultimate, 32-bit.  The BIOS version is F.03, Released 2008 11 25.  My computer will not shut down...I get a blank screen and the constant whirrrrrr of the hard drive but it will not shut down and I am forced to do a hard shut down and restart in SAFE mode.   Further, I get the "Program not responding"  problem 6 to 7 times a day while running Outlook, and several other programs.  I'm not sure what to do at this point?  Help?

    Same problem here since an upgrade to the recent xbmc version.
    - hal removed
    - udisks and upower installed
    - my user is in the 'power' group
    I start X via /etc/inittab:
    x:5:respawn:/bin/su lynix -l -c "/bin/bash --login -c 'startx xbmc'>/dev/null 2>&1"
    and my .xinitrc is:
    #!/bin/sh
    nvidia-settings -l
    if [ "$2" == "xbmc" ]; then
    # start XBMC
    exec ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs --debug &>$HOME/.xsession-errors
    else
    # start openbox session
    exec ck-launch-session openbox-session &>$HOME/.xsession-errors
    fi
    Any hints what could be wrong?

  • I cannot access the internet via wifi on my time capsule.

    I cannot access the internet via wifi on my time capsule even thought it was shown that I am connected to the time capsule with full wifi on my iMac. I use to be able access the internet via wifi on the TC. However, after playing around with the airport utility on my iPad I was no longer able to access the internet via the wifi on myTC. How can I fix this problem?

    Did your TC recently upgrade firmware to 7.6.3?
    I recommend you do a full factory reset.. and redo the setup.
    Use different names.. SMB type.. ie short, no spaces. pure alphanumeric for everything.
    Use only WPA2 Personal security.
    If that doesn't work, give more info.
    Age of the TC.. model number.. A1xxx from the base.
    Firmware revision.
    In the computer are you getting the correct IP and router and dns values? Please post a screen shot.

  • I CANNOT ACCESS THE INTERNET VIA MOZILLA FIREFOX. BOX COMES UP AS FOLLOWS:-

    I CANNOT ACCESS THE INTERNET VIA MOZILLA FIREFOX
    A BOX COMES UP WITH THE FOLLOWING:-
    firefox-exe - Entry Point Not Found The procedure Entry Point
    could not be located in the dynamic link library mozsqlite-3-all.
    PLUS
    When I access the internet via my server (Tiscali now Talk-Talk)
    I have to enlarge each page. this is not now automatic.
    What on earth has happened?
    Please Help.
    Thank you.

    You need to do a clean reinstall.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • Hey Dears, I was working with my Macbook pro 2011, then i have some flash light in the screen, so i shutdown the computer, when i try to open it again i had a black screen, so any one of you have any idea about what should i have to do ?

    Hey Dears, I was working with my Macbook pro 2011, then i have some flash light in the screen, so i shutdown the computer, when i try to open it again i had a black screen, so any one of you have any idea about what should i have to do ?

    Can you start Firefox in [[Safe mode]] ?
    You can also do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can initially skip the step to create a new profile, that may not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • I just installed OS X Yosemite on my MacBook. I now cannot get the computer to start up. If I hold down the power button to try and power it back up, it will not start. Any ideas on how to fix this?

    I just installed OS X Yosemite on my MacBook. I now cannot get the computer to start up. If I hold down the power button to try and power it back up, it will not start. Any ideas on how to fix this?

    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Reinstalling OS X Without Erasing the Drive
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list.  Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Download and install the OS X Yosemite 10.10.3 Combo Update.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Alternatively, see:
    Reinstall OS X Without Erasing the Drive
    Choose the version you have installed now:
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • I have a Blackberry 8330 and a MacBook. For some reason I started having connectivity issues. The handheld will not sync with the computer via pocketmac. I have uninstalled, etc 15 times. Please help

    I have a Blackberry 8330 and a MacBook. For some reason I started having connectivity issues. The handheld will not sync with the computer via pocketmac. I have uninstalled, etc 15 times. Please help

    Hi Peter!
    I'm sorry to read that you are having issues with your Sync account.
    Your best bet is to follow the steps described in this blogposts and open a bug:
    https://philikon.wordpress.com/2011/06/13/how-to-file-a-good-sync-bug/
    After that, if you don't want to user Sync in your computer, you can stop it with this simple steps:
    * At the top of the Firefox window, click on the Firefox button (Tools menu in Windows XP) and then click Options.
    * Once the options window opens, click on the Sync tab.
    * At the bottom of the Sync tab click on '''Deactivate this Device''' link

  • I keep getting an error message that says that the hard drive cannot be repaired.  Therefore I cannot get the computer to start up.

    I keep getting an error message that says that the hard drive cannot be repaired.  Therefore I cannot get the computer to start up.

    It doesn't sound like you are doing anything incorrectly from what I can see. Have you tried restarting the iPad and then see if you can backup?
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Help!!  I changed my log in screen to show a blank name and pw. Now I cannot open the computer???

    Help!!  I changed my log in screen to show a blank name and pw. Now I cannot open the computer???

    1.Turn on the computer and when you hear the startup chime hold CMD+S. This boots the computer into single-user mode, giving you root access.
    2.Once single-user mode loads (it looks like a black screen with white text) mount the hard drive. So at the prompt type in:
    /sbin/mount -uw /
    3. Now that the drive is mounted we can edit the file system. We need to delete a file that tells your computer that you have completed setup. So type in:
    rm /var/db/.applesetupdone
    4.We need the system to reboot so it can check for the file and not find it. Type in:
    reboot
    5.Continue setup
    Be sure to select “DO NOT TRANSFER MY DATA”.
    6.Finish setup and login.
    7. Go to system preferences and edit that account so it HAS A NAME.

  • Hibernation does not shutdown the computer

    Hello,
    the hibernation was working perfectly until one of the last updates. I can not say exactly when things get broken since I didn't rebooted my computer for weeks (it was in hibernation only) and so the last kernel updates were probably not applied... However, after a real reboot, when I hibernate now, everything works fine except that I have to "shutdown" the computer manually pressing the on/off button myself. When I start the computer again, it resumes from hibernation perfectly without doing the whole start sequence...
    Does someone have an idea where I could look for to avoid pressing the on/off button myself to close the computer?
    Thanks for your help,
    Salvatore
    PS: I am working with KDE and have an ATI graphic card.

    I investigate the polkit area... arrived to the file "/usr/share/polkit-1/actions/org.freedesktop.login1.policy" that I modified frw time ago (to enable my wife to hibernate when my session was open). I thought the problem may come from here... so I reinstalled systemd and other small package to recover the original configuration of the files in the directory /usr/share/polkit-1/actions/.
    But it is still not working... I start to loose my hope
    You can find below the end of /var/log/pm-powersave.log :
    /usr/lib/pm-utils/power.d/laptop-mode false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm: ligne 9 : echo: erreur d'écriture : Opération non permise
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/readahead false:
    Setting readahead for /dev/sdb1 to 256...Done.
    Setting readahead for /dev/sda1 to 256...Done.
    Setting readahead for /dev/sdb6 to 256...Done.
    Setting readahead for /dev/sdb7 to 256...Done.
    Setting readahead for /dev/sdb8 to 256...Done.
    /usr/lib/pm-utils/power.d/readahead false: success.
    Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
    Setting SATA APLM on host2 to max_performance...Done.
    Setting SATA APLM on host3 to max_performance...Done.
    Setting SATA APLM on host4 to max_performance...Done.
    Setting SATA APLM on host5 to max_performance...Done.
    /usr/lib/pm-utils/power.d/sata_alpm false: success.
    Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
    **sched policy powersave OFF
    /usr/lib/pm-utils/power.d/sched-powersave false: success.
    Running hook /usr/lib/pm-utils/power.d/wireless false:
    /usr/lib/pm-utils/power.d/wireless false: success.
    Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:
    /usr/lib/pm-utils/power.d/xfs_buffer false: success.
    Running hook /usr/lib/pm-utils/power.d/hal-cd-polling false:
    /usr/lib/pm-utils/power.d/hal-cd-polling false: success.
    Running hook /usr/lib/pm-utils/power.d/intel-audio-powersave false:
    Setting power savings for snd_hda_intel to 0...Done.
    /usr/lib/pm-utils/power.d/intel-audio-powersave false: success.
    Running hook /usr/lib/pm-utils/power.d/journal-commit false:
    Setting journal commit time for / to 0...Done.
    Setting journal commit time for /media/BACKUP to 0...Done.
    Setting journal commit time for /media/DIVERS to 0...Done.
    Setting journal commit time for /media/MEDIA to 0...Done.
    Setting journal commit time for /media/DATA to 0...Done.
    /usr/lib/pm-utils/power.d/journal-commit false: success.
    Running hook /usr/lib/pm-utils/power.d/laptop-mode false:
    Laptop mode disabled.
    /usr/lib/pm-utils/power.d/laptop-mode false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm: ligne 9 : echo: erreur d'écriture : Opération non permise
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/readahead false:
    Setting readahead for /dev/sdb1 to 256...Done.
    Setting readahead for /dev/sda1 to 256...Done.
    Setting readahead for /dev/sdb8 to 256...Done.
    Setting readahead for /dev/sdb7 to 256...Done.
    Setting readahead for /dev/sdb6 to 256...Done.
    /usr/lib/pm-utils/power.d/readahead false: success.
    Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
    Setting SATA APLM on host2 to max_performance...Done.
    Setting SATA APLM on host3 to max_performance...Done.
    Setting SATA APLM on host4 to max_performance...Done.
    Setting SATA APLM on host5 to max_performance...Done.
    /usr/lib/pm-utils/power.d/sata_alpm false: success.
    Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
    **sched policy powersave OFF
    /usr/lib/pm-utils/power.d/sched-powersave false: success.
    Running hook /usr/lib/pm-utils/power.d/wireless false:
    /usr/lib/pm-utils/power.d/wireless false: success.
    Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:
    /usr/lib/pm-utils/power.d/xfs_buffer false: success.
    Running hook /usr/lib/pm-utils/power.d/hal-cd-polling false:
    /usr/lib/pm-utils/power.d/hal-cd-polling false: success.
    Running hook /usr/lib/pm-utils/power.d/intel-audio-powersave false:
    Setting power savings for snd_hda_intel to 0...Done.
    /usr/lib/pm-utils/power.d/intel-audio-powersave false: success.
    Running hook /usr/lib/pm-utils/power.d/journal-commit false:
    Setting journal commit time for / to 0...Done.
    Setting journal commit time for /media/BACKUP to 0...Done.
    Setting journal commit time for /media/DATA to 0...Done.
    Setting journal commit time for /media/MEDIA to 0...Done.
    Setting journal commit time for /media/DIVERS to 0...Done.
    /usr/lib/pm-utils/power.d/journal-commit false: success.
    Running hook /usr/lib/pm-utils/power.d/laptop-mode false:
    Laptop mode disabled.
    /usr/lib/pm-utils/power.d/laptop-mode false: success.
    Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
    /usr/lib/pm-utils/power.d/pcie_aspm: ligne 9 : echo: erreur d'écriture : Opération non permise
    /usr/lib/pm-utils/power.d/pcie_aspm false: success.
    Running hook /usr/lib/pm-utils/power.d/readahead false:
    Setting readahead for /dev/sdb1 to 256...Done.
    Setting readahead for /dev/sda1 to 256...Done.
    Setting readahead for /dev/sdb6 to 256...Done.
    Setting readahead for /dev/sdb7 to 256...Done.
    Setting readahead for /dev/sdb8 to 256...Done.
    /usr/lib/pm-utils/power.d/readahead false: success.
    Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
    Setting SATA APLM on host2 to max_performance...Done.
    Setting SATA APLM on host3 to max_performance...Done.
    Setting SATA APLM on host4 to max_performance...Done.
    Setting SATA APLM on host5 to max_performance...Done.
    /usr/lib/pm-utils/power.d/sata_alpm false: success.
    Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
    **sched policy powersave OFF
    /usr/lib/pm-utils/power.d/sched-powersave false: success.
    Running hook /usr/lib/pm-utils/power.d/wireless false:
    /usr/lib/pm-utils/power.d/wireless false: success.
    Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:
    /usr/lib/pm-utils/power.d/xfs_buffer false: success.
    There is a strange line with an error (in French):
    /usr/lib/pm-utils/power.d/pcie_aspm: ligne 9 : echo: erreur d'écriture : Opération non permise
    that means : line 9: write error - operation not allowed.
    Any idea how can I allow pcie_aspm to shutdown my computer ?

  • Kdcmond cannot retreive the computer's local Hostname

    When I open Console, the following message appears hundreds of times in the log for today. What is this and why am I getting it?
    "2/8/10 10:36:11 AM com.apple.kdcmond[158] kdcmond cannot retreive the computer's local Hostname , retrying .. "
    It retries every 10 or 15 seconds, continuously...

    In looking at the log file, very early in the reporting there is an entry:
    " 2/8/10 9:26:04 AM org.apache.httpd[27] httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName "
    This entry directly precedes the first entry of:
    " kdcmond cannot retreive the computer's local Hostname , retrying.. "
    It seems that something in my httpd.conf file was changed and now Apache can't find the domain name. Any ideas what to look for in the httpd.conf file?

  • I can't shutdown the computer.

    Can't shutdown the computer.

    I am having the same trouble. Windows 8 is operating system. It's a pavillion g6

  • My MacBook Air constantly freezes when surfing the Internet and I keep having to restart or shutdown the computer. Any advice on what could be wrong?

    My MacBook Air constantly freezes when surfing the Internet and I keep having to restart or shutdown the computer. Any advice on what could be wrong?

    My MacBook Air constantly freezes when surfing the Internet and I keep having to restart or shutdown the computer. Any advice on what could be wrong?

  • I cannot access the music via my iTunes account and it will not download all of them.  If it matters, I have not gotten the new update yet.

    I go to school and I would like to be able to listen to my music on my laptop versus using my iPhone or iPad.  Only some of my music had been downloaded and I cannot download the rest.  I have authorized my computer through my account several times but I still cannot get all of my music on it.  I have the 128GB but storage is not an issue as I use a flash drive (16GB) and I have access to external hard drive (1.5TB).  How can I get all of my music to actually download to my MacBook?

    Hello JeremyPoolaw84,
    Thanks for using Apple Support Communities.
    In order to list to your music purchased on iTunes on your computer, you will need to first download those songs.  To download your previous purchases from the iTunes Store, please follow the directions in the link below.
    Download previous purchases on Mac or PC 
    Make sure your Mac or PC meets these system requirements:
    iTunes 10.3 or later
    You need iTunes 10.6 or later to download previously purchased movies and TV shows.
    iTunes account in a country where iTunes in the Cloud is available
    iTunes Store
    Open iTunes and go to the iTunes Store.
    Click Purchased in the Quick Links section.
    Select the content type that you want to download (Music, Movies, TV Shows, Apps, or Books).
    Select Not in My Library to view purchased content that isn't on your computer.
    Find the item that you want to download. You can browse using the menu to the left. If you have more than 2,000 songs, you'll see Recent Purchases instead of All Songs or Albums.
    Click the Download  icon next to the item you want to download.
    If an item is already in your library, the Download icon won't appear.
    Download past purchases
    Cheers,
    Alex H.

  • Shutting down the computer via Java?

    Is there a way this can be done? I know how to use Runtime's and all that, but I dont know of any commands that would shut down the computer. Please help!

    in windows xp ( may be 200 too) you can execute command
    "shutdown -s -t 60"it tells the system to shut the pc in 60secs but you need some priviladges to do this
    but i dont know what are the exact privilages
    basicaly :- this work in my office and home pc and in the univercity I am studying the computers say that I dont have right to do it even though I can shut down the pc manualy
    and you can shut down the pcs remotly over the network using this tool
    just type "shutdown -h" in command prompt for more information
    to abort the shutdown you can run command "shutdown -a" befor the clock run out

Maybe you are looking for