Posted: . At: 9:42 PM. This was 10 years ago. Post ID: 7227
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

Why Xorg on Linux starts up on tty7. And how to change this.

Very old CRT terminal.
Very old CRT terminal.

Why does Xorg use tty7? This is for the purpose of switching. Switching to that console (Alt-F7 from another text console, Ctrl-Alt-F7 from another instance of X) activates its display and input, switching away deactivates it. You can start other instances of X, and they will use more consoles (8, 9, etc.). Internal details of mode switching and console handling may vary.

It is also possible to specify which TTY that Xorg will use. For example, you may specify what TTY Xorg will use when it is started.

startx -- vt1

This will start Xorg on the first TTY.

There is an explanation here that explains why there are so many virtual consoles on a Linux system: https://askubuntu.com/questions/377213/why-so-many-virtual-consoles.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.