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
649
questions
176
votes
7
answers
310k
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 ...
107
votes
4
answers
160k
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?
106
votes
5
answers
329k
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?
101
votes
20
answers
273k
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 ...
86
votes
11
answers
473k
views
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 /...
75
votes
4
answers
24k
views
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 ...
68
votes
7
answers
350k
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 ...
67
votes
10
answers
180k
views
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 ...
63
votes
4
answers
180k
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.
57
votes
2
answers
71k
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?
55
votes
5
answers
287k
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 ...
52
votes
7
answers
216k
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 ...
50
votes
8
answers
97k
views
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?
50
votes
3
answers
58k
views
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.
...
41
votes
2
answers
48k
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 ...
38
votes
4
answers
12k
views
TTY doesn't wait for password
I upgraded from 16.04 to 18.04. When I press Ctrl+Alt+F3 I get the terminal which prompts for the username. When I type my username and press Enter, it doesn't wait for my password (its as if I ...
37
votes
4
answers
95k
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 ...
36
votes
2
answers
4k
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 on ...
34
votes
7
answers
41k
views
How can I display my machine's IP address on a TTY login screen?
The server I administrate has a dynamic IP address assigned by DHCP, which is inconvenient. When I want to SSH into it, I have to first log in by hand and use ifconfig to find its current IP address. ...
34
votes
4
answers
12k
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 ...
29
votes
2
answers
24k
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 ...
29
votes
3
answers
40k
views
What is tty7/tty2 in the commandline?
Recently I have been playing around in terminal and typed the who command. As I see my username and date, I don't know what tty7 (tty2 on Ubuntu 17.10 and newer) or what this pts/0 is, can somebody ...
25
votes
2
answers
34k
views
How to switch to a TTY in Virtual Box VM? [duplicate]
I am running an Ubuntu 16.04 VM in VirtualBox 5.0.18 and I need to switch to TTY1, how can this be achieved? Is there a keyboard shortcut to achieve this in the guest session because doing the normal ...
24
votes
2
answers
170k
views
How to properly copy files from hard drive to USB flash drive in tty4 terminal?
How to properly copy files from hard drive to USB flash drive in tty4 terminal?(mount, copy, unmount, exit, etc)
P.S.Can no exit from tty4 terminal via Ctrl+Alt+F7 command, only with Alt+SysRq+B(...
24
votes
4
answers
20k
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 ...
24
votes
6
answers
1k
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 ...
24
votes
3
answers
32k
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?
23
votes
2
answers
53k
views
Screen went black [duplicate]
I'm new to Ubuntu..
I'm not sure what just happened, but the screen just went black with the text:
Ubuntu 11.10 "my computer name" tty4
and I was asked to log on.
It happened when I closed Chrome (...
23
votes
6
answers
59k
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?
23
votes
4
answers
15k
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 ...
22
votes
3
answers
21k
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?
21
votes
4
answers
14k
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 ...
21
votes
3
answers
43k
views
How to enable or disable GUI in Ubuntu
Say if I wanted to replicate Ubuntu Server and have no GUI running what would I do to make this happen? Upon running htop/top from tty session I see both gnome and xorg are still running and sucking ...
21
votes
3
answers
12k
views
Enable Ctrl+Alt+F1 Virtual Consoles in GNOME (Ubuntu 17.04+)
In previous versions of Ubuntu, Ctrl+Alt+F1 through F6 opened up virtual consoles. On Ubuntu Gnome 17.04 Ctrl+Alt+F1 opens another GUI and the others do nothing.
How do I restore the old behavior?
21
votes
3
answers
4k
views
Super and arrow key has started switching tty
I normally use Super and Arrow Key to snap a window to one-half of the screen or the other.
About 5 minutes ago, it started to switch between tty consoles. I gather that this is intended to happen ...
20
votes
2
answers
391k
views
Reinstalling Ubuntu via Terminal
I've currently encountered some issues with ubuntu causing me to be stuck in tty mode.
I already tried fixing the issue but since I'm not sure of what really happened for this issue to occur I now ...
19
votes
1
answer
62k
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?
18
votes
5
answers
97k
views
How to access GUI from TTY mode?
I am using Ubuntu 13.10 32-bit. I am using terminal mode to test a Window Manager.
I know I can use Ctrl+Alt+F1 to go to terminal mode from the GUI mode. But there is still graphical desktop ...
18
votes
1
answer
10k
views
Why is my GDM at a different TTY than my desktop environment?
I am running Ubuntu Gnome 16.10 (64bit). Gnome-shell version 3.20.4.
When I start my computer, I eventually see GDM3 offering a login prompt, as expected.
After I log in, my monitors flash a little (...
18
votes
6
answers
31k
views
How do I get my blacked out ttys back?
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 ...
17
votes
5
answers
38k
views
How to take screenshot of an X11 based GUI from a text terminal (such as tty1)?
I tried using DISPLAY=:0 import -window root "$HOME/Pictures/screenshot.png" (import is part of the ImageMagick suite), but that just displays a black screen.
I want to do this as I wanted to ...
17
votes
4
answers
1k
views
Is the Ubuntu GUI a TTY by itself?
Is it accurate to call the Ubuntu GUI a TTY by itself? I know that the term TTY isn't necessarily dealing with terminal consoles or terminal emulators (CLI environments) but also to what I can refer ...
17
votes
3
answers
28k
views
Start another GUI on different TTY
For some reason I want to have 2 GUIs open at different TTYs.
the commands
sudo service lightdm stop/start
will stop/create a new GUI at TTY7. but how can I do the same at different TTYs or ...
16
votes
2
answers
11k
views
How do I access console from GDM ? (wayland)
When on GDM login screen, Ctrl+Alt+F3 ... F7 does not work.
After logging into GNOME desktop, then Ctrl+Alt+F1 will bring me to GDM, F2 back to GNOME, and F3 to F7 to a TTY terminal.
But before I log ...
15
votes
2
answers
8k
views
Ctrl+Alt+F7 doesn't switch back to X session in Kubuntu 18.04 Bionic
After I switch to virtual console using Ctrl+Alt+F6 I could not get back to X session using Ctrl+Alt+F7 - only blinking cursor is shown. Tried chvt - same result. Have to reboot and lost all my opened ...
15
votes
3
answers
50k
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 ...
14
votes
3
answers
40k
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> /...
14
votes
1
answer
57k
views
How can I set up virtual serial ports (Linux null modem emulator) using tty0tty
I want to set up a 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 in this way,
socat -d -d ...
14
votes
6
answers
50k
views
How to enable: Switch back to running GUI from TTY in 18.04
I recently installed Ubuntu 18.04 (previously 16.04) and an important feature is missing: the option to switch between GUI and TTY.
From the GUI I can switch to one of 5 TTY, by Ctrl-Alt-F2 to Ctrl-...
14
votes
2
answers
6k
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?