Cannot shutdown from within XBMC - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Cannot shutdown from within XBMC (/showthread.php?tid=65726) |
Cannot shutdown from within XBMC - Drumaster12 - 2010-01-01 Hi everyone, and thanks for all the help I've already gotten from theses boards. I'm having a problem shutting down my Revo AR1600 from within XBMC. I've searched the forums and only saw people having problems with suspend. I, on the other hand, just want to shutdown. I installed XBMC Live 9.11 to the clean formatted hard drive, and have made only minor modifications: 1. Set a static IP 2. exit XBMC, startx and installed firefox and flash so I can browse the web ocassionally. 3. Installed X11 VNC (version 0.9.3) to ocassionally access the box's GUI from my main computer while researching helpful sites like this one. 4. Installed Aeon Skins using This Guide (http://forum.xbmc.org/showthread.php?tid=49958) 5. run sudo aptitude update, upgrade, and install regularly (every two days or so) I'm entirely new to linux and just started this project in early December. I've feel I've learned a lot since then (installed and tweaked several different times and ways including full ubuntu with gnome) but I'm obviously still barely scratching the surface. Any help anyone could provide would be greatly appreciated. Thanks again for all the help the members of this forum have already provided. Info requested in the " HOW-TO post about a problem in a useful manner" below: 1. XBMC version: XBMC 9.11 R26018 2. Linux 2.6.31-16-generic #53-Ubuntu [(From System Info Screen)(Karmic)] 3. Architecture: i686 4. Installed from USB-BOOT XBMC-Live 9.11 5. SVN: R26018 6. When I go to "Shutdown" or press "Power" on remote, XBMC instead exits to a terminal login screen. I have to login then "sudo shutdown -h now". 7. Debug Log: http://pastebin.com/m472900ca - althekiller - 2010-01-01 You have the shutdown function set to quit in system > power saving under settings? - Drumaster12 - 2010-01-01 The shutdown functions I see available are: ?0? and ?-1?. I don't know what these mean, but I've tried both of them and I get the same result. - moonwhaler - 2010-01-02 Same problem here - although the shutdown feature was working fine until I decided to "apt-get install firefox" after that "reboot" or "shutdown" will terminate into the login screen where I have to use the manual byebye "shutdown -h now" (e.g.). So I think it's kind of related to some sort of package from the "firefox" install. Since I am by no means a XBMC developer I'm not able to tell which kind of functions / ... are being used to initiate said "shutdown" and "reboot" features of Linux. Anyone? Thanks a lot! - AddictedToMetal - 2010-01-03 moonwhaler Wrote:Same problem here - although the shutdown feature was working fine until I decided to "apt-get install firefox" after that "reboot" or "shutdown" will terminate into the login screen where I have to use the manual byebye "shutdown -h now" (e.g.). Yes. I hit this yesterday as well. Wanted to run Firefox in kiosk mode but saw I couldn't shutdown from XBMC anymore. Defiantly a depend that does this because after I removed Firefox and all the cruft things went back to normal. I'm gonna grab the official binary and try that to see how things go. BTW, what does your ~/.xsession look like? Code: nvidia-settings -l & - Abnormal1 - 2010-01-03 I have had this problem since beta1. Only way I was able to get shutdown etc working was by reinstalling. This problem seems to be releated to the following repeated line in my xbmc log here ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Power was not provided by any .service files I also run this is a terminal PHP Code: xbmc@XBMCLive:~$ dbus-send --print-reply \ For me I would get this problem if I compiled and installed alsa and also if I installed Nvidia drivers using "NVIDIA-Linux-x86-190.53-pkg1.run" - moonwhaler - 2010-01-03 Standard .xsession I suppose: Code: #!/bin/bash Using a freshly installed (onto harddrive) Camelot from Live-USB stick. Nothing more. - Abnormal1 - 2010-01-03 My .xsession is already that so I don't think that's the problem. - DappereDodo - 2010-01-04 Same problem here. Installed firefox yesterday, now the power button just closes XBMC instead of powering down. - moonwhaler - 2010-01-05 Okay. Reverted back to "after LIVE Camelot install". Entered "sudo apt-get install firefox" which gave me: Code: The following extra packages will be installed: It's A LOT (!), but does somebody (maybe a developer) know which (package) may confuse XBMC/X11? - essence25 - 2010-01-05 Damn, same issue here. None of the commands under the POWER icon work, these include: Shudown, Reboot, Suspend... they all go to the command shell and suspend does nothing anymore. All were fine before Firefox 3.5 install... arrghhhh How do we fix these? - AddictedToMetal - 2010-01-05 moonwhaler Wrote:It's A LOT (!), but does somebody (maybe a developer) know which (package) may confuse XBMC/X11? Well the thing is, that's the depends. You have to take them. Other way to go is to grab the one from Mozilla and make sure you have theproper libraries installed to run the binary. The depends from Ubuntu will be more that what's actually needed to run. (they have extra stuff to cover all the bases) - agathian - 2010-01-05 Kinda similar issue for me.. I had wrapper script looking for 'To XBMC.ShutDown()' in the xbmc.log to trigger /sbin/poweroff. So that it will power-off on "shutdown", but not on "exit". Stopped working recently.. not sure if it is related to firefox 3.5 update or xbmc or if i inadvertently changed any log settings Also, xbmc takes a long time to quit, following is the last line that get logged. Code: ERROR: DBus: Error org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. same issue here - walker73 - 2010-01-05 My personal experience is the same.. I have XBMC Live 9.11 Final, I just installed Firefox and flash plugin via apt-get and now I can't power off my ASRock Ion PC via remote like before. I obtain a login display.. - Marbieskarb - 2010-01-05 Bump... Same issue for me too. Had to install to get it back working properly |