• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Remove auto login text at boot

Scheduled Pinned Locked Moved Help and Support
35 Posts 13 Posters 33.6k Views 10 Watching
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.
  • R Offline
    Riverstorm
    last edited by Riverstorm 6 Feb 2016, 23:46 2 Jun 2016, 22:09

    I have the same thing console=tty twice. Here's my /boot/cmdline.txt file:

    dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 consoleblank=0 quiet loglevel=3 logo.nologo

    Here's my original /boot/cmdline.txt file:

    dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 consoleblank=0

    EDIT: Still my screen is clean from anything I can see on bootup. I'm running a RetroPie 3.7 on a Pi 3 with the updated script but not binaries.

    M 1 Reply Last reply 3 Jun 2016, 05:49 Reply Quote 0
    • M Offline
      mancity @Riverstorm
      last edited by mancity 6 Mar 2016, 08:19 3 Jun 2016, 05:49

      @Riverstorm my only difference I think is the order of some of the comments. I might try your order tonight. Mine has console=tty3 toward the end.

      Deleting both entries of console=tty makes no difference

      Interestingly, I removed 'quiet' and it's stopped showing the login text 9 out of 10 times, leaving just a flashing '_' for a 2 seconds, before moving onto the Emulation Station splash screen, so now I'm really, REALLY confused haha.

      On a plus note I'm learning quite abit :)

      1 Reply Last reply Reply Quote 0
      • F Offline
        Floob
        last edited by 3 Jun 2016, 20:08

        The tty is basically a text output location, by default the screen is tty1, so by changing it to tty2 for example is sending the text output to somewhere you cant see - unless you decide to switch to it. So dont remove console=tty1 just change it.

        Please read the Docs before asking a new question.
        RetroPie Help Guides: https://goo.gl/3gcNsT

        1 Reply Last reply Reply Quote 0
        • R Offline
          Riverstorm
          last edited by Riverstorm 6 Mar 2016, 22:08 3 Jun 2016, 21:07

          When I removed console=tty1 everything was still clean for me but when I removed console=ttyAMA0,115200 I had about a half dozen lines right before the RetroPie logo screen but nowhere else. I was doing it more for comparison than anything else as it does work well on the Pi 3 vs. Mancity is using a B+ I think. I am not sure if that's the main difference because my boot is clean as a whistle.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mancity
            last edited by 5 Jun 2016, 16:36

            So, just literally bought a Pi3 (B+). Put a new install of RetroPie on and added the lines "console=tty3 quiet logo.nologo" to cmdline.exe and STILL see the automatic login!

            So there's no way im the only one?

            P 1 Reply Last reply 5 Jun 2016, 17:06 Reply Quote 0
            • P Offline
              ProxyCell @mancity
              last edited by 5 Jun 2016, 17:06

              @mancity said in Remove auto login text at boot:

              So, just literally bought a Pi3 (B+). Put a new install of RetroPie on and added the lines "console=tty3 quiet logo.nologo" to cmdline.exe and STILL see the automatic login!

              So there's no way im the only one?

              did you add those as new lines? I believe that file should only be 1 line in total and the "console=tty3" part should not be "added", rather you should change the existing setting

              RPi3b+ - No overclock
              RetroPie - latest from Github, as always
              2x SF30 Pro 8Bitdo controllers

              M 1 Reply Last reply 5 Jun 2016, 17:59 Reply Quote 0
              • M Offline
                mancity @ProxyCell
                last edited by 5 Jun 2016, 17:59

                @ProxyCell
                Yeah exactly that. I changed console=tty1 to 3 and then added quiet and logo.nologo directly after and the whole thing is on a single line.

                I literally dont understand what I'm doing wrong I though oh maybe it's because I'm using a Pi B+ but obviously not. It's a complete fresh retropie image too which I have just downloaded and the only single change I made because I was testing was to cmdline.txt

                I'm baffled what I'm doing wrong :(

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mancity
                  last edited by 5 Jun 2016, 18:04

                  Also does everyone manually remove the motd test or does that not show for them as well?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mancity
                    last edited by 6 Jun 2016, 08:50

                    So... I moved the Pi 3 downstairs last night to use in the front room, and since then, the automatic login hasn't appeared. The ONLY difference is there now isn't a keyboard attached.

                    Surely that not it?

                    PS - On the Pi B+, still happens.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Riverstorm
                      last edited by 6 Jun 2016, 14:57

                      How long does the output "linger"? Is it seconds or just a flash? I don't have any more thoughts as for me it was literally a few seconds to tweak and it worked perfectly according to the Wiki. Maybe you could paste the contents of your cmdline.txt exactly as it appears.

                      It may sound overly simplified but it seems you must be doing something different as no one else has come forward with the same issue. Is it possible you're doing some step that you're certain wouldn't be the issue is possibly the culprit. I've done that a few times and had a eureka moment. You might have to scrutinize every change you're making. The answer has to be there.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mancity
                        last edited by 7 Jun 2016, 07:16

                        Well when it shows, it lingers for about 2 seconds, but using my Pi 3, I think the issue is solved .

                        R 1 Reply Last reply 7 Jun 2016, 14:23 Reply Quote 0
                        • R Offline
                          Riverstorm @mancity
                          last edited by 7 Jun 2016, 14:23

                          @mancity said in Remove auto login text at boot:

                          Well when it shows, it lingers for about 2 seconds, but using my Pi 3, I think the issue is solved .

                          Ok, great, so the Pi 3 is working properly it's just the B+ then that was giving you issues?

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            frgn @mancity
                            last edited by 8 Feb 2017, 02:12

                            @mancity For me, this question also remained topical, and I have found a solution.
                            you need to open raspi-config, choose "boot option", select the second item "wait for network at boot", and click "No".
                            thus, there is no more text.

                            Aloha from Russia, and sorry for my bad English. ¯\(ツ)/¯
                            My RetroPie themes repo - https://github.com/free-gen/
                            Blast16 to MDMINI mod
                            DONATE HERE

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              LinuxArcadeGuy
                              last edited by LinuxArcadeGuy 24 Jul 2017, 00:54

                              CHANGES MAY BE NEEDED FOR STRETCH (Rpie 4.4)

                              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

                              T blonqeB 2 Replies Last reply 27 Jul 2017, 22:43 Reply Quote 2
                              • T Offline
                                tanakarena @LinuxArcadeGuy
                                last edited by tanakarena 8 Mar 2017, 23:18 27 Jul 2017, 22:43

                                @linuxarcadeguy I am the same.OTL
                                Did you solve that?

                                L 1 Reply Last reply 19 Nov 2017, 23:56 Reply Quote 0
                                • L Offline
                                  LinuxArcadeGuy @tanakarena
                                  last edited by 19 Nov 2017, 23:56

                                  @tanakarena solved! look up

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dudumaroja
                                    last edited by 27 Dec 2017, 14:26

                                    @LinuxArcadeGuy thanks very much, your comment fixed my issues.. that autologin text was painfull the the console feel i was looking for

                                    1 Reply Last reply Reply Quote 1
                                    • blonqeB Offline
                                      blonqe @LinuxArcadeGuy
                                      last edited by 7 Feb 2018, 12:39

                                      @linuxarcadeguy

                                      Thanks for the instructions, however I'm still getting two lines of data.

                                      The first saying the last time I logged in like time and date then tyy1 at the end

                                      The second saying Linux retropie with the build which is December 22nd

                                      Any ideas?

                                      Cheers

                                      herb_fargusH 1 Reply Last reply 14 Feb 2018, 06:50 Reply Quote 0
                                      • herb_fargusH Offline
                                        herb_fargus administrators @blonqe
                                        last edited by 14 Feb 2018, 06:50

                                        @blonqe

                                        touch ~/.hushlogin

                                        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
                                        • N Offline
                                          namannik
                                          last edited by namannik 15 Feb 2018, 16:28

                                          Running this script has made the boot completely silent for me.

                                          #!/bin/sh
                                          
                                          # Remove boot logging and images.
                                          # (Thanks to http://www.mlabviet.com/2017/10/hide-boot-message-on-rpi3-jessy.html)
                                          
                                          CMD_LINE="dwc_otg.lpm_enable=0 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash logo.nologo plymouth.ignore-serial-consoles disable_splash=1 vt.cur_default=1 vt.global_cursor_default=0 plymouth.enable=0"
                                          echo $CMD_LINE | sudo tee /boot/cmdline.txt > /dev/null
                                          
                                          sudo mv /usr/share/plymouth/themes/pix/splash.png /usr/share/plymouth/themes/pix/splash_disabled.png
                                          
                                          # Remove various messages shown at login:
                                          
                                          echo "" | sudo tee /etc/issue > /dev/null
                                          echo "" | sudo tee /etc/issue.net > /dev/null
                                          sudo sed -i "/pam_lastlog.so/d" /etc/pam.d/login
                                          sudo sed -i "/pam_motd.so/d" /etc/pam.d/login
                                          sudo sed -i "/pam_mail.so/d" /etc/pam.d/login
                                          
                                          # Remove the pesky "raspberrypi login: pi (automatic login)" text.  Thanks @LinuxArcadeGuy!
                                          
                                          sudo sed /etc/systemd/system/autologin@.service -i -e "s#^ExecStart=-/sbin/agetty --autologin [^[:space:]]*#ExecStart=-/sbin/agetty --skip-login --noclear --noissue --login-options \"-f pi\" %I $TERM#"
                                          
                                          L 1 Reply Last reply 24 May 2018, 07:26 Reply Quote 1
                                          • 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received