Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • supernashwan
    Post count: 16

    If anyone is interested, this is how I made my pi boot to Kodi, then drop to emulation station when you exit Kodi

    from prompt

    sudo RetroPie-Setup/

    click setup -> Auto-start EmulationStation and select “1 Original boot behavior”
    exit back to prompt

    Now edit pi profile like this
    nano .profile

    and add this to the end

    if [ -z "$SSH_CLIENT" ] ; then

    Open a terminal session and edit inittab file.

    sudo nano /etc/inittab

    Disable the getty program.
    Navigate to the following line in inittab

    1:2345:respawn:/sbin/getty 115200 tty1

    And add a # at the beginning of the line to comment it out

    #1:2345:respawn:/sbin/getty 115200 tty1

    Add login program to inittab.
    Add the following line just below the commented line

    1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1

    This will run the login program with pi user and without any authentication
    Step 4: Save and Exit.
    Press Ctrl+X to exit nano editor followed by Y to save the file and then press Enter to confirm the filename.

    I modified this information from what i found here

    of course this goes with

    sudo apt-get install cec-utils

    to get the CEC on my TV to work with it.

    and some work here

    to make Kodi work with my xbox 360 controller

    Post count: 16

    After this I also added

    comment = kodi userdata
    path = /root/.kodi/userdata
    writeable = yes
    guest ok = yes
    create mask = 0644
    directory mask = 0755
    force user = root

    To the end of my /etc/samba/smb.conf to allow me to copy over my existing Kodi setting from my other RPi’s. The trick was that it uses the config from the root user and not the pi user.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.