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
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 ...
5
votes
1answer
27 views

How to set unlimited scrolling on a TTY? [duplicate]

On a TTY ( ctrl+alt+f1 to f6 ), I use Shift+page up to scroll up and Shift+page down to scroll down. But the problem is, the scrolling is limited to certain number of lines. How can I get unlimited ...
3
votes
0answers
14 views

How does Ubuntu keep playing sounds through the TTY?

Occasionally, I have some music playing in the background of some of my work. When I switch to a TTY, my music/sounds/whatever continue, provided I'm logged in. How can audio be channeled through a ...
0
votes
1answer
163 views

Hide TTY1 login when using no “quiet splash” as GRUB_CMDLINE_LINUX_DEFAULT

I want to see the boot messages when starting Ubuntu, so I edited /etc/default/grub and removed the `quiet splash setting: GRUB_CMDLINE_LINUX_DEFAULT="" But now after those messages and before ...
4
votes
6answers
7k views

Ubuntu 12.04 boots to TTY1

Alrighty, I have perused the threads already in existence and am finding none of them seem to have the exact combination of variables I've got going. I'm working on a computer using Ubuntu 12.04. ...
1
vote
0answers
26 views

Console: Can't type special characters

We have Linux-based computers (Ubuntu 14.04.4) prepared by another company to use their software. We have root password. Those computers has no X Window System. Just consoles. There is a problem with ...
0
votes
3answers
45 views

When I redirect to a “tty” where does it actually go on that “tty”, is it “stdout” or “stderr”

When I execute a command like: echo "Hello" > tty/pts/2 It will print the message on that terminal. Is it redirected to stdout or stderr of that tty?
3
votes
2answers
4k views

How do you use chirp?

Chirp is an amateur radio program that will help program your radio from a computer. My radio is a Wouxun and the module is a KG-UV3D.The documentation says that is will work on this module, but there ...
5
votes
2answers
62 views

How to make a device have read/write permissins when pluged?

I have a home-made device and I wrote a program for data acquisition from it. But each time I plug-in the device I have to change the permissions for /dev/ttyACM0, so that the port can be used for ...
3
votes
1answer
48 views

tty1 on monitor A; tty2 on monitor B

This is an odd question and I don't think I would even have a use for it, but; Can I bring up tty1 on one monitor and tty2 on the other, both at the same time?
0
votes
0answers
27 views

Unable to connect to an external board using putty

I was trying to connect for the first time to a board using a Linux OS (I performed this before with Windows). I would like to remark that I have never worked before with external devices issues in ...
0
votes
0answers
14 views

Why does the console output stop being bold half way on startup?

I have my Ubuntu GNOME 16.04 with GNOME 3.20 installation setup so that I get the verbose console output on startup (I upgraded from 15.10 where I already had it enabled). During the upgrade somewhere ...
2
votes
0answers
140 views

What is the difference between ttyUSB and ttyACM?

I have home made device for measuring night sky brightness (astronomy). I am now writing the program in c for data acquisition and I noticed that on my laptop the device (when connected) gets ttyACM0, ...
0
votes
1answer
69 views

How do I backup my files from TTY login

I mistakenly changed permission recursively, issuing the following command on many files, including /usr/bin/sudo: chown -R $USER:$USER sudo Now I want to reinstall my Ubuntu OS but I need to back ...
0
votes
0answers
19 views

Why can I only access TTY consoles when I'm logged out

I've been experiencing this and it leaves me confused. When I'm logged in ctrl+alt+F[1..6] does nothing. I already made sure they're not disabled in the Xorg config files: grep -i "serverflags" /usr/...
3
votes
0answers
80 views

How to automatically run a program when certain device is pluged in?

I have home made device that connects via USB port and I have made a c++ program for data acquisition from that device. I have modified the /etc/udev/rules.d/50-ttyusb.rules so that the device has ...
0
votes
0answers
11 views

Screen Locks after exiting TTY

I seem to have this problem on my laptop, but not any other of my ubuntu machines. After entering tty and then using control-alt-f1 to re turn back to the gui desktop environment the system will just ...
0
votes
0answers
27 views

Cannot open Ctl+Alt+F1 (or any other F)

When I try to open a TTY terminal, the terminal does not load, and there is a dark purple bar on the top of the screen. When I go back to TTY 7, my primary screen is all messed up, but my secondary ...
0
votes
1answer
46 views

Run a command on GUI (TTY7) on boot/login [duplicate]

I am using an Xenial Xerus minimal Ubuntu install. I want a command ("antimicro") to be run on boot/login (doesn't matter) to map my Bluetooth controller buttons to keyboard keys. The farthest I ...
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 ...
0
votes
0answers
57 views

Ubuntu stuck in 15.10 upgrade- unable to login in tty1

On way to upgradation from 14.10 to 15.10 , Ubuntu got stucked in a graphics less window. Then after restart can't login - showing login error in tty1. Tried several codes but login error. May be for ...
2
votes
1answer
55 views

How do you use the TTY (without X server) on one screen, and X on the other?

While playing around with Ubuntu, I turned off the window manager. Unable to operate the terminal in xserver, I jumped over to a bash command line (Ctrl-Alt-F1), and relaunched lightdm. After having ...
0
votes
1answer
47 views

Why does overwriting tty1.conf with rc.local cause a “Host SMBus controller not enabled!” hang during boot?

I'm trying to write a new /etc/init/tty1.conf file during boot using a script that /etc/rc.local kicks off. Contents of /etc/rc.local: sh '/etc/first-boot-config.sh' exit 0 Line in first-boot-...
0
votes
1answer
294 views

How to create ubuntu server 16.04 autologin?

Something has changed in server 16.04 LTS, I can't find tty1, but I need to make an auto-login on tty1 (in console mode), in 14.04 LTS I can make this work. I can't find /etc/init/tty1.conf How to, ...
2
votes
1answer
167 views

ttys no longer show release version after 16.04 Update (from 14.04.4)

On Ubuntu 14.04.4 (and previous), there was a message at the top of each tty (1-6) that said Ubuntu 14.04.4 LTS $HOST tty1 #or tty2 etc. $HOST login: I upgraded to 16.04 (with sudo 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
1
vote
0answers
15 views

How to change screen TTY shows on?

When I open up TTY it shows up on my secondary monitor, which I would like to have it on my primary, how would I change this? thanks. Ubuntu Gnome 15.10 64bit.
1
vote
1answer
109 views

How can I get past login and password request?

I updated my Ubuntu to 15.10 (Wily werewolf). Presently, the screen shows: Ubuntu 15.10 Karaktah7 ttyl Karaktah7 login:_ I set up the name of the computer as Karaktah7. But how can I can get in?
3
votes
1answer
72 views

Exit graphical X session and getting back to TTY

If I start a graphical session (usually Unity Desktop, sometimes XFCE, but a general approach is appreciated) from a TTY using startx, how can I exit this GUI again to get back to my TTY console ...
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?
1
vote
1answer
45 views

After login, nothing but a black screen

So I tried to install Unity3D and it didn't work out. Each time I started it it would crash. Anyways, I moved on and did some stuff on blender. I switch off my computer and restart it a little later, ...
0
votes
0answers
30 views

Right way for using Serial Port

I want to use a Serial Port within a C-Program. Right my example program runs on my RaspberryPi, but it should do the same at my real Ubuntu-Laptop, if it had a real Serial Port. My example program ...
0
votes
1answer
127 views

tty1 black screen after upgrade to 16.04

I updated 15.10 to 16.04 and now it shows black screen with tty1 instead of desktop. When I run startx it shows desktop but without menu, taskbar, etc.
0
votes
1answer
42 views

Ubuntu 14.04.4 (GNOME) Boots to tty1

First, I have seen this question and also this one regarding the matter, but none really helped me. I ran regular updates on a fresh Ubuntu GNOME 14.04 install, added Texlive 2015, LibreOffice 5.1, ...
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 ...
0
votes
0answers
77 views

Ubuntu startup stuck at blank screen /dev/sda7: clean

I changed my driver from using the nvidia proprietary one to the Xorg open source driver, now after a reboot I get a screen with: /dev/sda7: clean, 353985/7214832 files, 6420282/28775168 blocks And ...
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 ...
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 ...
0
votes
1answer
116 views

Filesystem Information shows between Plymouth and Login Screen 16.04

This is by no means a major issue but I thought it was a bit odd. Immediately after the Plymouth splash screen disappears and before the usual Ubuntu login screen appears, a tty style terminal ...
0
votes
0answers
21 views

How to change keyboard layout in tty?

I have changed the keyboard layout from English (UK) to English (US) via System Settings. But it just works for GUI, the keyboard layout on tty remained unchanged.
0
votes
2answers
56 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 ...
0
votes
0answers
70 views

15.10 boots into TTY

I've updated from Ubuntu 14.04 to 15.10, but it boots into a TTY, and not into the login screen. Before booting, it displays a screen with a lot of command lines, the first one being [FAIL] failed to ...
0
votes
0answers
38 views

Block CTRL+ALT+F7 from the local TTY terminal

So I know the: Section "ServerFlags" Option "DontVTSwitch" "true" EndSection But I want something that blocks me from doing Ctrl+Alt+F7 from the TTY (F1-6) forcing users to use sudo chvt to get ...
1
vote
1answer
960 views

Ubuntu boots to tty1

I have installed Ubuntu 14.04 and it was working but then i rebooted and now it boots to a command line that says tty1 if i press control alt f1 - f8 it goes to tty1 - tty8. How do I fix this
3
votes
1answer
31k views

cannot open /dev/ttyS0: Permission denied, but in dialout group

I am trying to use my 9 pin serial port to connect my automotive ECU to my computer (megasquirt controller). I've done this before with Ubuntu 10.04 but now that I've just upgraded to 12.04 it simply ...
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 ...
1
vote
1answer
7 views

TTY Font Resets on Reboot

My TTY font doesn't persist over a reboot. Even after running sudo dpkg-reconfigure console-setup and choosing a font, if I reboot, it resets to whatever ugly thing the default is. What do I do to ...
3
votes
0answers
51 views

How Can I Change X's TTY

How can I change X's tty from Ctrl-Alt-F7 to another F Key? I have only 4 ttys so I want X on the fifth.