Minimal install of XBMC on Ubuntu Karmic Koala (9.10)

  Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
spokenrope Offline
Junior Member
Posts: 14
Joined: Nov 2009
Reputation: 0
Post: #51
Hey guys. Following these instructions, I'm unable to boot into XBMC and just get the message "Authentication Failure" about a dozen times every time I start my computer. I'm also unable to get the command line, as far as I can tell. Does anybody know what the problem is?

I'm a complete Linux newbie, so it's possible (likely) that I've missed something stupid. Any help would be appreciated. Thanks! Smile
find quote
owagner Offline
Junior Member
Posts: 22
Joined: Nov 2008
Reputation: 0
Post: #52
sparapanzi Wrote:Same thing to me.
I have Ubuntu 9.10 and can't shutdown or reboot from xbmc.

Try

Code:
polkit-auth --user useraswhichxbmcisrunning --grant org.freedesktop.hal.device.systempowermanagement.reboot
polkit-auth --user useraswhichxbmcisrunning --grant org.freedesktop.hal.device.systempowermanagement.shutdown

Best Regards,
Olli
find quote
qnox Offline
Junior Member
Posts: 27
Joined: Jul 2009
Reputation: 0
Post: #53
I've noticed same issue with rebooting/suspending and posted it there: http://forum.xbmc.org/showthread.php?tid=62862

Your tip owagner didn't solve my case

edited:
but this -> http://forum.xbmc.org/showpost.php?p=448...stcount=54 solved my issue Smile

MB Gigabyte MA785GM-U2SH, VGA GeForce 9400, CPU AMD Athlon II X2 250, RAM 2GB Geil Green 800Mhz, HDD Samsung F2 500GB, OS Ubuntu x64 Karmic
(This post was last modified: 2009-11-29 23:52 by qnox.)
find quote
kroete Offline
Junior Member
Posts: 1
Joined: Nov 2009
Reputation: 1
Post: #54
Hello,

I had the same problem, after the update from alpha2 to beta1:

Suspend/Shutdown doesn't work in my standalone installation.Shocked

The solution was:

apt-get install policykit-1
apt-get install devicekit-power

After that, you can check with "pkaction" that:

org.freedesktop.devicekit.power.suspend
org.freedesktop.consolekit.system.stop

(for example) are present.

Then you need to add:

root@localhost:~# cat /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla

[Actions for xbmc user]
Identity=unix-user:xbmc
Action=org.freedesktop.devicekit.power.*;org.freedesktop.consolekit.system.*
ResultActive=yes
ResultAny=auth_admin
ResultInactive=yes


The file custom-actions.pkla gives the xbmc user access to two actions (seperated by semicolon).
I dont know which security problems this file has, but it worked for me ™.

After that, suspend/shutdown should work. (It worked for me Big Grin)

kroete

PS: some commands for debugging:
dbus-send --print-reply \
--system \
--dest=org.freedesktop.DeviceKit.Power \
/org/freedesktop/DeviceKit/Power \
org.freedesktop.DeviceKit.Power.EnumerateDevices

dbus-send --print-reply --system
--dest=org.freedesktop.DeviceKit.Power
-- /org/freedesktop/DeviceKit/Power
-- / org.freedesktop.DeviceKit.Power.Suspend
find quote
qnox Offline
Junior Member
Posts: 27
Joined: Jul 2009
Reputation: 0
Post: #55
Thank you, kroete, your tip works for me, I can again suspending my HTPC Smile

MB Gigabyte MA785GM-U2SH, VGA GeForce 9400, CPU AMD Athlon II X2 250, RAM 2GB Geil Green 800Mhz, HDD Samsung F2 500GB, OS Ubuntu x64 Karmic
find quote
spokenrope Offline
Junior Member
Posts: 14
Joined: Nov 2009
Reputation: 0
Post: #56
spokenrope Wrote:Hey guys. Following these instructions, I'm unable to boot into XBMC and just get the message "Authentication Failure" about a dozen times every time I start my computer. I'm also unable to get the command line, as far as I can tell. Does anybody know what the problem is?

I'm a complete Linux newbie, so it's possible (likely) that I've missed something stupid. Any help would be appreciated. Thanks! Smile

It turns out that my problem was this line:

exec /bin/login -f xbmc < /dev/tty1 > /dev/tty1 2>&1

Elsewhere in the setup we were told to replace "xbmc" with our user names, but not on this line. Once I made that change, I was golden.

Thanks for the great guide, Springy!
find quote
sparapanzi Offline
Junior Member
Posts: 6
Joined: Nov 2009
Reputation: 0
Post: #57
root@localhost:~# cat /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla

[Actions for xbmc user]
Identity=unix-user:xbmc
Action=org.freedesktop.devicekit.power.*;org.freedesktop.consolekit.system.*
ResultActive=yes
ResultAny=auth_admin
ResultInactive=yes


Thank you !!! It works for me too !

To enable restart and shutdown is essential to use :

org.freedesktop.consolekit.system.*

because devicekit not handle restart and shutdown
find quote
CaptnJB Offline
Junior Member
Posts: 8
Joined: Dec 2009
Reputation: 0
Location: Illinois, USA
Post: #58
jonassw: You said you had a ATI Radeon 4200 in a post. How did the opensource drivers work for you? It was real slow and jerky on mine until I installed the propreitary drivers, now it's smooth.

Nice how-to....I'm not to worried about the shutdown issues, but here's what I can't figure out, I'm obviously not doing something correct.

I have an M4A785G motherboard which has the Radeon 4200 built in. Works great in my small Antec case. I have the resolution set to 1280x720. When I have my Samsung montitor plugged in to the VGA port and the HDMI cable going to the Sony TV, it works great. The ATI see's both montiors. Works everytime.

Now, when I unplug the monitor and reboot, nothing, nada is on the TV, even though I have defined the screen resolution. It even takes a lot longer to boot, but nothing is displayed on the TV screen. When I do plug in the monitor, it's out of it's sync range.

Any ideas?
find quote
Ticko Offline
Junior Member
Posts: 27
Joined: May 2008
Reputation: 0
Post: #59
Tried the guide but i get stuck here:

sudo apt-get install xbmc xbmc-skin-* xbmc-eventclients-* xbmc-scripts-*
Läser paketlistor... Färdig
Bygger beroendeträd
Läser tillståndsinformation... Färdig
Observera, väljer xbmc-skin-default för det reguljära uttrycket "xbmc-skin-*"
Observera, väljer xbmc-skin-confluence för det reguljära uttrycket "xbmc-skin-*"
Observera, väljer xbmc-skin-pm3-hd för det reguljära uttrycket "xbmc-skin-*"
Observera, väljer xbmc-skin-pm3 för det reguljära uttrycket "xbmc-skin-*"
Observera, väljer xbmc-eventclients-dev för det reguljära uttrycket "xbmc-eventclients-*"
Observera, väljer xbmc-eventclients-common för det reguljära uttrycket "xbmc-eventclients-*"
Observera, väljer xbmc-eventclients-j2me för det reguljära uttrycket "xbmc-eventclients-*"
Observera, väljer xbmc-eventclients-ps3 för det reguljära uttrycket "xbmc-eventclients-*"
Observera, väljer xbmc-eventclients-wiiremote för det reguljära uttrycket "xbmc-eventclients-*"
Observera, väljer xbmc-eventclients-xbmc-send för det reguljära uttrycket "xbmc-eventclients-*"
Observera, väljer xbmc-scripts-example för det reguljära uttrycket "xbmc-scripts-*"
Några paket kunde inte installeras. Det kan betyda att du har begärt
en omöjlig situation eller, om du använder den instabila utgåvan
att några nödvändiga paket ännu inte har skapats eller flyttats
ut från "Incoming".
Följande information kan vara till hjälp för att lösa situationen:

Följande paket har beroenden som inte kan tillfredsställas:
xbmc-skin-pm3: Beroende av: xbmc-common (= 9.11~alpha2-karmic1)
E: Trasiga paket
xbmc@HTPC:~$

It says that xbmc-skin-pm3 depends on xbmc-common (swedish)
Any ide?
find quote
pregi Offline
Junior Member
Posts: 25
Joined: Sep 2008
Reputation: 0
Location: Germany
Post: #60
try "apt-get -f install"
find quote
Post Reply