Questions tagged [tty]

A tty (teletypewriter) is a Unix command that prints to standard output the name of the terminal connected to standard input. It is typically called a terminal. the first local terminal is referred to as tty1 and resides in /dev/tty1

A tty (teletypewriter) is a Unix command that prints to standard output the name of the terminal connected to standard input. It is typically called a terminal. The first local terminal is referred to as tty1 and resides in /dev/tty1. By default Ubuntu activates 6 tty (tty1...tty6). Also, tty's are very useful when the user needs to install additional drivers (such as the Nvidia or AMD ones), troubleshoot X11 problems and/or doesn't need to use a GUI.

663 questions
177
votes
7 answers

What does "TTY" stand for?

On the Wikipedia's article (Computer terminal) under the hard copy terminals section of the article it says this "Early user terminals connected to computers were electromechanical teleprinters or teletypewriters (TeleTYpewriter, TTY)..." So does…
MathCubes
  • 5,732
113
votes
5 answers

What is a tty, and how do I access a tty?

I keep hearing about these things known as tty's. what are they how can I access them what do they do?
jrg
  • 61,707
112
votes
4 answers

How do I change the font or the font size in the TTY (console)?

I am using Ubuntu 12.04. Recently, the font size for all of my TTYs became much larger. How can I change the font size back to the default?
Aaron Hill
  • 5,035
106
votes
21 answers

How do I restart Cinnamon from the tty?

I installed Cinnamon on my Ubuntu 12.04, and it works well, but sometimes it just freezes for no reason. I can move my mouse but can't click on anything. So I want to restart Cinnamon from tty, like I used to do with gnome shell. How do I do that?…
tuks
  • 1,566
  • 2
  • 13
  • 12
89
votes
11 answers

How do I connect to TTY/COM (/dev/ttyUSB0)?

I am running Ubuntu for the first time by booting from a USB drive. Now I have plugged in a USB-to-serial converter which has been recognized and automatically added as /dev/ttyUSB0. How do I access /dev/ttyUSB0?
700 Software
  • 2,337
75
votes
4 answers

Alt + F4 switches to TTY4

Since yesterday Alt+F4 is working unexpectedly on my computer. When I press those keys TTY4 is opened. Also, the application which is running on the GUI receives the Alt+F4 message. This is solved by rebooting the system, but after a while it starts…
ig343
  • 1,008
71
votes
7 answers

How do I allow a non-default user to use serial device ttyUSB0?

I have an Ubuntu 11.10 system with 2 users: The first was created during the installation The second instead was created after. It belongs to the sudoers group. Now the problem is that when the second tries to use a device ttyUSB0 the following…
Maverik
  • 835
68
votes
10 answers

How do I increase console-mode resolution?

When my computer goes to console mode (booting up, shutting down or Ctrl + Alt + F1)), the text is super big. I can't take a screenshot of it, but it looks like a 640 x 480 resolution. My monitor normally works at 1440 x 900. I remember that the…
egarcia
  • 1,369
64
votes
4 answers

How do I log all input and output in a terminal session?

How do I keep logs of all the work done via terminal? For example, I want a record of all the work done on database via terminal.
Ankit
  • 6,989
58
votes
2 answers

I accidentally hit Ctl Alt F. How do I return to the GUI?

I'm using 12.04, I accidentally used Ctl-Alt-F9 and got a black full screen with command line cursor (Terminal). How can I go back to the normal Unity screen?
56
votes
5 answers

how to make putty ssh connection never to timeout when user is idle?

I have a Ubuntu 12.04 server I bought, if I connect with putty using ssh and a sudoer user putty gets disconnected by the server after some time if I am idle How do I configure Ubuntu to keep this connection alive indefinitely?
David MZ
  • 661
  • 1
  • 5
  • 3
53
votes
7 answers

What is the default Debian/Ubuntu console (TTY) font called?

I'm currently running Ubuntu and a few other Linux distributions on my computer and since I use the TTY a lot, a good font is pretty important! Does anyone know the name of the default console/TTY font used in Ubuntu and Debian?
53
votes
8 answers

How to check which tty I'm currently using?

There are 7 terminals that can be used in our system. tty7 is GUI based. How can I check which tty I'm currently using?
luv.preet
  • 5,997
50
votes
3 answers

How can I restart Compiz from a TTY? (& Related, how can I set up a fallback WM?)

I'm testing Natty, and Compiz keeps crashing on me. However, it doesn't always give me the option to restart Compiz, and for some reason doesn't have a fallback window manager(WM) configured. Without a WM, all my programs are still running, but…
Jonathan
  • 7,470
41
votes
2 answers

How can I change the TTY colors?

How can I change the standard 8 colors (16 if you count the bright versions) that are used in the various TTYs in Ubuntu 12.04? I'm not talking about the Terminal or XTerm applications, I'm talking about the TTYs that you access via Ctrl+Alt+F1…
Kerrick
  • 1,861
1
2 3
44 45