• 1
  • 26
  • 27
  • 28(current)
  • 29
  • 30
  • 37
[LINUX] XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)
I am getting the user permission error as well. I updated the script and now when running it with sudo I get

"This script only works on the user xbmc. exiting..."

I am logged in as xbmc, 9.04 minimal install. I have been using this script for a while and it work great to keep xbmc uptodate.
Reply
What is wrong?

xbmc@xbmc:~$ sudo ./xbmscript.sh
This script only works on the user xbmc. exiting...
xbmc@xbmc:~$
Reply
did you update the script? try again.
XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)
Installing XBMC on Ubuntu can't get easier than this!
Before posting error/feature questions regarding XBMScript, read THIS
Run as root. Don't be a pussy
Reply
flxfxp Wrote:Thats what is included in the beta for now as well.

Hello flxfxp,

are you talking of a beta script ? what is the url please ? I would definitely give it a go.

cheers
Reply
Hmmmm... I can confirm this. And the script is up to date.
Just download and test it with:
Code:
wget http://flx.me/script; chmod +x xbmscript.sh; sudo ./xbmscript.sh

Result in:
Code:
Saving to: `xbmscript.sh'

100%[======================================>] 53,320      51.8K/s   in 1.0s

2009-11-30 16:11:01 (51.8 KB/s) - `xbmscript.sh' saved [53320/53320]

This script only works on the user xbmc. exiting...
xbmc@ASRock:~$

Regards.
Reply
flxfxp

Are you building your new script to support Jaunty or Karmic? I'm assuming since this topic is still "Easy Installation for Ubuntu Janunty Jackalope"

The reason I ask I need to know which to download to try out your new script. Wink
Reply
Hi everyone,

Is it possible automount any USB device and put it as source, as happens in XBMC Live?
With XBMC Live, for instance, if I plug an USB flash labeled "Kingston", will immediately appear a source called "Kingston" in videos, music and pictures. This is VERY handy!

Thanks in advance.
Reply
FireMan Wrote:Hmmmm... I can confirm this. And the script is up to date.
Just download and test it with:
Code:
wget http://flx.me/script; chmod +x xbmscript.sh; sudo ./xbmscript.sh

Result in:
Code:
Saving to: `xbmscript.sh'

100%[======================================>] 53,320      51.8K/s   in 1.0s

2009-11-30 16:11:01 (51.8 KB/s) - `xbmscript.sh' saved [53320/53320]

This script only works on the user xbmc. exiting...
xbmc@ASRock:~$


Regards.

im afraid i am getting this to, i am logged in as xbmc aswell
Reply
FireMan Wrote:Hi everyone,

Is it possible automount any USB device and put it as source, as happens in XBMC Live?
With XBMC Live, for instance, if I plug an USB flash labeled "Kingston", will immediately appear a source called "Kingston" in videos, music and pictures. This is VERY handy!

Thanks in advance.

According with this tread, the automount I mentioned will works only if xbmc is starte with --standalone

As far I know, the XBMC is started by a script in /etc/init.d
I did try start manual by running /usr/share/xbmc/xbmc.bin --standalone &, but this wll give the "Can't open display" error.

How can I start it with --standalone option?

Thanks in advance.

EDIT

Problem solved:

Code:
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.storage.mount-removable
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.device.volume

Should be nice add these lines to the script, also the lines needed to make possible shut down, suspend, reboot etc.:

Code:
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
Reply
Thank you Fireman for those sudo commands. Now my new Ion shuts off like its supposed to. Wink
Reply
themugger Wrote:im afraid i am getting this to, i am logged in as xbmc aswell

I've removed the xbmc user check in the latest version, please update the script. Or remove the check manually.
XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)
Installing XBMC on Ubuntu can't get easier than this!
Before posting error/feature questions regarding XBMScript, read THIS
Run as root. Don't be a pussy
Reply
flxfxp Wrote:I've removed the xbmc user check in the latest version, please update the script. Or remove the check manually.

thanks ill give this ago.
Reply
flxfxp Wrote:I've removed the xbmc user check in the latest version, please update the script. Or remove the check manually.

I remove the check manually and works fine. But, just to report, the updated (12/02/2009) version still giving the same error:

Code:
--2009-12-02 15:34:40--  http://flx.me/script/xbmscript.sh
Reusing existing connection to flx.me:80.
HTTP request sent, awaiting response... 200 OK
Length: 53320 (52K) [application/x-sh]
Saving to: `xbmscript.sh'

100%[======================================>] 53,320      74.2K/s   in 0.7s

2009-12-02 15:34:41 (74.2 KB/s) - `xbmscript.sh' saved [53320/53320]

This script only works on the user xbmc. exiting...
xbmc@ASRock:~$

Regards,
FireMan.
Reply
I know noticed what the problem is. My hosting copied my domain name over to a different box, i've been editing the wrong xbmscript. The bad news is that I can't reach it yet, so you'll have to wait. The good news is that it should be fixed by the end of the week. For now, just manually remove line 12 to 21 Smile
XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)
Installing XBMC on Ubuntu can't get easier than this!
Before posting error/feature questions regarding XBMScript, read THIS
Run as root. Don't be a pussy
Reply
kizer Wrote:flxfxp

Are you building your new script to support Jaunty or Karmic? I'm assuming since this topic is still "Easy Installation for Ubuntu Janunty Jackalope"

The reason I ask I need to know which to download to try out your new script. Wink
The new version shall be coming out soon. Since most of the replies are then irrelevant to that version I shall start a new thread.
XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)
Installing XBMC on Ubuntu can't get easier than this!
Before posting error/feature questions regarding XBMScript, read THIS
Run as root. Don't be a pussy
Reply
  • 1
  • 26
  • 27
  • 28(current)
  • 29
  • 30
  • 37

Logout Mark Read Team Forum Stats Members Help
[LINUX] XBMScript - Easy installation for Ubuntu Jaunty Jackalope (9.04)5