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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO install XBMC for Linux on Ubuntu 8.04 (Hardy) and 8.10 (Intrepid) (/showthread.php?tid=44019)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


- volenin - 2009-03-26

wrong forum, sorry.


- molesza - 2009-03-26

I just ran the following to update my system.

sudo aptitude update
sudo aptitude upgrade

Restarted my pc and now all i get is black screen after the spinning logo. XBMC wont load?

Did i break it by doing the updates? Should i just leave those alone?

Any help would be appreciated!


- molesza - 2009-03-26

Nevermind. Stopped auto booting xbmc and reinstalled nvidia drivers. Did the trick.

Though I would like to know why a system update stopped the nvidia drivers working?


- olympia - 2009-03-26

molesza Wrote:Nevermind. Stopped auto booting xbmc and reinstalled nvidia drivers. Did the trick.

Though I would like to know why a system update stopped the nvidia drivers working?

you only need to read back 3 posts to get an answer...


- molesza - 2009-03-26

oh ok. Sorry im learning linux.. So when you do an update XORG is changed? is Xorg the actual kernel or something?

Also... If I want to keep up with the latest SVN builds how would I do that instead of compiling XBMC each time?


- JBNY - 2009-03-26

I installed XBMC from this guide about a month ago. I have updated the SVN a few times since then with no problems. The other day I tried to update my SVN to the latest version, doing what I always do.

# cd $HOME/XBMC
# sudo make uninstall
# make clean
# make distclean
# svn up
# ./configure --prefix=/usr --disable-pulse
# make -j2
# sudo make install

But now I get this

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

So I re-installed the nvidia drivers with the newer version in the guide. same problem.

So then I updated the video drivers, recomplied XBMC and set up autoboot as per the guide. same results.

Updated the SVN again last night and I get the same thing. Any ideas what to do? I'm stuck...

BTW how do get the log output from TTY2 when using SSH? I've been trying to trouble shoot XBMC remotely, but can only see the actual above error when in front of the console.


- olympia - 2009-03-26

JBNY Wrote:I installed XBMC from this guide about a month ago. I have updated the SVN a few times since then with no problems. The other day I tried to update my SVN to the latest version, doing what I always do.

# cd $HOME/XBMC
# sudo make uninstall
# make clean
# make distclean
# svn up
# ./configure --prefix=/usr --disable-pulse
# make -j2
# sudo make install

But now I get this

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

So I re-installed the nvidia drivers with the newer version in the guide. same problem.

So then I updated the video drivers, recomplied XBMC and set up autoboot as per the guide. same results.

Updated the SVN again last night and I get the same thing. Any ideas what to do? I'm stuck...

BTW how do get the log output from TTY2 when using SSH? I've been trying to trouble shoot XBMC remotely, but can only see the actual above error when in front of the console.

how does your .xsession look like?


- xnappo - 2009-03-26

JBNY Wrote:BTW how do get the log output from TTY2 when using SSH? I've been trying to trouble shoot XBMC remotely, but can only see the actual above error when in front of the console.

Wait - are you running the 'xbmc' command from SSH? You can't do that...

xnappo


- queeup - 2009-03-26

yes you can Smile like this : $ DISPLAY=:0 xbmc


- JBNY - 2009-03-26

olympia Wrote:how does your .xsession look like?

http://pastebin.com/m3b98647b

xnappo Wrote:Wait - are you running the 'xbmc' command from SSH? You can't do that...

xnappo

No I'm not running XBMC from SSH. I'm doing the updates using SSH then doing a sudo reboot, then checking logs. But right now the errors I posted above only show up in the TTY2 session, so I have to go to the terminal to view it :-(


- JBNY - 2009-03-26

olympia Wrote:how does your .xsession look like?

I think I posted the wrong .xsession here is the .xsession from /home/xbmc/

Code:
export XBMC_PLATFORM_MODE=1
/usr/share/xbmc/xbmc.bin  -q -p --standalone
case "$?" in
    0 ) # Quit
        touch /tmp/noRestartXBMC
        break ;;
    64 ) # Shutdown System
        sleep 10 ;;
    65 ) # Warm Reboot
        echo Restarting XBMC ... ;;
    66 ) # Reboot System
        sleep 10 ;;
     * ) ;;
esac
I also have an .Xsession in the same dir, it only has one line

Code:
xbmc --standalone



- olympia - 2009-03-26

JBNY Wrote:http://pastebin.com/m3b98647b

Not this one.
I asked for the .xsession file from /home/xbmc


- olympia - 2009-03-26

JBNY Wrote:I think I posted the wrong .xsession here is the .xsession from /home/xbmc/

Code:
export XBMC_PLATFORM_MODE=1
/usr/share/xbmc/xbmc.bin  -q -p --standalone
case "$?" in
    0 ) # Quit
        touch /tmp/noRestartXBMC
        break ;;
    64 ) # Shutdown System
        sleep 10 ;;
    65 ) # Warm Reboot
        echo Restarting XBMC ... ;;
    66 ) # Reboot System
        sleep 10 ;;
     * ) ;;
esac
I also have an .Xsession in the same dir, it only has one line

Code:
xbmc --standalone

That is the problem... XBMC has been changed in the meantime.

rm .Xsession
wget http://217.20.138.65/xbmc/.xsession -O /home/xbmc/.xsession


- JBNY - 2009-03-26

That looks to have done it!The log files seem to show that XBMC is up and running now. I'll check later tonight, much thanks!


- bnb - 2009-03-30

Thanks so much for this. From a total Linux noob, this has helped me tremendously.