RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Boot on Desktop but automatically quits to tty after a few seconds

    Scheduled Pinned Locked Moved Help and Support
    bootdesktopxsession
    9 Posts 5 Posters 3.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      honeypot
      last edited by

      Hello and first of all thanks for your amazing work on the RetroPie project!

      I have just installed RetroPie on my Raspberry, but I have problems booting on my desktop and could not find any relevant answer to my case. The issue is that I boot on the DE (XFCE), but then it automatically quits the X session and launches a tty1 session a few seconds later. I can go back into the Desktop with startx, but I find it to be an ugly workaround. I have not found any relevant error details in the log files.

      In more details, here is what I did:

      1. Installing the RetroPie image (last version) on a SD card.
      2. Booting the SD card into Emulation Station, installed a few games -> everything works fine
      3. As I also wanted a Desktop session on the Pi, I have installed xfce with all the relevant packages.
      4. In the RetroPie setup menu, I have enabled the option to boot into the Desktop instead of the Emulation Station

      I don't know how to solve this problem. I have found no information related to this bug. I ended up with the same problem with my first trial with RetroPie on a stretch Raspbian system, so I thought it had something to do with RetroPie not being supported on stretch. Anyone else having the same issue?

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @honeypot
        last edited by

        @honeypot said in Boot on Desktop but automatically quits to tty after a few seconds:

        I have found no information related to this bug

        https://retropie.org.uk/docs/FAQ/#how-do-i-boot-to-the-desktop-or-kodi

        "Note you'll want to disable the retropie splash from the setup script first."

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • H
          honeypot
          last edited by

          Thanks a lot! You are right, I didn't disable the retropie splash. Now it works :)

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @honeypot
            last edited by

            @honeypot another happy customer! (Can someone be a customer if what they were given was free?)

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • NossieN
              Nossie
              last edited by

              Apologies for necro'ing this post - but is it possible to automatically startx again after it kicks you CLI? thus avoiding to type it in again and without disabling the splash ...

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Nossie
                last edited by

                @nossie Modify the autostart.shscript and add startxafter the emulationstation #auto line, this way existing from ES will start the X session.

                ClydeC 1 Reply Last reply Reply Quote 0
                • ClydeC
                  Clyde @mitu
                  last edited by

                  @mitu I'm curious, how would that react to a restart or shutdown via ES' menu? Would X omit the shutdown, would the shutdown interrupt the starting X, or wouldn't X begin to start at all?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Clyde
                    last edited by

                    @clyde The shutdown/reboot would likely interrupt the starting X and continue on with the desired operation.

                    ClydeC 1 Reply Last reply Reply Quote 0
                    • ClydeC
                      Clyde @mitu
                      last edited by Clyde

                      @mitu Thanks, that also was my first guess (although I mentioned it secondly ;) ), but the other options seemed probable, too.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      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.