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

16
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?
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 ...
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 ...
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.
6
votes
1answer
437 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 ...
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?
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 ...
2
votes
1answer
281 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.
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 ...
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 ...
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
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?
1
vote
2answers
5k 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 ...
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 ...
4
votes
3answers
593 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
671 views

No TTY after installing NVIDIA Driver

When I first installed Ubuntu 14.04, I used the command line to install the nvidia drivers to my computer. Now, if I try to open any of the 6 TTYs, I lose all display and my monitor cuts off until I ...
0
votes
1answer
1k 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 :). ...
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?
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
1k 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 ...
7
votes
1answer
12k 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 ...
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 ...
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 ...
8
votes
3answers
29k 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 ...
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 &", ...
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
5k 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 ...
3
votes
0answers
562 views

How can I get Ctrl+Alt+F* working?| Why runlevel doesn't starts automatically? [closed]

I googled many threads on my problem, but most of them are about proprietary drivers and black screen (although user can login blindly into tty*). My question isn't about that type of problem but the ...
3
votes
1answer
3k 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
3answers
2k 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 ...
1
vote
3answers
8k 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 ...
8
votes
2answers
554 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
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
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
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 ...
2
votes
2answers
5k views

Am I being hacked?

I recently let a hacker (who I met once and don't know too well) connect to my computer through (I guess it was remote access)- I had to fill in my IP on a third party website and click a button and ...
1
vote
1answer
112 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 ...
1
vote
1answer
2k views

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 ...
0
votes
3answers
286 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 ...