Autostart Kodi on Retropie
-
Access via SFTP or via terminal, either directly or via SSH.
You can edit the file in terminal with something like:
sudo nano /etc/profile.d/10-emulationstation.sh
Edit the file and then do CTRL+X to save and exit. -
I feel like I'm so close. I downloaded filezilla, found 10-emulationstation.sh and edited the file as you said then it told me I didn't have permission and the file couldn't be transfered. Any thoughts?
-
@sphirst Edit the file via terminal.
-
Again, just as I thought I was on to gold - error writing ..... permission denied
-
Did it work via terminal with the command I said or not ?
-
I'm using putty. Typed edit /etc/profile.d/10-emulationstation.sh and got the file up, put your added line of code in, saved it, permission denied
-
@sphirst Just run the command I said with sudo, it will work:
sudo nano /etc/profile.d/10-emulationstation.sh
-
duh! Totally forgot to put sudo nano and was just putting "sudo" to no avail. I tried the code you gave me and it didn't seem to work, so I tried:
" # launch kodi then emulationstation (if we are on the correct tty)
if [ "tty
" = "/dev/tty1" ]; then
kodi-standalone
emulationstation
fi "and now it seems to work. Thanks a million for your patience with someone who is a little new to SSH and what not.
Can't quite figure out part 3 at the moment - I've found the kodi file by using FileZilla on my new pi but for some reason I can't connect to the old pi using pi / raspberry
-
It is pretty much the same thing.
You have to find out if your old OS/installation has openssh server installed. If yes, use the correspondig credentials to login. Check the old OS documentation, there are many ways to do that. -
Thanks again for all your help Rascas! This little victory has created quite a lot of happiness!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.