[LINUX] HOW-TO make a standard Ubuntu installation into 'XBMCbuntu' set-top-box style

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
lcapriotti Offline
a.k.a Luigi, Team-XBMC XBMCbuntu Dev
Posts: 811
Joined: Jan 2008
Reputation: 12
Location: Italy
Thumbs Up  [LINUX] HOW-TO make a standard Ubuntu installation into 'XBMCbuntu' set-top-box style
Post: #1
Although XBMC Live is really only a customized standard Ubuntu system when installed on a fixed disk in "normal mode", there are many situations in which a complete build may provide the extra flexibility that a full standard installation is capable of.

For this purpose I drafted a first version of this HOW-TO, a basic description guide of the process required to build what I call "XBMCbuntu", a standard Ubuntu installation on fixed disk that has the 'set-top-box' appliance look and feel that IMHO is a must for all production style HTPC setups.

The article describes the basic steps required for the build, and does not go into details on special aspects of the system setup that are subject to vary depending on the actual hardware used. This is on purpose, and any additional instructions in this regard must be written in separate wiki pages that I will later review and link from and to the main article.

Note! Please help this HOW-TO grow in completeness, consistency, and accuracy!

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
(This post was last modified: 2009-05-26 19:18 by Gamester17.)
find quote
queeup Offline
Posting Freak
Posts: 762
Joined: Feb 2009
Reputation: 16
Post: #2
Wow thx for this. Now Install miminal Ubuntu officially supported Smile
find quote
Zeppstar Offline
Senior Member
Posts: 112
Joined: Dec 2008
Reputation: 0
Post: #3
Great to see a minimal install guide return. My only criticism is one package (xbmc-live). The old(previous guide) was deemed dangerous due to blindly leading users to perform unsafe actions/downloads with wget with little to no documentation to its actual function. Is this not what you are asking us to do by installing xbmc-live?
Could you explain exactly what this package is doing to our systems?

Apart from that, seems to be a great guide. I may try it out this weekend.

Cheers

HW : Multiple Asrock 330HT + NAS
SYS: xbmc-live 10.0
find quote
Zeppstar Offline
Senior Member
Posts: 112
Joined: Dec 2008
Reputation: 0
Post: #4
My previous post is by no means meant to be taken as an attack on this new guide. Im only trying to offer help/thoughts/opinion. A slightly expanded description on what the xbmc-live package is doing would suffice.

Zepp

HW : Multiple Asrock 330HT + NAS
SYS: xbmc-live 10.0
find quote
topfs2 Offline
Team-Kodi Developer
Posts: 4,049
Joined: Dec 2007
Reputation: 10
Post: #5
Zeppstar Wrote:Great to see a minimal install guide return. My only criticism is one package (xbmc-live). The old(previous guide) was deemed dangerous due to blindly leading users to perform unsafe actions/downloads with wget with little to no documentation to its actual function. Is this not what you are asking us to do by installing xbmc-live?
Could you explain exactly what this package is doing to our systems?

Apart from that, seems to be a great guide. I may try it out this weekend.

Cheers

XBMC Live package is a helper written by luigi and is a script that can for instance mount hdds. So its not unsafe, its a vital part of XBMC Live.

Also noteworthy is that making these installation is far from "supported" it's how-to for those insisting on doing it, or for those that wants to know how XBMC Live is built. What is supported is using either plain Ubuntu (the simple guide) or to install XBMC Live, everything else the person doing it is on it's own.

The old guide was very good for those that are used to linux, and a great well of information about how to update different subsystems, however it was never suited for newcommers, which insisted on using the guide which was unfortuanate and most hit a roadblock and tried to get help on irc when it more often than not was user issues, or hardware specific issues which they wasn't meant to fix.

Thats why this guide is to take it's place, it rarely use own compiled stuff and relies much more on deb's which is far easier to handle for anyone.

Cheers,
Tobias.

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
lcapriotti Offline
a.k.a Luigi, Team-XBMC XBMCbuntu Dev
Posts: 811
Joined: Jan 2008
Reputation: 12
Location: Italy
Post: #6
Zeppstar Wrote:Could you explain exactly what this package is doing to our systems?
Fair enough: it can be easily verified that the deb contains the following scripts (all taken from the XBMC SVN, no binaries):

/etc/init.d/xbmc-live: startx X and XBMC automatically at login (among others)
/usr/bin/installXBMC.py: XBMC Live installer
/usr/bin/setAlsaVolumes.py: helper script increasing audio levels
/usr/bin/diskmounter: helper script mounting existing fixed disk partitions

adds an user "xbmc" belonging to the proper groups, and assigns power management and removable media grants.

The same packages are part of the new XBMC Live.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Zeppstar Offline
Senior Member
Posts: 112
Joined: Dec 2008
Reputation: 0
Post: #7
Lately I've been setting up my media centre with a minimal XFCE and firefox so I can drop out of xbmc to web surf. Using the startup programs in XFCE, i've seen a negligible increase in startup time for xbmc and you can barely notice that XFCE has been loaded. Providing this information about how xbmc-live starts things up may assist other people modify their system to suit their needs.

Thanks

HW : Multiple Asrock 330HT + NAS
SYS: xbmc-live 10.0
find quote
MartijnKooi Offline
Junior Member
Posts: 37
Joined: Mar 2009
Reputation: 0
Location: The Netherlands
Post: #8
Hi,

When I try to do a apt-get update i receive this error..
PHP Code:
WGPG error: [url]http://ppa.launchpad.net[/url] jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A956EB81318C7509
WYou may want to run apt-get update to correct these problems
[email]xbmc@solonview:/etc/apt/sources.list[/email].d

I've tried this solution also but without success.
http://ubuntuforums.org/showthread.php?t=1122802

what could be wrong Confused
find quote
kimp93 Offline
Aeon Group
Posts: 157
Joined: Mar 2004
Post: #9
MartijnKooi Wrote:Hi,

When I try to do a apt-get update i receive this error..
PHP Code:
WGPG error: [url]http://ppa.launchpad.net[/url] jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A956EB81318C7509
WYou may want to run apt-get update to correct these problems
[email]xbmc@solonview:/etc/apt/sources.list[/email].d

I've tried this solution also but without success.
http://ubuntuforums.org/showthread.php?t=1122802

what could be wrong Confused

I got same error while installing, but XBMC runs fines.
find quote
GileraGFR Offline
Junior Member
Posts: 26
Joined: Nov 2007
Reputation: 0
Post: #10
Its looking for a key for the add-ons deb the tutorial tells you to add to /etc/apt/sources.list.d/xbmc.org.list - deb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu/ jaunty main

Running
Code:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 318C7509
will import the key as per https://launchpad.net/~xbmc-addons/+archive/ppa

On another note, i can't believe olympia's guide has been removed completly. It should be archived or stickied somewhere - i learnt so much from his guide, even as a newb.....infact, especially because i'm a newb. Each step stated what it's intention was and was just a case of copy pasting to a term window, how simple can ya get. This guide (even though i'm grateful for people spending time on doing them) is missing stuff like how to get the temps displaying in xbmc or power management for instance.

I just can't see that much difference between the two guides - people are still going to have problems and support is still going to be needed but i've always thought it's the users and site mods/admins that provide support not the devs.

Again this isn't a dig at anyone and especially not towards l.capriotti - thank-you so much for spending your own tme on providing guides like this, i wouldn't be so happy with my htpc if it wasn't for people like you and olympia.

XBMCLive, Acer REVO R3700, Philips SRM-5100 MCE Remote ~ 7TB unRaid Storage - HP ProLiant MicroServer
find quote
xnappo Offline
Fan
Posts: 345
Joined: Oct 2008
Reputation: 10
Post: #11
GileraGFR Wrote:On another note, i can't believe olympia's guide has been removed completly. It should be archived or stickied somewhere

You can still find it in the Wiki archive here:
http://wiki.xbmc.org/index.php?title=HOW...ldid=12537

I also don't see what the big difference is(seems like it would have been easier to just change Olympia's to resolve the things the devs didn't like), it seems to me the new one will generate more questions - but maybe once those side questions get answered via a link or something it will be cleaner.

xnappo
find quote
GileraGFR Offline
Junior Member
Posts: 26
Joined: Nov 2007
Reputation: 0
Post: #12
Well i'll be damned, thanks xnappo.

xnappo Wrote:...it seems to me the new one will generate more questions...

I agree.

XBMCLive, Acer REVO R3700, Philips SRM-5100 MCE Remote ~ 7TB unRaid Storage - HP ProLiant MicroServer
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Post: #13
http://forum.xbmc.org/showthread.php?tid=51717
reydecopas Wrote:Hi everybody,

Maybe it is useful to somebody else...

http://tuxradar.com/content/modify-xorgc...erformance

Tested on debian Lenny...
Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

I can appreciate a little improvement...
glxgears
3916 frames in 5.0 seconds = 783.073 FPS
4249 frames in 5.0 seconds = 849.697 FPS

I am not pretty sure that it improves xbmc too, but here it is for trying
Something for XBMC Live and XBMCbuntu? Confused

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
MDPauley Offline
Senior Member
Posts: 263
Joined: Mar 2004
Reputation: 0
Location: Centreville, Va
Post: #14
I followed this guide yesterday and I found out that when installing the NVIDIA driver on my Zotac 9300 I had to run this for the driver to install

Code:
sudo ./NVIDIA-Linux-x86-180.51-pkg1.run --x-module-path=/usr/lib/xorg/modules --x-library-path=/usr/lib

I'll update this post if I find anything else.

MDPauley
find quote
uomiarz Offline
Fan
Posts: 313
Joined: Jan 2008
Reputation: 5
Location: Detroit,MI
Post: #15
Worth adding is probably a script (or entire how-to) to update alsa. All necessary information can be found here:
http://ubuntuforums.org/showthread.php?p...ost6589810

thx for the guide for the very first time my xbmc is booting up so fast Smile
find quote
Post Reply