XBMC only runs through X
#1
I installed XBMC via the XBMCbuntu guide in the manual, using Ubuntu 9.04, the 185.18.36 nVidia drivers, and the newest version of XBMC in the PPAs. I was unable to get either X or XBMC running on my TV (Panasonic TC-P42S1) until I manually set the hsync/vrefresh values in xorg.conf. I can now get X running fine, and when I run XBMC from it, it runs perfectly; however, if I try and start it from boot, I see a flicker and a black screen.

Debug log: http://pastebin.ubuntu.com/261523/
xorg.conf: http://pastebin.ubuntu.com/261526/
menu.lst: http://pastebin.ubuntu.com/261527/
Reply
#2
You need to provide way more detail into how exactly you "start it from boot".
Reply
#3
Fair enough.

If I'm starting it using the default boot options:
I cold-boot it, it POSTs fine, Linux starts up. I'm using the menu.lst configuration from the XBMCbuntu manual so that XBMC should start automatically from a cold-boot.
The XBMC splash displays for a bit, then closes, and a few more boot messages come up (hald starting, I think).
At this point, the screen flickers momentarily, then goes completely black. I can still Alt-Ctrl-Fx into another terminal, and ps aux returns that xbmc/xinit are running, but any terminal I switch to is either a command-line login or a black screen; XBMC is nowhere to be found.

If I'm starting it by booting to command line:
Cold-boot, POST, etc., and choose the command line boot from GRUB
Boots as normal, I log in, and startx takes me to Fluxbox
From an xterm, running xbmc starts it within Fluxbox, and it runs flawlessly as far as I can tell.
Reply
#4
I have the same problem. XBMC works fine in an XTerm but booting to xbmc-live leaves the console blank. It's as if XBMC requires some other settings in xorg.conf?

EDIT: After looking at XBMCrun.sh I realised startx was set to run the Xserver with a solid black background. Changing this allows XBMC to start up correctly. I am going to look into it further but hopefully this might help shaqfu in the short term:

if [ "$(whoami)" == "root" ] ; then
su xbmc -c "startx > /dev/null 2>&1" -l
#su xbmc -c "startx -- -br > /dev/null 2>&1" -l
else
startx > /dev/null 2>&1
#startx -- -br > /dev/null 2>&1
fi
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC only runs through X0