2009-11-23, 22:28
^^ Did you add the user XBMC to the group that's allowed to shutdown/suspend/reboot?
arielgr Wrote:Well, there is a reason to use a full installation if you want to drop back to it to do other things in gnome.. the XBMCLive installation is barebone, no gnome, no apps.. if that fits your needs - great.
I found the issue and I guess more people will see it soon. Seems like lcapriotti changed runXBMC(.sh) only 5 days ago, to use the existing primary user for login if available.. This may work for XBMCLive, but it breaks this xbmc-live method for xbmc on ubuntu, as my default user was not the xbmc one!
As a workaround I commented the new code in runXBMC.sh:
if [ "$(whoami)" == "root" ] ; then
11 xbmcUser=$(getent passwd 1000 | sed -e 's/\:.*//')
12 if [ -z "$xbmcUser" ]; then
13 echo "User for XBMC not found, exiting..."
14 break
15 fi
16 else
17 xbmcUser=$(whoami)
18 fi
and changed it back to
xbmcUser=xbmc
This also fixes the shutdown and suspend.
The joy of linux. My wife would like to thank everyone for another lost evening
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions
Donny Bahama Wrote:It's my first XBMC install and I'm using the XBMCbuntu guide in the wiki. I did the expert install because I wanted control over my partitioning scheme (wanted to use LVM) but now I'm stuck at "Install the base system". The list of options are mind boggling... linux-386/virtual/generic/generic-pae, linux-image-2.6.31-17/16/15/14-386/virtual/generic/generic-pae, etc.You should still be able to use the partition manager with the Live install as well. If not, you could always partition the drive on another box and then install to the already created partition.
I'm using a motherboard with an Intel 945GC chipset, an Intel Atom 330 CPU, and an 8400GS graphics card.
I don't want to choose the wrong one and I can't continue 'til I select a kernel, so I'd really appreciate help of the ASAP variety!
Thanks for reading!
Donny Bahama Wrote:I don't want to choose the wrong one and I can't continue 'til I select a kernel, so I'd really appreciate help of the ASAP variety!
pashdown Wrote:What install disc are you using that asks for a kernel selection? None of the Ubuntu server installs I do ever ask that.Ubuntu 9.10 "Karmic Koala" Minimal CD - only at the boot prompt, I type "expert install" instead of just "install".
pashdown Wrote:If you select "install" it will still ask you for partitioning information without the kernel questions.Thanks. Trying that now. Grub problem is driving me bonkers!
Quote: Automated startup
Edit the following line in /etc/default/grub to appear as:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,noredir loglevel=0"
Then update grub:
sudo update-grub