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

    My (Almost) silent boot :)

    Scheduled Pinned Locked Moved Help and Support
    silent bootsilent login
    8 Posts 4 Posters 2.0k 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.
    • N
      NightShadowPT
      last edited by

      Hi,

      I have followed the instructions to get my RetroPie (v 4.4.2) to have a completely silent boot, but I am still struggling with two lines of text that keep showing up.

      The first one is the automatic login info (shows up right after the splash screen and before emulation station loads):

      retropie login: pi (automatic login)

      I have followed the instructions to modify my /etc/systemd/system/autologin@.service and change ExecStart located at [Service] from:

      ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM
      To:
      ExecStart=-/sbin/agetty --autologin pi --noclear --noissue %I $TERM

      Unfortunately, it does not seems to be working,

      The second line that still shows up (immediately below the previous one) is:

      Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 (...)

      Does any of you know how to silence this one?

      Thanks in advance for your help.

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

        Did you follow https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#how-do-i-hide-the-boot-text ?

        N 1 Reply Last reply Reply Quote 0
        • N
          NightShadowPT @Clyde
          last edited by

          @clyde

          No, I used this one:
          https://retropie.org.uk/forum/topic/16732/silence-and-appliance-ify-your-retropie-installation-i-e-make-it-startup-and-shutdown-like-a-console-updated-for-rpie-v4-4-stretch

          Regardless, they are quite similar and I have reviewed the new one and I seem to be missing something.

          Hide login text:
          touch ~/.hushlogin

          I'm not sure where to add that line... is it still on /boot/cmdline.txt?

          Thanks

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

            @nightshadowpt said in My (Almost) silent boot :):

            I'm not sure where to add that line... is it still on /boot/cmdline.txt?

            No, you exit from ES and just execute that command from the command line. Or from a SSH session if you have that configured. But I think the command just suppresses the message shown after you login, not the login prompt.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Go to the RetroPie setup. I can’t remember where the setting is but enable “launch emulationstation on boot.”

              This should eliminate the login prompt at boot.

              1 Reply Last reply Reply Quote 0
              • N
                NightShadowPT
                last edited by

                Ok... it seems to be improving. Thanks for all your help.

                I was able to remove the autologin message by changing the ExecStart to:

                ExecStart=-/sbin/agetty --skip-login --noclear --noissue --login-options "-f pi" %I $TERM

                instead of:

                ExecStart=-/sbin/agetty --autologin pi --noclear --noissue %I $TERM

                as indicated on the previous guide I consulted.

                Now I am only left with one last message... the

                Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 (...)

                do you know how to get rid of it?

                1 Reply Last reply Reply Quote 1
                • N
                  NightShadowPT
                  last edited by

                  Ok, I got it.

                  To get rid of the Kernel version from showing when you auto-login, you need to do the following:

                  sudo nano /etc/pam.d/login

                  Change the line

                  session optional pam_exec.so type=open_session stdout /bin/uname -snrvm

                  To be

                  session optional pam_exec.so type=open_session stdout

                  And that's what I was missing.

                  Thanks for the support guys!

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

                    @nightshadowpt Thanks in return for sharing your solution.

                    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.