XBMC Community Forum
[LINUX] HOW-TO install XBMC for Linux on Ubuntu 8.04 (Hardy) and 8.10 (Intrepid) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [LINUX] HOW-TO install XBMC for Linux on Ubuntu 8.04 (Hardy) and 8.10 (Intrepid) (/showthread.php?tid=44019)



- olympia - 2009-02-26 08:31

danillll Wrote:I think I gave up on this one and I need your help.
With hardy minimal version, I followed the steps for the usplash and I noticed after
sudo apt-get -y install usplash libusplash-dev

that I still don't have /usr/lib/usplash directory so obviously the next step would fail, sudo wget http://217.20.138.65/xbmc/spinner-blue/usplash-theme-ubuntu.so -O /usr/lib/usplash/usplash-theme-ubuntu.so

I tried to create the directory and finishing the steps, but still no workie.
Any ideas? Do I need to edit grub?

Thanks,

Yes, I am aware that the steps should be extended for hardy (are OK for Intrepid). I have to comment it in the guide until I figure this out. Unfortunately I have no Hardy installation at the moment.

But try:

Code:
# sudo apt-get -y install usplash-theme-ubuntu xubuntu-artwork-usplash libgd2-xpm-dev

and than continue from the wget part of the guide.


- danillll - 2009-02-26 20:54

Quote:# sudo apt-get -y install usplash-theme-ubuntu xubuntu-artwork-usplash libgd2-xpm-dev

@olympia
the above packages did create the usr/lib/usplash dir. I redid the steps with no errors, however the restart didn't show the splash, I still get text.

Then I looked at /boot/grub/menu.lst and noticed that no vga option was defined, so I added it and rebooted.
Now the boot text is gone, however, I see a weird picture (it's like a color calibration image with a progress bar in it ), it's not even positioned correctly.
Didn't have time to troubleshoot, had to leave and get my ass to work, but it looks like a progress.
Any suggestion?

Thanks


- danillll - 2009-02-27 09:14

I finally got it working, here is what I did:

- I started fresh with a new hardy minimal install ( I just wanted to undo all the trials and extra packages I loaded during my initial troubleshooting)

- ran the suggested command which created the usr/lib/usplash dir along with two files (I can't remember I installed libgd2-xpm-dev, so you can try it without it)
sudo apt-get -y install usplash-theme-ubuntu xubuntu-artwork-usplash

- Rebooted and got the xubuntu splash

- finished the remaining steps in the guide, but it wasn't working

- so I downloaded the splash zip from dudukes website

- unzip it and compiled

- copied the image and overwrote the xubunty splash (usplash-theme-xubuntu.so) in /usr/lib/usplash

- I made sure that usplash-theme-xubuntu.so is still selected by running
sudo update-alternatives --config usplash-artwork.so

- edit etc/usplash.conf according to the guide
- and then run
sudo update-initramfs -u

So the main difference is that I had to recompile the splash and not use the one linked in the guide, which still wouldn't work


- slacker666 - 2009-02-28 11:43

there's an error regarding autostarting XBMC in the wiki.

It should be .bash_login (not .bash_profile) with this code:
Code:
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty2 ]; then

startx
fi

and it should be named ".Xsession" (without ") with this line:
Code:
xbmc --standalone

and nothing else in .Xsession


- toiva - 2009-02-28 21:19

I followed the wiki but when trying to launch XBMC i get this

Quote:Cannot get root display. Is X11 running and is your DISPLAY variable set?
CRITSEC[0x8c6c8c4]: Trying to enter destroyed section.
CRITSEC[0x8c6c8c4]: Trying to leave destroyed section.

echo $DISPLAY returns a blank line

I've tried with original xorg.conf created by Nvidia installer, and the modified one from the wiki.

I used 8.04 and instead of compiling XBMC manually i grabbed precompiled one from svn ppa.


- pyrates - 2009-03-01 15:16

I followed the guide and noticed there was a change in it. It seems that aron's patch and how to apply it has been removed. Is there a reason for this because the patch did work for me?


- toiva - 2009-03-01 16:28

Any suggestions to my problem? I know it's hardly an optimal way to simply copy&paste commands and have Linux installed that way but i'd like to atleast see how fast&well it works with that setup.
I can't even launch xclock so the problem obviously is with xorg, not XBMC.


- harryzimm - 2009-03-01 16:36

What hardware are you running?


- toiva - 2009-03-01 19:31

Abit i-n73hd (Geforce 7100, nforce 630i chipset, Realtek ALC888). Picture over hdmi, sound over spdif.


- majorheadache - 2009-03-01 19:41

Anybody else can probably help you better than I can, but for what it's worth, while I was searching for that error, (which I had a few pages ago) I did find this thread which included a solution.