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.

641 questions
175
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,666
23
votes
6 answers

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?
Maythux
  • 84,289
21
votes
3 answers

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?
user9753
18
votes
1 answer

How do I get out of Ctrl + Alt + F3?

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?
userino
  • 392
7
votes
2 answers

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. How to enable this?
FUZxxl
  • 1,503
6
votes
1 answer

cannot input password after input username and press enter in tty1 of ubuntu 16.04

The version of my Ubuntu is 16.04 LTS. After Ctrl+Alt+F1, I enter the tty1. The first thing to do is to login. But when I input my username and press the enter, I cannot input the password. And it repeatedly print login incorrect.
5
votes
0 answers

Can't switch to TTY on Ubuntu 17.10 fresh installation, Keys work fine, chvt works

This seems weird. When I press Ctrl-Alt-F[1-6], nothing happens. The keys are registered correctly xev output KeyPress event, serial 37, synthetic NO, window 0x3200001, root 0x1e3, subw 0x0, time 955536, (141,111), root:(341,321), state…
5
votes
2 answers

Ctrl+Alt+F[1-12] don't switch to TTY

After I installed my new keyboard, I discovered that pressing Ctrl+Alt+Fn (where n is a number 1-12) keys no longer brings me to the tty screens (nothing happens), but sudo chvt 1 in the terminal emulator can start the tty. Meanwhile, Ctrl+Alt+F7…
AlexHalogen
  • 51
  • 1
  • 2
3
votes
0 answers

tty disappears after the motherboard changed

I had used Ubuntu 14.04 x64 bit for months until one day the old motherboard of my old computer irreversibly crashed. I had to replace the motherboard which required to replace the processor as well. The rest of the hardware remained intact. Ubuntu…
3
votes
2 answers

Can't view output in tty. (Ctrl+alt+f1 to f6 don't work, and display a black screen).

I recently noticed that there was a kernel warning saying that the nvidia driver wasn't compatible with booting into a video mode terminal, so I edited /etc/default/grub, to make it boot into a text only terminal. This worked fine for several days,…
3
votes
1 answer

Alternative to wall, talk, write?

For example: A cron script runs in background checking for updates. The user is logged into a virtual console (tty). Only wall has a nonbanner option. Wall still adds unnecessary newlines at the beginning and the the end. Also pressing enter to…
2
votes
0 answers

What is Unicode Virtual Console?

When I press Ctrl+Alt+F1 then enter the terminal. I want to input CJK(Chinese, Japanese, Korean) here. This called unicode virtual console/terminal(according to the Wiki). What is Unicode virtual console in detail? How can I input CJK?
prepangolin
  • 147
  • 8
2
votes
2 answers

How do I change tty / text console resolution without rebooting?

fbset is not an option. It doesn't apply any change "live". Also, fbset is not even useful. It looks like it's only going to display current settings.
Dril
  • 21
2
votes
1 answer

Change default tty?

On past computers, the X server would run on tty7 and I would end up there by default when starting my computer, while tty1 to tty6 would be text-only. On my current computer, running Ubuntu 18.04 (I know I need to upgrade at some point...), the X…
1
vote
1 answer

Help to write and read to/from serial

I have bought a serial - USB adapter to connect my UPS (serial equipped) to my Raspberry machine and therefore to monitor the UPS. The adapter is seen as /dev/USB1. The baud rate is 2400, the data lenght is 8 bit, stop bit 1 bit and no parity. To…
Daniele
  • 15
1
2 3