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

Filter by
Sorted by
Tagged with
2 votes
1 answer
257 views

What is the purpose of ctrl+alt+f8?

I was trying to execute Node Exec on my computer, it was not working then I tried this combination ctrl+alt+f8, it opened a black terminal, what is it for?
user avatar
0 votes
0 answers
12 views

Get tty device paths for zte MF710M modem

i am trying to get the device paths for my modem zte MF710M using this script #get all connected devices usb-devices T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 21 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=...
user avatar
  • 1
0 votes
1 answer
320 views

I don't know how to use console line on linux

I'm a student and I need to use a console cable to connect a Cisco switch but i don't know how to use it in linux Below is my device information: Linux xianyu-ThinkBook-14-G4-IAP 5.15.0-39-generic #42-...
user avatar
  • 33
1 vote
1 answer
76 views

22.04 TTY not working

I have a 2-channel thermometer (Mastech 6514) that sends temperature data from a coffee roaster to a graphical monitoring program called Artisan (https://artisan-scope.org/). Artisan read the data ...
user avatar
0 votes
0 answers
27 views

How to change plymouth theme refresh rate for one screen in dual monitor setup?

I have a dual monitor setup, but on the external monitor (which is my main one) the refresh rate is recognized incorrectly, resulting in weird graphics bugs. Can I change something that will make the ...
user avatar
0 votes
0 answers
24 views

No Events of Interest Were Found in TTY Report

Ubuntu 20.04.4 LTS on the Linux 5.4.0-109-generic kernel I cannot seem to get aureport --tty to work. Running the command yields "no events of interest were found" I have done the following ...
user avatar
0 votes
0 answers
48 views

Virtual consoles on Ubuntu

In This link is mentioned that Linux GUI is installed on tty7, but when I change my consoles using Ctrl+Alt+F1-F7 and check it by the command tty, I see that I have a GUI on my tty1 and tty2. I'd like ...
user avatar
  • 23
0 votes
0 answers
16 views

Ubuntu gets stuck on boot, but continues booting normally after switching tty

My Ubuntu occasionally gets stuck on boot showing a black screen with a blinking dash in the top left corner (first character of the screen). When I then switch to another tty using CTRL+ALT+F2 and ...
user avatar
  • 177
1 vote
1 answer
74 views

Kernel sees ttyACM2 but does not create an entry in /dev/

When I plug an M5Stack StampC3U device in my Ubuntu machine, the kernel sees it, as dmesg will report: cdc_acm 1-8:1.0: ttyACM2: USB ACM device But to my surprise, the Arduino IDE does not let me ...
user avatar
  • 1,053
0 votes
0 answers
78 views

ubuntu 21.10 boot problem[tty1]

I am facing such a problem while booting my computer: I’m using Ubuntu 21.10. Does anyone know how I can solve this?
user avatar
1 vote
0 answers
110 views

Increase TTY resolution

My default resolution might be to high and consequently the text is much to small. I managed to increase the resolution for GRUB menu But still struggling with TTY. I tried: add GRUB_GFXPAYLOAD_LINUX=...
user avatar
  • 181
0 votes
1 answer
455 views

How to enable: Switch back to running GUI from TTY in 20.04 LTS

I recently installed Ubuntu 20.04 LTS and an important feature is missing: the option to switch between GUI and TTY. From the GUI I can switch to one of 4 TTY, by Ctrl-Alt-F3 to Ctrl-Alt-F6. I can ...
user avatar
0 votes
0 answers
21 views

I need to enable numlock on the console /dev/tty{1..6} but there is no /etc/rc.local file on ubuntu focal, what is the canonical way to do that? [duplicate]

I need to enable numlock on the console /dev/tty{1..6} with setleds (numlockx for is dedicated to X11) : #!/bin/sh -e # Turn Numlock on for the TTYs: for tty in /dev/tty[1-6]; do /usr/bin/...
user avatar
  • 1,487
1 vote
1 answer
78 views

Having trouble understanding basic variables and commands because of my understanding of the Linux environment [closed]

I'm having a hard time understanding some basic concepts about Linux. And the influence of some variables on those concepts. Those basic concepts are Virtuel environment, shell, tty. The variabele: $...
user avatar
0 votes
0 answers
37 views

How do I customize my Ubuntu terminal to look like Cygwin's default color theme?

I really enjoy working on the default Cygwin terminal from my Windows machine and I want to transfer the same color settings to my Ubuntu terminal. I especially enjoy working with emacs on Cygwin ...
user avatar
  • 1
0 votes
0 answers
579 views

Cant login to tty on ubuntu 20.04, login incorrect and cant go to recovery

Probably /var does not have free space. It had happened before that I needed to empty /var. That is why it prompts to tty when it starts. I can't log in normally. It says after the prompt, `/dev/...
user avatar
0 votes
0 answers
269 views

Ubuntu 20 LTS. How to adjust serial-getty@ttyAMA0.service timeouts?

I am running the ARM64 build of Ubuntu 20.04 under QEMU. ~50% of the time the boot process reports this: [ TIME ] Timed out waiting for device /dev/ttyAMA0. [DEPEND] Dependency failed for Serial Getty ...
user avatar
  • 111
1 vote
1 answer
616 views

Stuck at login screen tty1 (Ubuntu 20.04.2)

I am using Ubuntu via a virtual machine and every time I either exit saving the current estate or power it off, it always work when running the virtual machine again. After trying to install python3 ...
user avatar
0 votes
0 answers
40 views

fbi stuck at "loading. . . "

So I have a weird one. On my virtual machine, I can do the following: fbi -T 4 Screen_3.jpg The image shows up immediately in virtual terminal 4 and stays there until I switch back to anther virtual ...
user avatar
  • 431
0 votes
1 answer
134 views

Running an X application from tty

I've been trying to run an X application (firefox) on tt3 (CTRL+ALT+F3) with the following command: xinit /usr/bin/firefox $* -- :2 vt$XDG_VTNR and all I've been getting is a blank screen. Killing ...
user avatar
  • 33
0 votes
0 answers
41 views

On tty1, run "htop" and then "login" on htop exit

Here's what I want: When my Ubuntu server boots, run htop on it's screen. In case of emergency, quit htop will return to tty login. Reply to Commect #1: A dummy user for running htop might be a good ...
user avatar
0 votes
0 answers
81 views

Cannot reach the text consoles at tty2, tty3, tty4

Yesterday I updated my Ubuntu 21.10, but after rebooting I cannot switch to the text consoles tty2, tty3, tty4, although I have been using them for more than 10 years. The Ctrl + Alt + Fx is now ...
user avatar
  • 159
0 votes
0 answers
28 views

/dev/tty7 is stuck showing /dev/nvme

Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal When I switch to tty7 a just have a frozen screen containing two lines i.e.: /dev/nvme0n1p2 clean:... (and ...
user avatar
  • 1
0 votes
0 answers
186 views

Start Xorg with systemd without desktop env

I try to start xorg from an systemd service without desktop environment. When I log in on tty1 as a normal user, and type "startx /bin/xterm", I have an xTerm open, it's perfect. But when I ...
user avatar
0 votes
0 answers
494 views

TTY 1 opens everytime I want to login on ubuntu 21.10 with Gnome 40

Recently a weird thing is happening, every time I try to login into my user account, ubuntu opens something similar to a TTY, but it is not exactly a TTY. So what exactly happens is, I boot up my ...
user avatar
  • 4,984
0 votes
0 answers
231 views

tty1 and switch users not working in ubuntu 20.04

I very recently switched to ubuntu, and am having a problem with the switch users and the tty1, I've seen in a post here that tty1 is supposed to be the gui login screen and gui desktop on tty2. ...
user avatar
  • 1
0 votes
0 answers
82 views

Prompt disappearing and bugging out in TTY

I just installed Ubuntu 20.04 LTS, I will mostly use it without GUI so I set GRUB to boot into TTY. I have noticed an issue with it though, the prompt user@host:~$ seems to behave a bit strange some ...
user avatar
0 votes
2 answers
247 views

Ubuntu 20.04 text console unresponsive in VMWare until killed

I'm having an odd issue with my Ubuntu virtual machines. Using VMWare ESXi 7, vSphere 7.0.3 when the VMs startup, the console (text) is unresponsive, you see the initial motd and login prompt, ...
user avatar
  • 113
1 vote
1 answer
541 views

udev rule for similar devices

I'm struggling in creation of udev rules for some similar devices (serial USB port). Here the output of the detail from one of them: $ udevadm info --name=/dev/ttyACM0 --attribute-walk Udevadm info ...
user avatar
  • 355
0 votes
0 answers
41 views

Can't login to my desktop environment AND tty prompts. It just loops endlessly

Today I started my PC and I saw that my screen was black. Tried some stuff and said "Oh whatever I'll just install again." But the problem persist through my original installation of Ubuntu ...
user avatar
0 votes
1 answer
206 views

Cannot get back GUI Ubuntu 20.04 VirtualBox

I installed Ubuntu 20.04.3 LTS on VirtualBox and everything was working fine until I restarted my PC. Unfortunately now I cant seem to get back my GUI. I see alot of commands about holding Right Click ...
user avatar
  • 101
0 votes
0 answers
57 views

Boot screen shows [FAILED]Failed to start Service fo•ivepatch.canonical-livepatchd [Solved]

I use an old Gateway computer that has Ubuntu on it. I had to remove some packages to relieve some space in my computer. So I used stacer to delete all the packages with name libre (I tried to delete ...
user avatar
  • 1
0 votes
2 answers
3k views

arduino IDE import serial ImportError: No module named serial

I want to program my ESP32 as I did 100000000000 times before. Now I want to try it on linux ubuntu :) In preferences I put in the *.json link and installed the espressif board. I think I chose the ...
user avatar
  • 9
1 vote
2 answers
405 views

Stuck in TTY after install. Seemingly full functionality except for the lack of any GUI

I used startx which gave: update and startx output in TTY I am going to try: sudo apt-get install --reinstall ubuntu-desktop However, I just wanted to post here to see if there's anything else I can ...
user avatar
  • 113
0 votes
0 answers
132 views

Stuck in tty1 login

In tty1 login after giving the username and password it shows the screen again asking for login and can't get rid of it. I tried using Ctrl+alt+f7 and others but it doesn't work
user avatar
1 vote
1 answer
678 views

How to change tty's text size/scale on 4k resolution screen OR force lower screen resolution? [duplicate]

All DEFAULT Ubuntu Server 20.04.1 LTS installation (without Xorg) + 4k hdmi display = not readable tiny text in the console. Setting GRUB_GFXMODE in /etc/default/grub (from this answer and similar ...
user avatar
0 votes
0 answers
70 views

Redirecting output from printf to /dev/tty in awk

I have a question on awk. #!/usr/bin/nawk -f { if (NF != 4) { error("Expected 4 fields"); } else { print; } } function error ( message ) { if (FILENAME != &...
user avatar
  • 123
0 votes
1 answer
377 views

Start New Remote X Session In Separate TTY

In my home setup, I have two computers on the same local network, both run Ubuntu 20.04. I'm hoping to set up a way to access my secondary computer via my primary, by switching to a new TTY, and ...
user avatar
-1 votes
1 answer
114 views

Have to take ownership of USB port after each reboot

I have a laser engraver. I was having issues getting Ubuntu to talk to it via USB. I finally sorted that out, but now when I reboot, I have to run the command below every time, or I can't talk to the ...
user avatar
2 votes
0 answers
147 views

agetty / tty / telnet settings help

I am trying to set up a ubuntu 20.04 LTS install that allows telnet connections at 300bps - basically some very old hardware is connecting from across the web - assume Bell103 (pre-hayes) (this ...
user avatar
0 votes
0 answers
376 views

Can not access tty terminal

My HP Probook has problems with Display manager. Basically, for now I can not access even login page (While I am on login page, I can access tty isn't it ? But it is unreachable for now). I do not ...
user avatar
  • 1
0 votes
1 answer
163 views

mesg y command not working

Despite using mesg y, the ? next to both the username is not changing to + because of which I'm not able to use write/wall command shaunx333@Aspire:~$ who -w tempuser ? :0 2021-06-25 13:27 (:...
user avatar
1 vote
0 answers
35 views

how can I launch an x window inside a vim window

I have stopped using my desktop manager in favor of consoles. I can "startx myProgram" to launch a dedicated window; however I would like to use a window in Vim instead of the entire console....
user avatar
0 votes
1 answer
184 views

Ubuntu booted to tty. No GUI. "pkcs#7 signature not signed with a trusted key"

While running ubuntu 18.04, I was running out of ram. So I decided to end some programs from the system monitor. But I ended some essential service then blank screen appears. I rebooted the system and ...
user avatar
2 votes
1 answer
579 views

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 ...
user avatar
1 vote
0 answers
252 views

Can't find /dev/ttyUSB1 in ubuntu20.04, did find it in the past

typing ls /dev/ttyUSB* , it print /dev/ttyUSB0 and /dev/ttyUSB2, but I can't find /dev/ttyUSB1, I did have it in the past. ttyUSB1 was the serial port connected to my FPGA board, host talks to it via ...
user avatar
  • 11
1 vote
1 answer
182 views

Keyboard not working on Ubuntu 18.04 login screen

My keyboard and mouse are not working on the login screen hence I can't enter my password and log in to the system. I can enter into tty sesstion and recovery mode, and keyboard works there. I ...
user avatar
  • 21
0 votes
1 answer
240 views

How to launch tty automatically after start up?

I am using Ubuntu 20.04 and have done the following setup: sudo systemctl set-default multi-user.target sudo systemctl add-wants multi-user getty@tty1 and /etc/securetty has been created. However, ...
user avatar
  • 101
1 vote
1 answer
56 views

Some keys not registering on TTY

When working in any TTY (1-6), some of the keys on my laptop keyboard do not type anything. These keys work just fine in GUI. The 'Caps lock' indicator on my keyboard doesn't even light up when I push ...
user avatar
0 votes
0 answers
56 views

Can't load UI or use TTY

Today when I tried to log into Ubuntu (20.04) I noticed multiple problems: Login screen displayed with completely incorrect resolution. When I type my password, getting an error Failed to start ...
user avatar
  • 113

1
2 3 4 5
12