Is there a way to login certain (or all) ttys after logging into one? I don't want auto-login because I still want to login once (for security). I've looked into things like "screen" but they are rather cumbersome and don't work with some programs (e.g. fbgs). Is there a command to simulate logging in to other ttys?
If anyone else has the same question, I ended up disabling tty 2-6 by removing the getty startup entry for it. Here is how I did it (works for Ubuntu 9.10 and up):
- Remove the ttys from the console setup file :
sudo vim /etc/default/console-setup
(Change ACTIVE_CONSOLES=/dev/tty[1-x] where x is the number of terminals you want; just have 1 for one terminal)
Now, go through the ttys you don't want and either move them to a backup or delete them. For example:
sudo mv /etc/init/tty6.conf /etc/init/tty6.conf.backup
After a reboot, the getty processes don't exist. Now, I just login once and then run openvt to open a new tty without logging in again.