On many Linux installations, I have seen that Alt+Ctrl+F[1-6] will bring up a shell "outside" display/window manager, and Ctrl+Alt+F7 (sometimes F6) will back the window manager / GUI. Combinations with the higher F keys (Alt+Ctrl+F[8,9..]) brings up a terminal with just a flashing cursor. Are these virtual terminals too? What processes are running there?
Asked
Active
Viewed 76 times
1 Answers
2
A common setup in Linux is to have 6 virtual consoles, accessible by controlaltF1 ... F6, and subsequent F-keys switch to X servers, controlaltF7 to the first X server, controlaltF8 to the 2nd if exists, and so on.
When you get a flashing cursor, that's a virtual terminal without any processes in it.
You can configure the number of active virtual consoles (with a login shell) you want to have somewhere under /etc, depending on your system. In Ubuntu, it's in /etc/default/console-setup. Many years ago, on very low-spec laptops I used to do this as an optimization to reduce processes and memory footprint as much as possible.
janos
- 3,297
- 1
- 22
- 31
-
It's still a terminal, even if it doesn't have any processes using it yet. – u1686_grawity Dec 23 '16 at 18:35
-
@grawity So the other terminals (F1-F5) have login shells in them? – kabZX Dec 23 '16 at 18:39
-
1@kabZX: Yes, specifically they have `agetty` on them. Try `systemctl start getty@tty9` on a recent OS. – u1686_grawity Dec 23 '16 at 18:45
-
1I used to install a utility (bastion I think) that put aggregated log output on F9. it was kind of handy. – Frank Thomas Dec 23 '16 at 21:21