Kodi Community Forum
Linux HOW-TO: Automated efficient XBMC install - Ubuntu 12.10/13.04 mini based - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Linux HOW-TO: Automated efficient XBMC install - Ubuntu 12.10/13.04 mini based (/showthread.php?tid=141369)



RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - sion28 - 2013-01-15

(2013-01-15, 01:50)uNiversal Wrote: none unless you want all the server stuff installed, php server, smb server, and a ton of other server software that you probably dont need.

Script can run on anything from Ubuntu 10.04 upto 13.04 no problems with no changes that I see. As long as my last two bug fixes go in.

uNi

I never said I wanted to install Ubuntu Server. I don't. I want a desktop environment (light/minimal would suffice) so I can run the setup/config for mythtv, which as far as I can tell googling around, requires a GUI which requires an X environment. So I thought I'd just try running Bram's config script on a normal installation of Ubuntu 12.10

I didn't look, but when we choose "only" the OpenSSH feature to install with Linux, is there a desktop in that list that I could have installed?

I like the minimal installation. I don't want much else. But I do want to run mythtv backend on this machine, which seems to require a GUI.

Any tips? I'm not meaning to take this off-topic, but I think that it's something that could come up again for other script users/installers.

Thanks!


Re: RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - Bram77 - 2013-01-15

(2013-01-15, 01:50)uNiversal Wrote: none unless you want all the server stuff installed, php server, smb server, and a ton of other server software that you probably dont need.

Script can run on anything from Ubuntu 10.04 upto 13.04 no problems with no changes that I see. As long as my last two bug fixes go in.

uNi

If you run the script on a Ubuntu version < 12.10 add-apt-repository won't be installed which is required. If you run it on 13.04 the xbmc repo won't work.
(2013-01-15, 08:25)sion28 Wrote:
(2013-01-15, 01:50)uNiversal Wrote: none unless you want all the server stuff installed, php server, smb server, and a ton of other server software that you probably dont need.

Script can run on anything from Ubuntu 10.04 upto 13.04 no problems with no changes that I see. As long as my last two bug fixes go in.

uNi

I never said I wanted to install Ubuntu Server. I don't. I want a desktop environment (light/minimal would suffice) so I can run the setup/config for mythtv, which as far as I can tell googling around, requires a GUI which requires an X environment. So I thought I'd just try running Bram's config script on a normal installation of Ubuntu 12.10

I didn't look, but when we choose "only" the OpenSSH feature to install with Linux, is there a desktop in that list that I could have installed?

I like the minimal installation. I don't want much else. But I do want to run mythtv backend on this machine, which seems to require a GUI.

Any tips? I'm not meaning to take this off-topic, but I think that it's something that could come up again for other script users/installers.

Thanks!

I'm guessing you can find several guides explaining what the minimal required packages are for the go backend of mythtv. You could even run it over a remote x session via ssh. But i can't tell you how exactly. You'd have to Google it. But I've done it before.


RE: HOW-TO: Automated efficient (dedicated) XBMC and perfect 23p and 24p playback - Haohmaru - 2013-01-15

(2012-10-23, 00:36)uNiversal Wrote: @Bram77

Here's a quick and dirty HOW-TO quick fix for 24p and 23.976p playback on the ION1 with NVidia 304.60 drivers (Hopefully will help script get a bit better)

We start with the xorg.conf for 30x.x drivers (for 29x.xx another xorg.conf will be needed). Still using minimalistic install script to work fully.
So on and ahead we go!

Code:
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
wget http://pastebin.com/raw.php?i=pQA9W8Bn -O /etc/X11/xorg.conf

I don't have an xorg.conf file by default after a fresh minimal 12.10 installation so there is nothing to back up.
How can I create one ?

Thx for help !



RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2013-01-15

You dont, just do the wget line! it will donwload and place it for you.

Done

bare in mind that xorg goes hand-in-hand with the xbmc settings and Nvidia driver version

uNi


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - Haohmaru - 2013-01-15

Thank you uNi for the fast help and those links in your signature : )
The Install was a breeze with those !

What happens if Frodo goes final can I update from RC3 with a simple command in terminal ?


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2013-01-15

Your welcome +1

Yes look at wiki Linux FAQ section. Baring in mind your using xvba ppa with this script so look at wsnipex repos when stable is released and purge the current ppa and use new one from wsnipex repos.

uNi


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - Haohmaru - 2013-01-15

Will I have to change the repository if it's released or is it enough to do

Code:
apt-get update
sudo apt-get install xbmc

or maybe this too ?

Code:
sudo apt-get upgrade

Sorry for the noob questions.


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2013-01-15

Yes you may need to change repos depending on what you want to continue using or just keep using same repo, and run apt-get update and install... go easy on apt-get upgrade commands and double check what packages are going to be installed before clicking yes.

Not to say you cant run certain commands like apt-get upgrade but it helps that you keep in mind upgrading too many packages in one go is not always a good thing.

With great power comes great responsibility (meaning you break it its your fault) Wink

uNi


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - Haohmaru - 2013-01-15

Ok so one last question to confirm I'll do it right Big Grin

I think I'll want to go with the stable bulid once it's released and then keep that version.

So I have to do the following :

Code:
sudo apt-get install ppa-purge python-software-properties pkg-config
sudo ppa-purge ppa:wsnipex/xbmc-xvba                   # <---- this is the one I have now right ?
sudo add-apt-repository ppa:team-xbmc/ppa
apt-get update
sudo apt-get install xbmc

That should do it for me right ?


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2013-01-15

YES!

But bare in mind the ppa you have now has MANY fixes that the main ppa wont have even at stable.

uNi


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - Haohmaru - 2013-01-15

Thx but it can break things too if I'm not mistaken Tongue


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - sion28 - 2013-01-15

(2013-01-15, 10:43)Bram77 Wrote: I'm guessing you can find several guides explaining what the minimal required packages are for the go backend of mythtv. You could even run it over a remote x session via ssh. But i can't tell you how exactly. You'd have to Google it. But I've done it before.
Yes, I've found plenty of guides for installing mythtv. It's not easy, but there's a lot out there about it. What I don't have is another computer running X that I can do a terminal session from. I didn't really want to bother installing cygwin on my windows machine either, but maybe I will. We'll see I'll play around with installing the Lubuntu desktop from your mini.iso installation and see how that goes. I wouldn't mind having a very minimal desktop to use once in a while anyway.

Do you think installing the Lubuntu desktop during the ubuntu-mini installation, (along with OpenSSH) would mess up how your script runs or how the machine boots up? I'm thinking since a desktop usually wants to run at boot, and your script sets up xbmc to run at boot, there might be a problem. I think I would want the machine to boot into xbmc, and be able to exit to a cli and run the desktop if needed, then reboot back to xbmc. Sound reasonable?


(2013-01-15, 01:50)uNiversal Wrote: Script can run on anything from Ubuntu 10.04 upto 13.04 no problems with no changes that I see. As long as my last two bug fixes go in.

uNi

Which bugfixes? Have they been incorporated?


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - furii - 2013-01-15

(2013-01-15, 22:00)sion28 Wrote: Do you think installing the Lubuntu desktop during the ubuntu-mini installation, (along with OpenSSH) would mess up how your script runs or how the machine boots up? I'm thinking since a desktop usually wants to run at boot, and your script sets up xbmc to run at boot, there might be a problem. I think I would want the machine to boot into xbmc, and be able to exit to a cli and run the desktop if needed, then reboot back to xbmc. Sound reasonable?

just install xfce4 and vnc4server. xfce4 won't run at boot and you'll be able to vnc into the machine to do any gui setup you may need. something like this: http://www.szewong.com/2009/06/setting-up-headless-ubuntu-with-xfce-and-vnc-slicehost/


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - sion28 - 2013-01-15

(2013-01-15, 22:20)furii Wrote:
(2013-01-15, 22:00)sion28 Wrote: Do you think installing the Lubuntu desktop during the ubuntu-mini installation, (along with OpenSSH) would mess up how your script runs or how the machine boots up? I'm thinking since a desktop usually wants to run at boot, and your script sets up xbmc to run at boot, there might be a problem. I think I would want the machine to boot into xbmc, and be able to exit to a cli and run the desktop if needed, then reboot back to xbmc. Sound reasonable?

just install xfce4 and vnc4server. xfce4 won't run at boot and you'll be able to vnc into the machine to do any gui setup you may need. something like this: http://www.szewong.com/2009/06/setting-up-headless-ubuntu-with-xfce-and-vnc-slicehost/

Thanks furii. That's a good idea. I just tried something else that worked though. I installed the Lubuntu desktop with the mini.iso installation. I then ran the xbmc script. It worked fine. I rebooted, and it booted into xbmc, then a few seconds later the gui login popped up. So I went and edited the grub file so that the machine booted directly to CLI ("text"). This stopped the gui from loading, and xbmc still loaded. Now when I reboot, it goes straight to xbmc. Ironically now my problem is I can't figure out how to re-start the lubuntu gui from tty1. Tongue
@Bram77:
Quick question about the mini.iso install:
Why do you suggest we select "no updates" instead of auto install security updates?


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - isamudaison - 2013-01-16

I just tried this on a fresh system w/ an nvidia GT 520, and there were a few 'errors' in the setup script, and when everything rebooted after the xbmc part was done installing (apparently the errors weren't catastrophic), I just get a login prompt. Logging in gets me to a cli, and typing in 'xbmc' just gives me the error "GtkWaring: could not open display" with a bit of a stack trace... is this setup script currently broken?