XBMC


After giving several tries I decided to go ahead with the XBMC running on Ubuntu 8.10. I decided to go with a customized version cause using the XBMC Live proved not to be a great idea: CPU goes in 100% and no matter what I did could not change this.

My configuration is now: AMD64 Sempron 2100+, 1 Gb RAM, 15 Gb 1.8″ IDE HDD and ATI XT1250 32 Mb, SIS 7012 for sound. The box is coming with 8 (!!!) USB ports and I’ll use a LG DVD RAM slim drive as DVD player. This allows me to go 1360×768 @ 60 Hz, a steady 24 FPS with an average of 30+ % CPU usage during playback.

Basically I did a fresh install using Ubuntu 8.10 x86 Server (the AMD64 version have several bugs and also the Web Remote interface is not working). Doing a de3fault install, selecting only SSH and Samba from the services list, will give you a light and fast system. Next I did install the usplash and also the xorg packages using:

> sudo apt-get update > sudo apt-get install usplash > sudo apt-get install xorg

Then I did the installation for XBMC from repository using as usual apt-get, first by adding the following lines in your /etc/apt/sources.list file:

deb http://ppa.launchpad.net/team-xbmc-intrepid/ubuntu intrepid main

Then run the following lines:

> sudo apt-get install xbmc
> sudo apt-get install xbmc-skin-*
> sudo apt-get install xbmc-eventclients-*
> sudo apt-get install xbmc-scripts-example

You should have now a system that actually doesn’t do too much but this will going to change soon ;-) The plan is to make this system to pretty much work as an appliance, so we will need to take care XBMC to start by default once the system boots. No worry, you’ll be still able to access it through SSH, through the Web Remote option or put it in console mode by using ALT+CTRL+BackSpace or ALT+CTRL+F<n>.

First create the .xinitrc file in your user home containing:

#!/bin/sh
xbmc –standalone

Set the proper permissions:

 > chmod 755 .xinitrc

Edit the .bashrc file appending the following lines:

 if [ -z “$DISPLAY” ] && [ $(tty) == /dev/tty2 ];
then
        /usr/bin/startx
fi

Install mingetty:

> sudo apt-get install mingetty

Then edit the /etc/event.d/tty1 replacing:

exec /sbin/getty 38400 tty1

With:

exec /sbin/mingetty –autologin <user name> tty1

Reboot and enjoy :)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s