How do I increase the number of TTY consoles?How to config hotkeys for switching between consoles in ubuntuHow can I set and get the tty console font?How do I disable Virtual Consoles tty[1-6]?Why so many Virtual consoles?TTY is not showing the login promptHow can I customize a full-screen console background (TTY)?How do I map TTY consoles to external monitor on laptop which has two graphics outputs?enable ctrl+alt+F1 virtual consoles in ubuntu gnomeCtrl+Alt+F-keys do not respond after having gone in the loginless virtual consoleswitching from virtual consoles to graphical screen

Is it possible to avoid unpacking when merging Association?

Filtering SOQL results with optional conditionals

Does the nature of the Apocalypse in The Umbrella Academy change from the first to the last episode?

How to detect if C code (which needs 'extern C') is compiled in C++

How can I get players to stop ignoring or overlooking the plot hooks I'm giving them?

Can one live in the U.S. and not use a credit card?

Conservation of Mass and Energy

Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?

Should I tell my boss the work he did was worthless

When a wind turbine does not produce enough electricity how does the power company compensate for the loss?

weren't playing vs didn't play

Database Backup for data and log files

What problems would a superhuman have whose skin is constantly hot?

Accepted offer letter, position changed

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

NASA's RS-25 Engines shut down time

Meaning of ちはース as an exclamation

Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?

Makefile strange variable substitution

Word for a person who has no opinion about whether god exists

Examples of a statistic that is not independent of sample's distribution?

List elements digit difference sort

How is the wildcard * interpreted as a command?



How do I increase the number of TTY consoles?


How to config hotkeys for switching between consoles in ubuntuHow can I set and get the tty console font?How do I disable Virtual Consoles tty[1-6]?Why so many Virtual consoles?TTY is not showing the login promptHow can I customize a full-screen console background (TTY)?How do I map TTY consoles to external monitor on laptop which has two graphics outputs?enable ctrl+alt+F1 virtual consoles in ubuntu gnomeCtrl+Alt+F-keys do not respond after having gone in the loginless virtual consoleswitching from virtual consoles to graphical screen













6















I often find it convenient to work entirely from the command line, and like to have several tty "consoles" open simultaneously.



How do I make my system default to having more than the traditional 6 tty consoles (CTRL-ALT-Fn)?



Also with the transition to SystemD and Gnome, has the tty console number actually drop? I seem to struggle sometimes opening even one, let alone several, and often end up with a behavior in which several (CTRL-ALT-Fn) combinations all lead to a GUI rather than a tty.



I am running a combo of Ubuntu 18.04 and 18.10 across several machines, if it matters.










share|improve this question

















  • 2





    You may want to explain why you prever virtual terminals over multi-tabbed windows of a X terminal application. With those, you can easily have as many as you like (I usually have about 20 tabs of xfce-terminal running, spread over ~three windows on each of five workspaces).

    – leftaroundabout
    2 days ago






  • 2





    @leftaroundabout Why? I just prefer it most of the time! Most of the time the GUI remains unused, and lonely, sitting at the login screen.

    – haziz
    2 days ago












  • Not saying I'm not prone myself to this kind of stubborn behaviour, but it does seem objectively irrational.

    – leftaroundabout
    2 days ago











  • @leftaroundabout I am actually not being stubborn. About the only "killer app" for the GUI, as far as I am concerned, is the web browser, and very occasionally a photo library/photo editing tool (and Adobe Lightroom and my birdwatching database app are about the only applications still preventing me from dumping Windows/Mac completely). Most of the time I am inside Emacs at the command line, with the occasional use of ssh, gcc, scheme REPL etc. almost all from the command line. I would have browsed the web from the CLI if the CLI web browsers were more usable (which even I admit they are not).

    – haziz
    2 days ago







  • 2





    Well, my point is, X-terminal is a killer app for the GUI as well! I often do everything in the terminal as well, but I still wouldn't want to miss the window manager for easy organisation of the terminal tabs and -windows.

    – leftaroundabout
    2 days ago
















6















I often find it convenient to work entirely from the command line, and like to have several tty "consoles" open simultaneously.



How do I make my system default to having more than the traditional 6 tty consoles (CTRL-ALT-Fn)?



Also with the transition to SystemD and Gnome, has the tty console number actually drop? I seem to struggle sometimes opening even one, let alone several, and often end up with a behavior in which several (CTRL-ALT-Fn) combinations all lead to a GUI rather than a tty.



I am running a combo of Ubuntu 18.04 and 18.10 across several machines, if it matters.










share|improve this question

















  • 2





    You may want to explain why you prever virtual terminals over multi-tabbed windows of a X terminal application. With those, you can easily have as many as you like (I usually have about 20 tabs of xfce-terminal running, spread over ~three windows on each of five workspaces).

    – leftaroundabout
    2 days ago






  • 2





    @leftaroundabout Why? I just prefer it most of the time! Most of the time the GUI remains unused, and lonely, sitting at the login screen.

    – haziz
    2 days ago












  • Not saying I'm not prone myself to this kind of stubborn behaviour, but it does seem objectively irrational.

    – leftaroundabout
    2 days ago











  • @leftaroundabout I am actually not being stubborn. About the only "killer app" for the GUI, as far as I am concerned, is the web browser, and very occasionally a photo library/photo editing tool (and Adobe Lightroom and my birdwatching database app are about the only applications still preventing me from dumping Windows/Mac completely). Most of the time I am inside Emacs at the command line, with the occasional use of ssh, gcc, scheme REPL etc. almost all from the command line. I would have browsed the web from the CLI if the CLI web browsers were more usable (which even I admit they are not).

    – haziz
    2 days ago







  • 2





    Well, my point is, X-terminal is a killer app for the GUI as well! I often do everything in the terminal as well, but I still wouldn't want to miss the window manager for easy organisation of the terminal tabs and -windows.

    – leftaroundabout
    2 days ago














6












6








6


2






I often find it convenient to work entirely from the command line, and like to have several tty "consoles" open simultaneously.



How do I make my system default to having more than the traditional 6 tty consoles (CTRL-ALT-Fn)?



Also with the transition to SystemD and Gnome, has the tty console number actually drop? I seem to struggle sometimes opening even one, let alone several, and often end up with a behavior in which several (CTRL-ALT-Fn) combinations all lead to a GUI rather than a tty.



I am running a combo of Ubuntu 18.04 and 18.10 across several machines, if it matters.










share|improve this question














I often find it convenient to work entirely from the command line, and like to have several tty "consoles" open simultaneously.



How do I make my system default to having more than the traditional 6 tty consoles (CTRL-ALT-Fn)?



Also with the transition to SystemD and Gnome, has the tty console number actually drop? I seem to struggle sometimes opening even one, let alone several, and often end up with a behavior in which several (CTRL-ALT-Fn) combinations all lead to a GUI rather than a tty.



I am running a combo of Ubuntu 18.04 and 18.10 across several machines, if it matters.







command-line tty console virtual-console






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









hazizhaziz

1,52752843




1,52752843







  • 2





    You may want to explain why you prever virtual terminals over multi-tabbed windows of a X terminal application. With those, you can easily have as many as you like (I usually have about 20 tabs of xfce-terminal running, spread over ~three windows on each of five workspaces).

    – leftaroundabout
    2 days ago






  • 2





    @leftaroundabout Why? I just prefer it most of the time! Most of the time the GUI remains unused, and lonely, sitting at the login screen.

    – haziz
    2 days ago












  • Not saying I'm not prone myself to this kind of stubborn behaviour, but it does seem objectively irrational.

    – leftaroundabout
    2 days ago











  • @leftaroundabout I am actually not being stubborn. About the only "killer app" for the GUI, as far as I am concerned, is the web browser, and very occasionally a photo library/photo editing tool (and Adobe Lightroom and my birdwatching database app are about the only applications still preventing me from dumping Windows/Mac completely). Most of the time I am inside Emacs at the command line, with the occasional use of ssh, gcc, scheme REPL etc. almost all from the command line. I would have browsed the web from the CLI if the CLI web browsers were more usable (which even I admit they are not).

    – haziz
    2 days ago







  • 2





    Well, my point is, X-terminal is a killer app for the GUI as well! I often do everything in the terminal as well, but I still wouldn't want to miss the window manager for easy organisation of the terminal tabs and -windows.

    – leftaroundabout
    2 days ago













  • 2





    You may want to explain why you prever virtual terminals over multi-tabbed windows of a X terminal application. With those, you can easily have as many as you like (I usually have about 20 tabs of xfce-terminal running, spread over ~three windows on each of five workspaces).

    – leftaroundabout
    2 days ago






  • 2





    @leftaroundabout Why? I just prefer it most of the time! Most of the time the GUI remains unused, and lonely, sitting at the login screen.

    – haziz
    2 days ago












  • Not saying I'm not prone myself to this kind of stubborn behaviour, but it does seem objectively irrational.

    – leftaroundabout
    2 days ago











  • @leftaroundabout I am actually not being stubborn. About the only "killer app" for the GUI, as far as I am concerned, is the web browser, and very occasionally a photo library/photo editing tool (and Adobe Lightroom and my birdwatching database app are about the only applications still preventing me from dumping Windows/Mac completely). Most of the time I am inside Emacs at the command line, with the occasional use of ssh, gcc, scheme REPL etc. almost all from the command line. I would have browsed the web from the CLI if the CLI web browsers were more usable (which even I admit they are not).

    – haziz
    2 days ago







  • 2





    Well, my point is, X-terminal is a killer app for the GUI as well! I often do everything in the terminal as well, but I still wouldn't want to miss the window manager for easy organisation of the terminal tabs and -windows.

    – leftaroundabout
    2 days ago








2




2





You may want to explain why you prever virtual terminals over multi-tabbed windows of a X terminal application. With those, you can easily have as many as you like (I usually have about 20 tabs of xfce-terminal running, spread over ~three windows on each of five workspaces).

– leftaroundabout
2 days ago





You may want to explain why you prever virtual terminals over multi-tabbed windows of a X terminal application. With those, you can easily have as many as you like (I usually have about 20 tabs of xfce-terminal running, spread over ~three windows on each of five workspaces).

– leftaroundabout
2 days ago




2




2





@leftaroundabout Why? I just prefer it most of the time! Most of the time the GUI remains unused, and lonely, sitting at the login screen.

– haziz
2 days ago






@leftaroundabout Why? I just prefer it most of the time! Most of the time the GUI remains unused, and lonely, sitting at the login screen.

– haziz
2 days ago














Not saying I'm not prone myself to this kind of stubborn behaviour, but it does seem objectively irrational.

– leftaroundabout
2 days ago





Not saying I'm not prone myself to this kind of stubborn behaviour, but it does seem objectively irrational.

– leftaroundabout
2 days ago













@leftaroundabout I am actually not being stubborn. About the only "killer app" for the GUI, as far as I am concerned, is the web browser, and very occasionally a photo library/photo editing tool (and Adobe Lightroom and my birdwatching database app are about the only applications still preventing me from dumping Windows/Mac completely). Most of the time I am inside Emacs at the command line, with the occasional use of ssh, gcc, scheme REPL etc. almost all from the command line. I would have browsed the web from the CLI if the CLI web browsers were more usable (which even I admit they are not).

– haziz
2 days ago






@leftaroundabout I am actually not being stubborn. About the only "killer app" for the GUI, as far as I am concerned, is the web browser, and very occasionally a photo library/photo editing tool (and Adobe Lightroom and my birdwatching database app are about the only applications still preventing me from dumping Windows/Mac completely). Most of the time I am inside Emacs at the command line, with the occasional use of ssh, gcc, scheme REPL etc. almost all from the command line. I would have browsed the web from the CLI if the CLI web browsers were more usable (which even I admit they are not).

– haziz
2 days ago





2




2





Well, my point is, X-terminal is a killer app for the GUI as well! I often do everything in the terminal as well, but I still wouldn't want to miss the window manager for easy organisation of the terminal tabs and -windows.

– leftaroundabout
2 days ago






Well, my point is, X-terminal is a killer app for the GUI as well! I often do everything in the terminal as well, but I still wouldn't want to miss the window manager for easy organisation of the terminal tabs and -windows.

– leftaroundabout
2 days ago











3 Answers
3






active

oldest

votes


















14














Before answering your question, I would rather point you to use something like screen or tmux.



But if you insist on using ttys, you can spawn a new one with:



sudo systemctl start getty@ttyN.service


with N being a number not already in use.



You could change the default number of ttys started at boot (6) to something else by editing /etc/systemd/logind.conf and uncommenting the first line and change the number 6 to something else like:



[Login]
NAutoVTs=7


Source: https://wiki.archlinux.org/index.php/Getty






share|improve this answer























  • I did tinker with tmux, briefly, a few years ago. I did not find it particularly intuitive. Swapping between several tty consoles, is however, brain-dead simple. I know it sounds strange coming from a die-hard Emacs fan!

    – haziz
    2 days ago






  • 10





    @haziz: The advantage of tmux is not that it is intuitive. It is that you can SSH into it, and then it will protect your shell(s) from accidental SIGHUP on disconnect (if the internet drops).

    – Kevin
    2 days ago



















4














You cannot, short of recompiling the kernel.



But that is not what you really want.



No, I'm not going to try to sell you on switching to some other way of doing things, as others have here. The question that you have formulated has a fundamental error in its premise.



You have 63 kernel virtual terminal devices available. Always. To change this would involve recompiling the kernel, and possibly dealing with knock-on effects caused by assumptions in the rest of the operating system about the major and minor device numbers. But I suspect that this is far more than enough for you.



What you actually want to change is the number of TTY login session services that are started on your system. Not all of those 63 terminal devices have a TTY login session service started against them. You want more login sessions.



Yes, the behaviour has changed with systemd. TTY login services are now ordinary services, like any other — an innovation from AT&T System 5 Release 4 back in 1988 that the Ubuntu world first gained with Upstart.



Nowadays on Ubuntu systemd-logind starts TTY login sessions on demand, as each kernel virtual terminal is activated by the key chords that switch amongst KVTs. There are controls in its configuration file that place an upper limit on the KVT number for which it will do this, and that can force a particular numbered KVT to always have a TTY login session started.



But of course you can manually start and enable the autovt@name services.



That several KVTs show a GUI is not really anything to do with systemd, in contrast, and everything to do with the fact that that is how multiple users are logged on with GUIs. Each GUI session has a KVT, so that it can coöperate with the KVT switching and HID sharing. If you have more than one logged in GUI session (at least one being devoted to the GUI login subsystem itself) then more than one of the KVTs is claimed.



(I had a user of my softwares who likewise found the TUI WWW browsers not up to the job, in this particular case of reading DocBook doco, as the GUI WWW browsers can. So I wrote a tool. ☺)



Further reading



  • https://unix.stackexchange.com/a/194218/5132

  • Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.

  • Jonathan de Boyne Pollard (2018). "linux-console". Devices. nosh toolset.

  • https://unix.stackexchange.com/a/487796/5132


  • logind.conf. systemd manual pages. freedesktop.org.

  • Jonathan de Boyne Pollard (2018). getty spawned from init is a thing of the past.. Frequently Given Answers.

  • Jonathan de Boyne Pollard (2018). Manual pages for Linux kernel virtual terminal devices. Proposals.

  • Jonathan de Boyne Pollard (2019). "console-docbook-xml-viewer". User commands. nosh toolset.

  • Jonathan de Boyne Pollard (2016). "Terminals". nosh Guide. Softwares.





share|improve this answer






























    0














    I am just coming to answer one part of your concern, and as I can't yet comment, I am adding it as an answer.

    Your concern that Ubuntu has fewer ttys is due to the fact that the GUIs where moved to tty1 (ctrl + alt + F1) and tty2 (ctrl + alt + F2) instead of F7 and F8, there are still the same amount of ttys by default.

    To create a new tty, I would try the answers provided by the others here.

    Good luck






    share|improve this answer






















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124397%2fhow-do-i-increase-the-number-of-tty-consoles%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      14














      Before answering your question, I would rather point you to use something like screen or tmux.



      But if you insist on using ttys, you can spawn a new one with:



      sudo systemctl start getty@ttyN.service


      with N being a number not already in use.



      You could change the default number of ttys started at boot (6) to something else by editing /etc/systemd/logind.conf and uncommenting the first line and change the number 6 to something else like:



      [Login]
      NAutoVTs=7


      Source: https://wiki.archlinux.org/index.php/Getty






      share|improve this answer























      • I did tinker with tmux, briefly, a few years ago. I did not find it particularly intuitive. Swapping between several tty consoles, is however, brain-dead simple. I know it sounds strange coming from a die-hard Emacs fan!

        – haziz
        2 days ago






      • 10





        @haziz: The advantage of tmux is not that it is intuitive. It is that you can SSH into it, and then it will protect your shell(s) from accidental SIGHUP on disconnect (if the internet drops).

        – Kevin
        2 days ago
















      14














      Before answering your question, I would rather point you to use something like screen or tmux.



      But if you insist on using ttys, you can spawn a new one with:



      sudo systemctl start getty@ttyN.service


      with N being a number not already in use.



      You could change the default number of ttys started at boot (6) to something else by editing /etc/systemd/logind.conf and uncommenting the first line and change the number 6 to something else like:



      [Login]
      NAutoVTs=7


      Source: https://wiki.archlinux.org/index.php/Getty






      share|improve this answer























      • I did tinker with tmux, briefly, a few years ago. I did not find it particularly intuitive. Swapping between several tty consoles, is however, brain-dead simple. I know it sounds strange coming from a die-hard Emacs fan!

        – haziz
        2 days ago






      • 10





        @haziz: The advantage of tmux is not that it is intuitive. It is that you can SSH into it, and then it will protect your shell(s) from accidental SIGHUP on disconnect (if the internet drops).

        – Kevin
        2 days ago














      14












      14








      14







      Before answering your question, I would rather point you to use something like screen or tmux.



      But if you insist on using ttys, you can spawn a new one with:



      sudo systemctl start getty@ttyN.service


      with N being a number not already in use.



      You could change the default number of ttys started at boot (6) to something else by editing /etc/systemd/logind.conf and uncommenting the first line and change the number 6 to something else like:



      [Login]
      NAutoVTs=7


      Source: https://wiki.archlinux.org/index.php/Getty






      share|improve this answer













      Before answering your question, I would rather point you to use something like screen or tmux.



      But if you insist on using ttys, you can spawn a new one with:



      sudo systemctl start getty@ttyN.service


      with N being a number not already in use.



      You could change the default number of ttys started at boot (6) to something else by editing /etc/systemd/logind.conf and uncommenting the first line and change the number 6 to something else like:



      [Login]
      NAutoVTs=7


      Source: https://wiki.archlinux.org/index.php/Getty







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered 2 days ago









      solsTiCesolsTiCe

      6,24332050




      6,24332050












      • I did tinker with tmux, briefly, a few years ago. I did not find it particularly intuitive. Swapping between several tty consoles, is however, brain-dead simple. I know it sounds strange coming from a die-hard Emacs fan!

        – haziz
        2 days ago






      • 10





        @haziz: The advantage of tmux is not that it is intuitive. It is that you can SSH into it, and then it will protect your shell(s) from accidental SIGHUP on disconnect (if the internet drops).

        – Kevin
        2 days ago


















      • I did tinker with tmux, briefly, a few years ago. I did not find it particularly intuitive. Swapping between several tty consoles, is however, brain-dead simple. I know it sounds strange coming from a die-hard Emacs fan!

        – haziz
        2 days ago






      • 10





        @haziz: The advantage of tmux is not that it is intuitive. It is that you can SSH into it, and then it will protect your shell(s) from accidental SIGHUP on disconnect (if the internet drops).

        – Kevin
        2 days ago

















      I did tinker with tmux, briefly, a few years ago. I did not find it particularly intuitive. Swapping between several tty consoles, is however, brain-dead simple. I know it sounds strange coming from a die-hard Emacs fan!

      – haziz
      2 days ago





      I did tinker with tmux, briefly, a few years ago. I did not find it particularly intuitive. Swapping between several tty consoles, is however, brain-dead simple. I know it sounds strange coming from a die-hard Emacs fan!

      – haziz
      2 days ago




      10




      10





      @haziz: The advantage of tmux is not that it is intuitive. It is that you can SSH into it, and then it will protect your shell(s) from accidental SIGHUP on disconnect (if the internet drops).

      – Kevin
      2 days ago






      @haziz: The advantage of tmux is not that it is intuitive. It is that you can SSH into it, and then it will protect your shell(s) from accidental SIGHUP on disconnect (if the internet drops).

      – Kevin
      2 days ago














      4














      You cannot, short of recompiling the kernel.



      But that is not what you really want.



      No, I'm not going to try to sell you on switching to some other way of doing things, as others have here. The question that you have formulated has a fundamental error in its premise.



      You have 63 kernel virtual terminal devices available. Always. To change this would involve recompiling the kernel, and possibly dealing with knock-on effects caused by assumptions in the rest of the operating system about the major and minor device numbers. But I suspect that this is far more than enough for you.



      What you actually want to change is the number of TTY login session services that are started on your system. Not all of those 63 terminal devices have a TTY login session service started against them. You want more login sessions.



      Yes, the behaviour has changed with systemd. TTY login services are now ordinary services, like any other — an innovation from AT&T System 5 Release 4 back in 1988 that the Ubuntu world first gained with Upstart.



      Nowadays on Ubuntu systemd-logind starts TTY login sessions on demand, as each kernel virtual terminal is activated by the key chords that switch amongst KVTs. There are controls in its configuration file that place an upper limit on the KVT number for which it will do this, and that can force a particular numbered KVT to always have a TTY login session started.



      But of course you can manually start and enable the autovt@name services.



      That several KVTs show a GUI is not really anything to do with systemd, in contrast, and everything to do with the fact that that is how multiple users are logged on with GUIs. Each GUI session has a KVT, so that it can coöperate with the KVT switching and HID sharing. If you have more than one logged in GUI session (at least one being devoted to the GUI login subsystem itself) then more than one of the KVTs is claimed.



      (I had a user of my softwares who likewise found the TUI WWW browsers not up to the job, in this particular case of reading DocBook doco, as the GUI WWW browsers can. So I wrote a tool. ☺)



      Further reading



      • https://unix.stackexchange.com/a/194218/5132

      • Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.

      • Jonathan de Boyne Pollard (2018). "linux-console". Devices. nosh toolset.

      • https://unix.stackexchange.com/a/487796/5132


      • logind.conf. systemd manual pages. freedesktop.org.

      • Jonathan de Boyne Pollard (2018). getty spawned from init is a thing of the past.. Frequently Given Answers.

      • Jonathan de Boyne Pollard (2018). Manual pages for Linux kernel virtual terminal devices. Proposals.

      • Jonathan de Boyne Pollard (2019). "console-docbook-xml-viewer". User commands. nosh toolset.

      • Jonathan de Boyne Pollard (2016). "Terminals". nosh Guide. Softwares.





      share|improve this answer



























        4














        You cannot, short of recompiling the kernel.



        But that is not what you really want.



        No, I'm not going to try to sell you on switching to some other way of doing things, as others have here. The question that you have formulated has a fundamental error in its premise.



        You have 63 kernel virtual terminal devices available. Always. To change this would involve recompiling the kernel, and possibly dealing with knock-on effects caused by assumptions in the rest of the operating system about the major and minor device numbers. But I suspect that this is far more than enough for you.



        What you actually want to change is the number of TTY login session services that are started on your system. Not all of those 63 terminal devices have a TTY login session service started against them. You want more login sessions.



        Yes, the behaviour has changed with systemd. TTY login services are now ordinary services, like any other — an innovation from AT&T System 5 Release 4 back in 1988 that the Ubuntu world first gained with Upstart.



        Nowadays on Ubuntu systemd-logind starts TTY login sessions on demand, as each kernel virtual terminal is activated by the key chords that switch amongst KVTs. There are controls in its configuration file that place an upper limit on the KVT number for which it will do this, and that can force a particular numbered KVT to always have a TTY login session started.



        But of course you can manually start and enable the autovt@name services.



        That several KVTs show a GUI is not really anything to do with systemd, in contrast, and everything to do with the fact that that is how multiple users are logged on with GUIs. Each GUI session has a KVT, so that it can coöperate with the KVT switching and HID sharing. If you have more than one logged in GUI session (at least one being devoted to the GUI login subsystem itself) then more than one of the KVTs is claimed.



        (I had a user of my softwares who likewise found the TUI WWW browsers not up to the job, in this particular case of reading DocBook doco, as the GUI WWW browsers can. So I wrote a tool. ☺)



        Further reading



        • https://unix.stackexchange.com/a/194218/5132

        • Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.

        • Jonathan de Boyne Pollard (2018). "linux-console". Devices. nosh toolset.

        • https://unix.stackexchange.com/a/487796/5132


        • logind.conf. systemd manual pages. freedesktop.org.

        • Jonathan de Boyne Pollard (2018). getty spawned from init is a thing of the past.. Frequently Given Answers.

        • Jonathan de Boyne Pollard (2018). Manual pages for Linux kernel virtual terminal devices. Proposals.

        • Jonathan de Boyne Pollard (2019). "console-docbook-xml-viewer". User commands. nosh toolset.

        • Jonathan de Boyne Pollard (2016). "Terminals". nosh Guide. Softwares.





        share|improve this answer

























          4












          4








          4







          You cannot, short of recompiling the kernel.



          But that is not what you really want.



          No, I'm not going to try to sell you on switching to some other way of doing things, as others have here. The question that you have formulated has a fundamental error in its premise.



          You have 63 kernel virtual terminal devices available. Always. To change this would involve recompiling the kernel, and possibly dealing with knock-on effects caused by assumptions in the rest of the operating system about the major and minor device numbers. But I suspect that this is far more than enough for you.



          What you actually want to change is the number of TTY login session services that are started on your system. Not all of those 63 terminal devices have a TTY login session service started against them. You want more login sessions.



          Yes, the behaviour has changed with systemd. TTY login services are now ordinary services, like any other — an innovation from AT&T System 5 Release 4 back in 1988 that the Ubuntu world first gained with Upstart.



          Nowadays on Ubuntu systemd-logind starts TTY login sessions on demand, as each kernel virtual terminal is activated by the key chords that switch amongst KVTs. There are controls in its configuration file that place an upper limit on the KVT number for which it will do this, and that can force a particular numbered KVT to always have a TTY login session started.



          But of course you can manually start and enable the autovt@name services.



          That several KVTs show a GUI is not really anything to do with systemd, in contrast, and everything to do with the fact that that is how multiple users are logged on with GUIs. Each GUI session has a KVT, so that it can coöperate with the KVT switching and HID sharing. If you have more than one logged in GUI session (at least one being devoted to the GUI login subsystem itself) then more than one of the KVTs is claimed.



          (I had a user of my softwares who likewise found the TUI WWW browsers not up to the job, in this particular case of reading DocBook doco, as the GUI WWW browsers can. So I wrote a tool. ☺)



          Further reading



          • https://unix.stackexchange.com/a/194218/5132

          • Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.

          • Jonathan de Boyne Pollard (2018). "linux-console". Devices. nosh toolset.

          • https://unix.stackexchange.com/a/487796/5132


          • logind.conf. systemd manual pages. freedesktop.org.

          • Jonathan de Boyne Pollard (2018). getty spawned from init is a thing of the past.. Frequently Given Answers.

          • Jonathan de Boyne Pollard (2018). Manual pages for Linux kernel virtual terminal devices. Proposals.

          • Jonathan de Boyne Pollard (2019). "console-docbook-xml-viewer". User commands. nosh toolset.

          • Jonathan de Boyne Pollard (2016). "Terminals". nosh Guide. Softwares.





          share|improve this answer













          You cannot, short of recompiling the kernel.



          But that is not what you really want.



          No, I'm not going to try to sell you on switching to some other way of doing things, as others have here. The question that you have formulated has a fundamental error in its premise.



          You have 63 kernel virtual terminal devices available. Always. To change this would involve recompiling the kernel, and possibly dealing with knock-on effects caused by assumptions in the rest of the operating system about the major and minor device numbers. But I suspect that this is far more than enough for you.



          What you actually want to change is the number of TTY login session services that are started on your system. Not all of those 63 terminal devices have a TTY login session service started against them. You want more login sessions.



          Yes, the behaviour has changed with systemd. TTY login services are now ordinary services, like any other — an innovation from AT&T System 5 Release 4 back in 1988 that the Ubuntu world first gained with Upstart.



          Nowadays on Ubuntu systemd-logind starts TTY login sessions on demand, as each kernel virtual terminal is activated by the key chords that switch amongst KVTs. There are controls in its configuration file that place an upper limit on the KVT number for which it will do this, and that can force a particular numbered KVT to always have a TTY login session started.



          But of course you can manually start and enable the autovt@name services.



          That several KVTs show a GUI is not really anything to do with systemd, in contrast, and everything to do with the fact that that is how multiple users are logged on with GUIs. Each GUI session has a KVT, so that it can coöperate with the KVT switching and HID sharing. If you have more than one logged in GUI session (at least one being devoted to the GUI login subsystem itself) then more than one of the KVTs is claimed.



          (I had a user of my softwares who likewise found the TUI WWW browsers not up to the job, in this particular case of reading DocBook doco, as the GUI WWW browsers can. So I wrote a tool. ☺)



          Further reading



          • https://unix.stackexchange.com/a/194218/5132

          • Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.

          • Jonathan de Boyne Pollard (2018). "linux-console". Devices. nosh toolset.

          • https://unix.stackexchange.com/a/487796/5132


          • logind.conf. systemd manual pages. freedesktop.org.

          • Jonathan de Boyne Pollard (2018). getty spawned from init is a thing of the past.. Frequently Given Answers.

          • Jonathan de Boyne Pollard (2018). Manual pages for Linux kernel virtual terminal devices. Proposals.

          • Jonathan de Boyne Pollard (2019). "console-docbook-xml-viewer". User commands. nosh toolset.

          • Jonathan de Boyne Pollard (2016). "Terminals". nosh Guide. Softwares.






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          JdeBPJdeBP

          3,1741431




          3,1741431





















              0














              I am just coming to answer one part of your concern, and as I can't yet comment, I am adding it as an answer.

              Your concern that Ubuntu has fewer ttys is due to the fact that the GUIs where moved to tty1 (ctrl + alt + F1) and tty2 (ctrl + alt + F2) instead of F7 and F8, there are still the same amount of ttys by default.

              To create a new tty, I would try the answers provided by the others here.

              Good luck






              share|improve this answer



























                0














                I am just coming to answer one part of your concern, and as I can't yet comment, I am adding it as an answer.

                Your concern that Ubuntu has fewer ttys is due to the fact that the GUIs where moved to tty1 (ctrl + alt + F1) and tty2 (ctrl + alt + F2) instead of F7 and F8, there are still the same amount of ttys by default.

                To create a new tty, I would try the answers provided by the others here.

                Good luck






                share|improve this answer

























                  0












                  0








                  0







                  I am just coming to answer one part of your concern, and as I can't yet comment, I am adding it as an answer.

                  Your concern that Ubuntu has fewer ttys is due to the fact that the GUIs where moved to tty1 (ctrl + alt + F1) and tty2 (ctrl + alt + F2) instead of F7 and F8, there are still the same amount of ttys by default.

                  To create a new tty, I would try the answers provided by the others here.

                  Good luck






                  share|improve this answer













                  I am just coming to answer one part of your concern, and as I can't yet comment, I am adding it as an answer.

                  Your concern that Ubuntu has fewer ttys is due to the fact that the GUIs where moved to tty1 (ctrl + alt + F1) and tty2 (ctrl + alt + F2) instead of F7 and F8, there are still the same amount of ttys by default.

                  To create a new tty, I would try the answers provided by the others here.

                  Good luck







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered yesterday









                  YHoffmanYHoffman

                  362




                  362



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124397%2fhow-do-i-increase-the-number-of-tty-consoles%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

                      Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

                      Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers