You are not logged in.
Hi,
I tried booting directly to X with silent boot, autologin and startx at login, everything was fine but the only thing that appears on screen before getting into X is "Arch linux version and autologin message" and then startx is executed automatically and its output is redirected to /dev/null so no woories about startx output.
So I want to remove displaying arch linux version (tty1), autologin message.
Last edited by druuu (2015-06-02 06:08:15)
Offline
Offline
I am not getting systemd version message as I have already got rid of that, the message that I get is:
"Arch Linux 4.0.4-2-ARCH (tty1)
<username> login: root (automatic login)"
Then startx is executed. So I want to remove the above message from displaying. Thank you for reply:P
Offline
You are not alone. I have been searching for a solution to this for a while now with no luck.
Offline
For autologin, you had to modify agetty's command line. Reading its man page is a good start. It tells you how to stop it from displaying the contents of the /etc/issue file (that's the first line you see) and it tells you that it invokes /bin/login, but then the "login:" part is also a good hint. So, check login's man page; there's some stuff about hushlogin that seems like a good bet. See how quiet you can get it with that.
Offline
Ok Archians..After procrastinating with this for 2nights I figured that only hostname can be removed through agetty options, so I had to do it the hard-way!
Compile util-linux by commenting out "printf(_("%s%s (automatic login)"), LOGIN, options.autolog);" from src/util-linux/term-utils/agetty.c file.
And now I am quiet..The quieter I become the more I listen
Offline
I solved this without recompiling agetty.
Run systemctl edit getty@tty1 and replace the contents with:
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --skip-login --login-options "-f usernamehere" %I 38400 linux
This configuration emulates the behavior of --auto-login without triggering the extra output.
Last edited by lfairy (2015-11-17 09:17:04)
Offline