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

58
votes
6answers
71k 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 ...
41
votes
2answers
41k 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 doesn'...
32
votes
12answers
85k 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 ...
32
votes
2answers
21k views

I accidentally hit Ctl Alt F<num>. How do I return to the GUI? [duplicate]

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?
31
votes
2answers
40k 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 ...
31
votes
1answer
42k 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?
31
votes
2answers
2k 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 ...
30
votes
4answers
66k 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 ...
28
votes
3answers
41k 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 ...
27
votes
2answers
32k 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?
22
votes
8answers
116k 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
21
votes
2answers
38k 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.
20
votes
2answers
10k 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 ...
19
votes
3answers
8k 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
12k 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?
17
votes
3answers
19k 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?
16
votes
3answers
1k views

How to paste commands into a TTY?

I have some rather long commands and file paths which I have copied to clipboard and need to execute in a TTY, however the file paths are too long to retype and I would like to just paste them in ...
16
votes
6answers
26k 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 ...
14
votes
4answers
64k 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 ...
14
votes
5answers
568 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 ...
13
votes
2answers
5k 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?
13
votes
1answer
682 views

Can I emulate graphical DOS applications inside a TTY?

Can I play DOS games inside a hard terminal (like the ones that open with Control+Alt+F1)? I want to be able to close the Xsession because the PC I'm doing this is on is really slow. The PC has ...
12
votes
2answers
18k 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 ...
12
votes
3answers
17k 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> /...
12
votes
3answers
750 views

How can I customize a full-screen console background (TTY)?

I used to use full-screen consoles (those opened with Ctrl+Alt+F1...F6) actively and have come to an idea that I would like to try decorating it with a "wallpaper" of a sort (a rather dark and ...
12
votes
2answers
4k 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
3answers
1k 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 ...
11
votes
4answers
447 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
4answers
15k views

Restart xfce from tty1

I am new to xubuntu, somtimes my xfce desktop crashes, and I can only use tty1 from command line. I want to know how can I restart my xfce in tty7 from tty1? I've googled it, but didn't found the ...
10
votes
1answer
1k 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
2answers
889 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 ...
9
votes
1answer
5k 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?
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 ...
7
votes
4answers
11k views

How do I disable Virtual Consoles tty[1-6]?

How do I disable switching to virtual terminals (TTYs) using(Ctrl+Alt+F1...F6) in Ubuntu?
7
votes
3answers
5k 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
4answers
41k views

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 ...
7
votes
1answer
877 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 ...
7
votes
2answers
2k 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
1answer
2k 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
2answers
2k 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. ...
7
votes
1answer
1k views

Switching to another TTY after running startx and returning breaks Xorg

I've always been curious about an idiosyncrasy of Xorg that seems to happen on every machine I've tried it on; whenever I start a new X instance on a TTY using startx manually (that is, without the ...
7
votes
3answers
6k 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: ...
7
votes
1answer
4k 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 ...
6
votes
2answers
7k 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 ...
6
votes
2answers
3k 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
1answer
4k views

How do I change back to my X-session (GUI) tty?

My screensaver unlock screen got frozen, and fishing around I found that I could use CtrlAltF2 to switch tty's and get a (text only) terminal login. The helpful pages that mentioned this, didn't ...
6
votes
1answer
9k views

Setup virtual serial ports (Linux null modem emulator) using tty0tty

I want to setup virtual serial port emulator in Linux. I want the ports to be permanent, so that I can use them every time I restart. I tried using socat for that purpose as in this way, socat -d -d ...
6
votes
1answer
12k views

root profile error

I had a problem with my root account on Ubuntu 14.04. when I login by using root account, I received this error: Error found when loading /root/.profile: stdin: is not a tty As a result the session ...
6
votes
1answer
4k views

How can I get colors in TTY working correctly?

I use vim a lot and it occurs to me that most of the time I don't even really need a GUI, since I'll only use my computer to take notes in VIM. The problem is, though, is that colors don't show up ...
6
votes
2answers
844 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 ...