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 .
-
@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?
-
@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. -
CHANGES MAY BE NEEDED FOR STRETCH (Rpie 4.4)
-
@linuxarcadeguy I am the same.OTL
Did you solve that? -
@tanakarena solved! look up
-
@LinuxArcadeGuy thanks very much, your comment fixed my issues.. that autologin text was painfull the the console feel i was looking for
-
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
-
touch ~/.hushlogin
-
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#"
-
@namannik check my updated post, Stretch is quite different and requires some alterations, as there have been depreciations...
using this line: ExecStart=-/sbin/agetty --skip-login --noclear --noissue --login-options "-f pi" %I $TERM
the --skip-login and --login-options "-f pi" had to be removed as it would get stuck at a login prompt and reboot or boot to a black screen right before ES loaded, and you couldnt get ES to load...
-
bonjour,
Default username: pi
Default Password: raspberry
after,
at command prompt, type sudo raspi-config
select option 3 in menu (Boot Options)
select option B1 (Desktopp/CLI)
select option B2 (Console Autologin)Then Ok, exit all the way and restart.
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.