Change what loads on startup/boot?
|
8th Sep, 2013, 11:26 AM
Post: #1
|
|||
|
|||
Change what loads on startup/boot?
I have disabled XBMC starting at boot. In it's place I would like to start "emulationstation". I can launch XBMC from there. But I am unsure of what file to edit, to tell the system to boot emulationstation on startup.
Currently I am just booting to login (cli). I tried adding the command to "/etc/rc.local", but that did not work. |
|||
8th Sep, 2013, 01:45 PM
Post: #2
|
|||
|
|||
RE: Change what loads on startup/boot?
try creating /etc/init/emulationstation.conf with this content
Code: #!upstart just be sure you don't set both emulationstation and xbmc to startup automatically. if you add following line to "/usr/local/include/xbian-config/config/services", you should be able to control manual/auto start of emulationstation the same way as xbmc - by starting xbian-config and going to services . Code: emulationstation: Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Sep, 2013, 10:14 AM
Post: #3
|
|||
|
|||
RE: Change what loads on startup/boot?
Sadly this is not working for me. It does add the service to xbian-config. I have selected it to auto start via xbmc. But it just doesn't start on boot.
|
|||
9th Sep, 2013, 10:29 AM
Post: #4
|
|||
|
|||
RE: Change what loads on startup/boot?
(9th Sep, 2013 10:14 AM)Takenover83 Wrote: Sadly this is not working for me. It does add the service to xbian-config. I have selected it to auto start via xbmc. But it just doesn't start on boot. and how are you starting it from within cli? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Sep, 2013, 12:00 PM
Post: #5
|
|||
|
|||
RE: Change what loads on startup/boot?
just with "emulationstation". More info below.
/etc/init/emulationstation.conf Code: #!upstart /usr/local/include/xbian-config/config/services Code: xbmc:xbmc.bin |
|||
9th Sep, 2013, 01:44 PM
Post: #6
|
|||
|
|||
RE: Change what loads on startup/boot?
try adding
"console output" or "console owner" into the /etc/init/emulationstation.conf file Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Sep, 2013, 05:08 PM
Post: #7
|
|||
|
|||
RE: Change what loads on startup/boot?
"console owner" seemed to help. But now I am getting a error.
Emulationstation is trying to create a new config directory, ~/.emulationstation and looks like it's being denied? But one already exist at /home/xbian/.emulationstation. Here is the error I see on startup. When I run the command in TTY1 I am logged in as user xbian. Not sure what user it is trying to be ran as? Either way, I would like for it to use the already made config directory and not try to create a new one. (I am guessing it's trying to create a new one for a different user besides xbian?) Code: Creating config directory "~/.emulationstation" |
|||
9th Sep, 2013, 05:12 PM
Post: #8
|
|||
|
|||
RE: Change what loads on startup/boot?
(9th Sep, 2013 05:08 PM)Takenover83 Wrote: "console owner" seemed to help. But now I am getting a error. ah ok. by default the upstart scripts are being started with UID root. add Code: setuid xbian to the .conf file. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Sep, 2013, 05:23 PM
Post: #9
|
|||
|
|||
RE: Change what loads on startup/boot?
Still giving the same error I mentioned in post #8. Not sure why? This is what my config file currently looks like.
/etc/init/emulationstation.conf Code: #!upstart |
|||
9th Sep, 2013, 05:45 PM
Post: #10
|
|||
|
|||
RE: Change what loads on startup/boot?
try the updated version ?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Sep, 2013, 06:45 PM
Post: #11
|
|||
|
|||
RE: Change what loads on startup/boot?
Woa.. Didn't even notice you edited post #9. I thought you were talking about making sure I was running the latest xbian. Anywho I think I fubared the post before it dawned on me you edited the above. Can you edit it again lol. My apoligies.
|
|||
9th Sep, 2013, 08:01 PM
Post: #12
|
|||
|
|||
RE: Change what loads on startup/boot?
Code: #!upstart Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
10th Sep, 2013, 09:17 AM
Post: #13
|
|||
|
|||
RE: Change what loads on startup/boot?
Using the above config causes the boot process to stall. I can't even ssh in to fix it (connection refused, guessing ssh services not started before the stall). I even started from a clean install and redid the above, to verify I did not do something wrong the first time.
Anyway to recover without restarting from scratch again? I tried switching terminals (Ctrl+Alt+F1, F2, etc..), but nothing. It's just stuck on the xbian splash screen with loading. |
|||
10th Sep, 2013, 09:52 AM
Post: #14
|
|||
|
|||
RE: Change what loads on startup/boot?
add "init=/bin/bash" to /boot/cmdline.txt
reboot you get root prompt. single user mode - like. put manual into the .conf file … you don't have to delete it. and meanwhile we will think about… mk just a question. normally you was booting into tty ? so tty was started, splash was stopped and you had login. and now it stops before stopping splash? you can also remove "splash" from /boot/cmdline.txt to see what is happening. and in beta1X tty is started at end of runlevel2, what means as very last process / service. try with no splash please. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
10th Sep, 2013, 10:55 AM
Post: #15
|
|||
|
|||
RE: Change what loads on startup/boot?
I managed to get back into the system. Disabled splash as suggested.
Yes I was booting into tty, and logged in, and then was running emulationstation. This is where booting stops. at the very beginning. Code: To dropdown to a shell, hold shift on usb attached keyboard... If i rename "emulationstation.conf" to "emulationstation.conf.bak", booting continue's as normal. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Change the startup xbian image | cyril | 7 | 18,882 |
6th May, 2013 09:20 PM Last Post: cyril |