My (Almost) silent boot :)
-
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 $TERMUnfortunately, 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.
-
-
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-stretchRegardless, they are quite similar and I have reviewed the new one and I seem to be missing something.
Hide login text:
touch ~/.hushloginI'm not sure where to add that line... is it still on /boot/cmdline.txt?
Thanks
-
@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.
-
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.
-
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?
-
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!
-
@nightshadowpt Thanks in return for sharing your solution.
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.