LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Am running a debian webserver and trying to get XBMC to work also (https://www.linuxquestions.org/questions/linux-software-2/am-running-a-debian-webserver-and-trying-to-get-xbmc-to-work-also-949262/)

Vodkaholic1983 06-08-2012 01:39 PM

Am running a debian webserver and trying to get XBMC to work also
 
Ok so ive gave up and asked for help after about 10 hours TODAY trying to get xbmc to work on my home server

I run debain 64bit on my home server, ive tryed soo very many "howto's" on how to get xbmc to work on debain and none have worked.

Ive cleaned and reinstalled everything so many times, Am not very good with linux but has anyone seen a howto which works? and is very easy to understand?

am about to give up on this and just buy a apple tv for xbmc (but I was trying to save some pennys)

Cheers

evo2 06-09-2012 06:04 AM

Hi,

depends on what version of Debian you are running and on what you have tried already.

If you are running testing or unstable then a simple "apt-get install xbmc" should do it. If you are running stable, your best bet would probably be installing Christian Marillat's packages by adding his repos to your /etc/apt/sources.list. See http://deb-multimedia.org/

Failing the above please be specific about what you have tried and what problems you encounter.

Evo2.

Vodkaholic1983 06-09-2012 06:25 AM

Quote:

Originally Posted by evo2 (Post 4699378)
Hi,

depends on what version of Debian you are running and on what you have tried already.

If you are running testing or unstable then a simple "apt-get install xbmc" should do it. If you are running stable, your best bet would probably be installing Christian Marillat's packages by adding his repos to your /etc/apt/sources.list. See http://deb-multimedia.org/

Failing the above please be specific about what you have tried and what problems you encounter.

Evo2.

Hey, well am new linux so its kind of hard for me sorry
I did try the apt-get install xbmc
and it give me errors when I tryed to run it

I also added "deb http://www.deb-multimedia.org squeeze main non-free" to that sources.list and than ran the update but was unsure on what to do after that

evo2 06-09-2012 06:34 AM

Hi,

you can find out your os version with the following command:
Code:

lsb_release --all
Regarding the "errors" you mention, I repeat:
Quote:

Failing the above please be specific about what you have tried and what problems you encounter.
Eg. Exactly what is output to the terminal when you run the following:
Code:

apt-get install xbmc
Also so that I can cnform where your xbmc packages are coming from, please post the output of
Code:

apt-cache policy xbmc
Evo2.

Vodkaholic1983 06-09-2012 06:59 AM

Quote:

Originally Posted by evo2 (Post 4699390)
Hi,

you can find out your os version with the following command:
Code:

lsb_release --all

Code:

# lsb_release --all
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.5 (squeeze)
Release:        6.0.5
Codename:      squeeze

Quote:

Originally Posted by evo2 (Post 4699390)
Regarding the "errors" you mention, I repeat:


Eg. Exactly what is output to the terminal when you run the following:
Code:

apt-get install xbmc

Sorry I can't as its not installed I wiped and reinstalled debain as I thought it would be best after I was "failing" at getting xmbc to work. (also I thought it would be best to see which is/was the best way to install it)
Quote:

Originally Posted by evo2 (Post 4699390)
Also so that I can cnform where your xbmc packages are coming from, please post the output of
Code:

apt-cache policy xbmc
Evo2.



xbmc:
Installed: (none)
Candidate: 10.0-0.5+1
Version table:
10.0-0.5+1 0
500 http://www.deb-multimedia.org/ squeeze/main amd64 Packages

I guess this is because clean install of debian

Cheers for the help!

evo2 06-09-2012 07:21 AM

Hi,

ok, so you did

1. A fresh install of squeeze (current Debian stable)
2. Added deb-multimedia to your sources.list

From the output of "apt-cache policy xbmc" it seems you haven't installed it yet.
Did you try to install it with "apt-get install xbmc"?

Evo2.

Vodkaholic1983 06-09-2012 07:31 AM

Quote:

Originally Posted by evo2 (Post 4699400)
Hi,

ok, so you did

1. A fresh install of squeeze (current Debian stable)
2. Added deb-multimedia to your sources.list

From the output of "apt-cache policy xbmc" it seems you haven't installed it yet.
Did you try to install it with "apt-get install xbmc"?

Evo2.

no mate ive done nothing yet, I was waiting to see if someone on here could help me get it running

Want me to add the the multimedia to the sources list and run the install xbmc?

Cheers

evo2 06-09-2012 07:34 AM

Hey,

well, your welcome to follow my suggestion. But I guess you are also free to wait for a second opinion.

Cheers,

Evo2.

Vodkaholic1983 06-09-2012 07:45 AM

Quote:

Originally Posted by evo2 (Post 4699412)
Hey,

well, your welcome to follow my suggestion. But I guess you are also free to wait for a second opinion.

Cheers,

Evo2.

lol you know alot more than me so I will try this :)

Ok so I ran "apt-get install xbmc"
than typed xbmc to run it and got this (same error as when I was trying to do it)

Code:

root@debian:~# xbmc
Error: unable to open display
FEH.py: cannot connect to X server

Also ran "apt-cache policy xbmc" and got this

Code:

root@debian:~# apt-cache policy xbmc
xbmc:
  Installed: 10.0-0.5+1
  Candidate: 10.0-0.5+1
  Version table:
 *** 10.0-0.5+1 0
        500 http://www.deb-multimedia.org/ squeeze/main amd64 Packages
        100 /var/lib/dpkg/status

Cheers

evo2 06-09-2012 08:15 AM

Hi,

first thing: you should not be running this as root. You should log into an xsession as a normal user (you should have been prompted to create one during the install process) and then try to run xbmc.


When you boot up the machine, do you get a graphical interface? It should look something like the screenshots here:
http://www.unixmen.com/debian60-sque...eenshots-tour/

Evo2.

---------- Post added 2012-06-09 at 22:15 ----------

Hi,

first thing: you should not be running this as root. You should log into an xsession as a normal user (you should have been prompted to create one during the install process) and then try to run xbmc.


When you boot up the machine, do you get a graphical interface? It should look something like the screenshots here:
http://www.unixmen.com/debian60-sque...eenshots-tour/

Evo2.

Vodkaholic1983 06-09-2012 08:25 AM

Quote:

Originally Posted by evo2 (Post 4699428)
Hi,

first thing: you should not be running this as root. You should log into an xsession as a normal user (you should have been prompted to create one during the install process) and then try to run xbmc.


When you boot up the machine, do you get a graphical interface? It should look something like the screenshots here:
http://www.unixmen.com/debian60-sque...eenshots-tour/

Evo2.

---------- Post added 2012-06-09 at 22:15 ----------

Hi,

first thing: you should not be running this as root. You should log into an xsession as a normal user (you should have been prompted to create one during the install process) and then try to run xbmc.


When you boot up the machine, do you get a graphical interface? It should look something like the screenshots here:
http://www.unixmen.com/debian60-sque...eenshots-tour/

Evo2.

No mate there is no graphical interface, as its used for my webserver ( a few static pages I run from home)
Oh no root, I always log in with this.

evo2 06-09-2012 08:35 AM

Hi,

ok, you have to have a graphical interface up and running. The xbmc gui runs on top of the graphical interface.
Probably the simplest way to get a gui setup is to (as root) run tasksel and select "Graphical desktop environment".

Evo2.

Vodkaholic1983 06-09-2012 08:36 AM

Quote:

Originally Posted by evo2 (Post 4699436)
Hi,

ok, you have to have a graphical interface up and running. The xbmc gui runs on top of the graphical interface.
Probably the simplest way to get a gui setup is to (as root) run tasksel and select "Graphical desktop environment".

Evo2.

Will am webserver still run ok with this ?

Cheers

evo2 06-09-2012 08:39 AM

Hi,

yeah the webserver will be fine. I run a webserver/diskserver/torrentbox/desktop all on one machine.

Evo2.

---------- Post added 2012-06-09 at 22:40 ----------

Hi,

yeah the webserver will be fine. I run a webserver/diskserver/torrentbox/desktop all on one machine.

Evo2.

Vodkaholic1983 06-09-2012 08:42 AM

Quote:

Originally Posted by evo2 (Post 4699441)
Hi,

yeah the webserver will be fine. I run a webserver/diskserver/torrentbox/desktop all on one machine.

Evo2.

---------- Post added 2012-06-09 at 22:40 ----------

Hi,

yeah the webserver will be fine. I run a webserver/diskserver/torrentbox/desktop all on one machine.

Evo2.

Ok I will install it and keep you posted :)
Thanks again for the help.


All times are GMT -5. The time now is 11:09 PM.