Do you get a login prompt on tty1?
Per default, after startup, I get a login prompt on tty1 and all is good. However, I’d like to change the default behavior to be dropped at a login prompt on tty6 (or whatever) without having to manually Ctrl+Alt+F6. I’ve spent a bunch of time reading various sources, Arch wiki, man pages, http://0pointer.de/blog/projects/systemd-docs.html, etc.
How to run software on the tty1 console?
Here’s what the default login prompt on the console looks: And here is the result, htop running without ever logging in: Do note that you loose the ability to login via the regular console this way. ssh is your only means of access. Do note that the software is run as root.
Can you switch TTYs unless they auto login?
Given your setup the proper way would be, you can’t switch ttys unless they auto login because startx is tied to the tty unless you reauthenticate which is what a window manager does. Solved! OK, due to the lack of any more replies, I’ll share the details of what I did, to end up at a login prompt on tty7 after rebooting.
How to hide tty1 login prompt in Arch Linux?
As the arch wiki says that tty1 is pre-activated, I disable it by removing “[email protected]” in the “/etc/systemd/system/getty.target.wants/” folder. However, this solution results in serious side effect, when I use Ctrl+Alt+F1 to switch from Xfce to tty1, there is no login prompt now.
How to get fewer TTYs with systemd?
To disable gettys on particular TTYs 4-6 while possibly leaving 1-3 and 7-9 working, run: mask creates symlink /etc/systemd/system/ {name} -> /dev/null which effectively disables service. Attempt to run it via systemctl start will display error Failed to start NAME.service: Unit NAME.service is masked.
What’s the best way to start Xorg xinit?
Using xorg-xinit to startx. Per default, after startup, I get a login prompt on tty1 and all is good. However, I’d like to change the default behavior to be dropped at a login prompt on tty6 (or whatever) without having to manually Ctrl+Alt+F6.