I have tried starting gnome-terminal on my tty3 using startx gnome-terminal and it ends up opening a terminal window in my GNOME session which I can access using Ctrl-Alt-F2. xterm opens up on tty3 as expected. I tried installing i3 window manager, and I tried opening a terminal inside i3 and the same behaviour is repeated. Pressing Alt-Enter in i3 ends up opening up gnome-terminal in my GNOME session. Why is this happening? What should I do to stop this?

Output of uname -a:

Linux myHostName 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • gnome-terminalis a graphical terminal emulator. Knowing this it should be easy to understand why it does what it does. – ChanganAuto Jun 17 at 16:45
  • @ChanganAuto I'm able to start other graphical terminal emulators in the ttys by using startx – Vishal Subramanyam Jun 17 at 16:58
  • Examples include Terminator and xterm – Vishal Subramanyam Jun 17 at 16:58
  • I'm just spitballing here, but it appears as though gnome-terminal was written with native Wayland support where all the others are not. en.wikipedia.org/wiki/List_of_terminal_emulators Any that I have been trying from that list that don't state Native Wayland appear to launch just fine in the tty of my choice. This might be a bug then and probably needs to be filed as such. ubuntu-bug gnome-terminal – Terrance Jun 17 at 17:25
  • Maybe that's because gnome-terminal is actually a client-server application. When you start up a GNOME session, gnome-terminal-server service is started in the background and I suppose that each invocation of gnome-terminal actually sends request to that service to open a new terminal. So the terminal opens on the screen where the service is running. Other terminals are standalone applications, so you can open them on other screens. – raj Jun 17 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.