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

learn more… | top users | synonyms

33
votes
6answers
6k views

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 ...
31
votes
2answers
28k views

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

So I'm testing Natty, and Compiz keeps crashing on me. I expect this sort of thing from alpha software, of course, but it doesn't always give me the option to restart compiz, and for some reason ...
24
votes
1answer
8k views

I accidentally hit Ctl Alt F<num>. 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?
21
votes
1answer
18k views

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?
21
votes
4answers
34k views

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 ...
19
votes
3answers
4k views

“♦: command not found” in tty after login

I have this problem after upgrade Lubuntu from 12.10 to 13.04. I press Ctrl + Alt + 1, enter login, password, wait two seconds and get: ♦: command not found". After this message I can type commands ...
19
votes
2answers
1k views

Is it possible to put a GUI to more than just TTY7?

My question is pretty much the title. I often use TTYs for handling different matters in parallel. This could be for instance: something local on TTY1 per SSH on ServerA on TTY2 per SSH on ServerB ...
18
votes
7answers
39k views

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 ...
14
votes
1answer
9k views

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?
14
votes
3answers
11k views

How can I reduce the number of TTYs?

I don't need 7 TTYs (or do I?). So how do I reduce this number to 3?
14
votes
6answers
18k views

How do I get my blacked out ttys back? [closed]

Original Question: After I replaced my Ubuntu 10.10 with 11.04 all I get when I Ctrl+Alt+F1–F6 into a tty is a black screen. Also when I boot there's a while of black screen after grub2 menu is ...
12
votes
2answers
14k views

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.
12
votes
5answers
456 views

What keypress will take me to tty13?

Trying out Ubuntu Intrepid, I have discovered that RightAlt+F1 doesn't take me to tty13. I've exhaustively tried every option presented to me in dpkg-reconfigure console-setup, the best I've been ...
11
votes
2answers
8k views

What is tty7 in the commandline?

Recently I have been playing around in terminal and typed the who command. As I see my user name and date, I don't know what tty7 or what this pts/0 is, can somebody explain this to me?
11
votes
1answer
5k views

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 ...
11
votes
2answers
3k views

How can I start a different X session on tty8?

Let's say, for an example, I want to run a full-screen opengl application on tty8 and have my standard GNOME desktop on tty7. How can I configure Ubuntu to meet my requirements?
11
votes
4answers
349 views

Is there a way to see the text of tty7 without shutting down Xorg?

Is there a way to see the text of tty7 without shutting down Xorg, just like switching to another tty?
10
votes
1answer
350 views

what is pts/0 , :0 and attributes before it + ,? etc

While reading about Linux, I got a $ who -a, so before trying that I logged into three of my text terminals (tty1,tty2,tty3) respectively,, and then I came back to X-window (Ctrl + Alt +f7),, then I ...
10
votes
1answer
11k views

Why does switching to the tty give me a blank screen?

After booting to the GUI in 12.04, I attempt to move to the virtual terminal (or shell, or tty) via Ctrl-Alt-F1 (F1 - 6), and the screen remains blank. I'm tried all 6 tty instances and the results ...
10
votes
2answers
11k views

How to enable 1280x800 resolution in tty?

I've got Toshiba U500 (nVidia). Tried changing /etc/default/grub in many ways, now I've got: GRUB_DEFAULT=5 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> ...
9
votes
4answers
1k views

How to find out who is using the physical console?

I would like to use a script to find out the username - of the user who is currently on the physical console (who has command of the keyboard, mouse and graphical display)? I do not just want to ...
8
votes
3answers
28k views

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 ...
8
votes
1answer
9k views

How do I auto-login as root into the TTY upon boot?

I am working on creating a real time kernel with RT-PREEMPT patch. I have created this kernel without graphic desktop. It comes up in the terminal mode with login prompt. The requirement is, it should ...
8
votes
2answers
553 views

Login to tty as guest?

I was wondering if it is possible to log into a tty session (not the GUI) as a guest? As far as my observation goes the guest session provided at login are served by lightdm which dynamically creates ...
7
votes
1answer
11k views

Arrow keys, tab-complete not working

I have installed ubuntu minimal(mini.iso) on my vm. I then used recovery mode to login as root and create an account with useradd -m admin and then set a password with passwd admin. When I login on ...
7
votes
3answers
4k views

Change Default TTY shortcut

I would like to change the default shortcut to switch back and forth to the tty. By default it is ctrl + alt + F#. I have tried making a custom shortcut using Ubuntu's keyboard settings but it only ...
7
votes
1answer
1k views

Log boot messages on tty1 instead of tty7

I'd like to see my boot messages in a different VT than 7. Can it be changed? Can I get the old behaviour - to get a login prompt AFTER all boot-up is complete in TTY1? Regards, aurocha
7
votes
3answers
1k views

TTY[1-6]: Lock screen after delay (like a screensaver)

When using the virtual terminals on TTY 1-6 [*], it's sometimes easy to forget to log out: The screen goes blank after a while, but I'm still logged in - no password required, anyone can use my ...
7
votes
3answers
4k views

Set up a Serial-to-Ethernet Converter With a Virtual Serial Port

I have a '3one data' brand serial-to ethernet converter, that plugs into a serial device at one end, and allows bidirectional communications with the device over an ethernet connection, like this: ...
6
votes
4answers
3k views

Disable the ability to switch to TTYs (Ctrl+Alt+F1…F6)

Disable swtichting to terminals TTYs using(Ctrl+Alt+F1...F6) in Ubuntu?!
6
votes
6answers
49k views

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

Just running Ubuntu for the first time by booting to USB drive. Now I have plugged in a USB-to-Serial converter which has been recognized and automatically added as /dev/ttyUSB0
6
votes
1answer
429 views

How do I get information from the logs on my computer when I only have access to the command line?

For various reasons I can no longer access my graphical desktop, and can only login via a tty (Ctrl+Alt+F1 through F6 by default). To help diagnose and solve my problem I need to look through the ...
6
votes
2answers
2k views

Why won't the terminal display new lines?

For example, when I type following command, echo line | (cat >/dev/null; vi) even wrapped in another shell, sh -c 'echo line | (cat >/dev/null; vi)' and returned from Vim, now it won't ...
6
votes
2answers
3k views

How to enable unicode support in a TTY?

when I open a tty (Ctrl + Alt + F1) it doesn't have utf-8 support. How can I enable it?
6
votes
2answers
1k views

How to make the VT display chinese characters?

When I use the VT (CTRL+ALT+F1),it will only display replacement characters for chinese, but from the alternative installation CD I can see, that it's actually possible to display chinese in the VT. ...
6
votes
1answer
3k views

How can I set and get the tty console font? [duplicate]

1.How can I set the font and size of the TTYs? The command: dpkg-reconfigure console-setup allows me to choose certain fonts/sizes that cannot be installed (an error message appears after the ...
5
votes
1answer
319 views

Ubuntu 12.04 keeps booting to tty1

I was trying to install xdmx & the last thing that I did was deleting the ~/.XAuthority* files since I was getting error in locking authority file. On rebooting, I found myself on this screen. I ...
4
votes
3answers
582 views

Why so many Virtual consoles?

What is the reason for having so many virtual consoles? I would understand if there was one in case the GUI crashes but 6 more besides the default? What are they for? I even see no usage for any of ...
4
votes
2answers
681 views

How do I get the Matrix theme colors (Lime-Green text over black background) on the TTY?

On the terminal emulator, how do I get the Matrix theme colors (Lime-Green text over black background)? I like the purple a lot, it matches my laptop. But for the terminal, I want green font. How is ...
4
votes
3answers
5k views

How to Kill specific x-window?

I run some WIndows games via Wine in new x-window on tt8. Here is what I use Exec=xinit '/home/deckoff/.PlayOnLinux/wineprefix/HOMM3/drive_c/Program Files/GOG.com/Heroes of Might and Magic 3 ...
4
votes
2answers
5k views

How to send terminal command to a TTY terminal

I am looking for a way to send an executed command to a TTY terminal. For example, let us say that I open the gnome-terminal and on the window I type sudo aptitude update && sudo aptitude ...
4
votes
1answer
266 views

How do I get out of Ctrl + Alt + F3? [duplicate]

I pressed Ctrl+Alt+F3 by a mistake and then my computer showed a fullscreen terminal asking for my password and username, How do I get out of that?
4
votes
2answers
11k views

Cannot login to any TTYs - Wrong password

I am new to Ubuntu (12.10 with Unity desktop) and Linux for that part too, so I might not be asking the right question. But here goes. I go to TTY1 by pressing keys CTRL + ALT + F1, where I am asked ...
4
votes
1answer
173 views

Why doesn't tty7 show a prompt with no display manager?

When I drop to tty1-tty6 through Ctrl-Alt-F[1-6] it shows a prompt, for obvious reasons (it's supposed to). However, if I kill my display server, and thus X, through something like sudo service gdm ...
4
votes
2answers
243 views

why do I have 32 ttyS

I seem to have ttyS0 all the way to ttyS31, the only real (well virtual but at least they do someting) serialports on my machine are ttyACM0 and rfcomm0, what are all these ttyS's for?
4
votes
1answer
1k views

How to export X Display with Audio?

How can I export my X Display with audio. For example, in tty1 if I put, "startx xmoto -- :1 &", I can play xmoto ok, but have no sound. If I put "xinit -- :1 &"and then put "xmoto &", ...
4
votes
2answers
2k views

How can I disable Caps Lock on text-mode (tty) terminals?

I have disabled caps lock in Ubuntu via the System Settings -> Keyboard panel (see How to programmatically swap the caps lock and esc keys? on how to find this option), however when I switch to a ...
4
votes
2answers
4k views

Connecting to a TTY from another computer

How do I access one of my TTYs from a computer on my home network? For example, if my Ubuntu PC is running, and I want to access it's terminal from my Mac or Windows PCs that are on the same network. ...
4
votes
1answer
2k views

Help fixing Virtual Console (tty1-6) under VirtualBox

I updated my Ubuntu from 10.4 to 11.10. (Huge mistake, I know.) I am unable to view my virtual consoles ttyS1- ttyS6 This happens inside VirtualBox and gdm is running in background. I'm not sure ...
4
votes
2answers
2k views

Ubuntu doesn't boot after 11.10 upgrade from 11.04

Had this problem earlier: Crash after update to 11.10, from 11.04; ran the solution and had everything updated and upgraded. I get the following lines after booting with some of the preceding start, ...