Posts: 700
Joined: Aug 2009
Reputation:
8
I have an ION/Atom unit setup as a bedroom HTPC, connecting wirelessly and running XBMCbuntu (xvba-testing ppa). I use a shared MYSQL database.
Since this unit is wireless, it appears that XBMC is starting before the network connection is established, which causes the MySQL settings to fail. If I exit XBMC and restart XBMC the database information shows up correctly.
I know that Openelec has an option to 'Wait for the network before starting XBMC' (at least it has it in the nightlies I tested on the Raspberry Pi), is there an easy way to implement such a feature using XBMCbuntu?
Posts: 700
Joined: Aug 2009
Reputation:
8
I looked into your option and found similar responses on the web, but I do not have a lightdm.conf in /etc/init ... I did have one in /etc/lightdm ... but it only had [SeatDefaults] in it. I could not find anything that had the 'start on' conditions in it.
I did find a solution though... I edited /usr/bin/xbmc-standalone and added a 'sleep 20' at the top.... this seems to have resolved my issue.
As I mentioned, Openelec has this setting.. any chance of seeing it natively in XBMC? ... I would think it would be useful for wireless devices.
Posts: 7,650
Joined: Jun 2011
Reputation:
287
2013-09-13, 10:34
(This post was last modified: 2013-09-13, 10:37 by wsnipex.)
if you run Xbmcbuntu, then you MUST have a /etc/init/lightdm.conf
edit: OE uses completely different methods to start xbmc. And it is not up to xbmc itself to do that, its on the OS level.
Posts: 700
Joined: Aug 2009
Reputation:
8
I tried your solution, but only ended up with the XBMC splash screen... the light on the WIFI adapter never started blinking, and ctrl-alt-F(x) only resulted in a blinking cursor... I tried rebooting a few times, and left it as long as a half hour, but it never got past that point... so I just reloaded the unit.
It seems as if the WIFI adapter is not initialized until after LightDM starts.... any other suggestions?
Posts: 30
Joined: Apr 2013
Reputation:
0
I had exactly the same problem on XBMCbuntu. Then I installed TVHeadend and now when I boot the linux boots in a second or 2 and then I have a blank screen for like 10 seconds. then XBMC starts and the library is there. it seems to wait for the network and/or the TV Receiver. Is there any way to check this and improve the time? I find it sad that I finally have a PC thatboots as quick as a VCR and then I have to wait for 30 seconds for a network connection - mine is cable btw.
Posts: 23,368
Joined: Aug 2011
Reputation:
1,088
fritsch
Team-Kodi Developer
Posts: 23,368
The options wsnipex named is the correct way of doing it. It makes the lightdm process which starts xbmc wait until network is available.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 216
Joined: Jun 2014
Reputation:
11
You have got the line...
and plymouth-ready)
...twice. Remove the line containing the bracket, keep the other one, retry...
Posts: 23,368
Joined: Aug 2011
Reputation:
1,088
fritsch
Team-Kodi Developer
Posts: 23,368
Logfiles or it never happed. Also be more pricese concerning "same".
and pastebint your edited config.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.