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

13
votes
2answers
6k 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
6answers
16k 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 ...
18
votes
3answers
3k 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 ...
5
votes
1answer
178 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 ...
17
votes
1answer
14k 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?
11
votes
1answer
4k 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 ...
4
votes
1answer
7k 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 ...
2
votes
0answers
245 views

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.
0
votes
1answer
140 views

Ubuntu 13.10 + AMD BETA Drivers 13.12 = don't work. Am I doing something wrong?

Hoping for some troubleshoot. Fresh install of Ubuntu 13.10. I get into GUI for the first time, and run sudo apt-get update sudo apt-get upgrade Then I follow this guide: ...
8
votes
2answers
10k 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.
6
votes
1answer
7k 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 ...
10
votes
2answers
7k 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?
28
votes
2answers
24k 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 ...
14
votes
3answers
9k 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?
9
votes
4answers
879 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 ...
3
votes
3answers
290 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 ...
0
votes
1answer
826 views

read /dev/ttyUSB0 failed?

I have a GPS device connected to /dev/ttyUSB0 I wrote a simple code to read data from it but the reading always fails I have no idea where the problem is this is my code could you please help me :). ...
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 ...
2
votes
1answer
893 views

GUI works but the console's (CTRL-ALT-F1-F6) “don't”

I just upgraded to 12.04 and have just noticed that the tty sessions tty1-tty6 accessed via F1-F6 have a distorted graphics output whilst the GUI F7 and terminal windows within the GUI work fine. It ...
1
vote
2answers
4k views

login loop ubuntu 12.04

Today I restarted Ubuntu 12.04, after installing some packages and having updated firefox. When I came in the login screen, I typed my password. After about one second processing, the screen blacked ...
15
votes
4answers
27k 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 ...
7
votes
3answers
3k 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 ...
5
votes
1answer
6k 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 ...
8
votes
3answers
21k 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 ...
3
votes
2answers
2k views

How to config hotkeys for switching between consoles in ubuntu

By default switching between consoles is evaluated by keys CTRL+ALT+Fx (1-6) How to change these hotkeys? Is there any config file for doing this?
3
votes
0answers
4k views

Ubuntu 12.10 TTY console (Ctrl+Alt+F[1-6]) not working [closed]

I've been a Ubuntu user for some time now. I have a very annoying problem, I have no idea what causes it, and I haven't managed to find anything relevant after Googling like crazy. The problem is my ...
2
votes
1answer
2k 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 ...
1
vote
2answers
7k views

How do I change the VGA resolution for the non-graphical TTYs?

I have 200 chars in width, and only 2 old eyes. That's too much of too little :) I've seen various answers on these forums, but none of them seemed to help me. :~$ sudo hwinfo --framebuffer | grep ...
1
vote
1answer
2k views

how can I start an other xserver on a different terminal so that I have two xservers running at the same time.

In reference to the question Alt+tab out of full screen game With the answer: Start an other xserver on a different terminal. say tty8. Then switch between them when running the game in full ...
0
votes
3answers
435 views

How do I bypass The TTY login on ubuntu 12.04 lts and what is it?

I have Ubuntu 12.04 LTS and I want to know what is a tty login. I was opening my laptop and the screen went black and was written "Ubuntu 12.04 LTS harshira-HP-ProBook-445-G1 tty1". Now it does not go ...
8
votes
2answers
482 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 ...
6
votes
1answer
947 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
6
votes
2answers
2k 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?
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 ...
3
votes
2answers
1k views

How can I stop Ubuntu making my TTYs a nice resolution?

I have a Nvidia card. Binary drivers. No KMS support. For these reasons, I've been used to a fairly awful resolution in my TTYs. I did once try increasing the resolution of the TTYs using a grub hack ...
1
vote
1answer
83 views

Run KVM guest from tty

I would like to run a KVM guest from a tty without any X server or graphical elements running. What command do I use to do this if it's possible? Will running the command give different results in ...
0
votes
3answers
238 views

ctrl+alt+f7 and ctrl+alt+f8 not changing back into the X session!

I have Ubuntu 12.04 lts and I want was opening my pc and after the grub menu, the screen went purple. Ubuntu didn't load after that and the hard drive activity stopped. So I restarted the pc inti ...