Questions tagged [tty]

tty is a Unix command that prints on standard output file name connected to standard input. The program's name comes from teletypewriter, abbreviated "TTY".

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

Kill bash/terminal/tty window/session from another terminal

Linux ThinkPad-E480 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux I have just encountered with the next situation: suspend command do nothing but ...
1
vote
1answer
111 views

ttyUSBx data stalls, usbmon/wireshark shows data

I am working on developing a sensor platform based on a raspberry pi running raspbian and an analog/digital converter (ADC) connected via USB. The ADC should be providing data at 128Hz, and does so ...
0
votes
0answers
20 views

How can I use a serial connection as an output for a shell?

I have a serial device (/dev/ttyACM0), which is connected to the serial port of a microcontroller. The microcontroller draws text that it gets on that serial connection to a screen. I want to use that ...
0
votes
1answer
40 views

TTY bog-slow , upto a minute of lag in output

I got done installing yesterday. Throughout configuring it , I've been noticing that it has terrible delays in the tty , right from first boot (so this has nothing to do with anything I might have ...
0
votes
1answer
50 views

Custom Systemd service not finishing activation

This page on the Arch Wiki describes a systemd unit that can adjust the keyboard repeat rate in the tty, which I have written in my home directory and symlinked to the following directory: /etc/...
0
votes
0answers
30 views

Is there a technical reason why rebooting is required to use a Displayport-to-VGA adapter?

I manage servers and prefer to use VGA as graphics quality is unimportant and VGA is ubiquitous on crash carts. I'd prefer to have a single video cable on the carts, and I can think of no more common ...
0
votes
0answers
82 views

Minicom and screen in background

I would like to log serial port output in background. I use screen command for minicom to make sure minicom running on the background when I disconnect my ssh session. This actually works fine, but ...
1
vote
1answer
66 views

Tab completion in zsh makes duplicate characters

when using tab completion in zsh, using ohmyzsh, in a relatively fresh arch install, the first two characters will duplicate themselves and become not deletable. For instance, I type yay -S terminato ,...
0
votes
0answers
19 views

TTY of Windows 10

I'm using Windows 10 currently but I was using Arch Linux and I wrongly clicked CTRL+ALT+F2. And all graphic user interface gone there was only a ZSH front of me. So, my question is: Is there a TTY of ...
0
votes
0answers
151 views

PopOS 20.04 Login Screen Loop

Yesterday I was trying to install Anaconda on my PopOS 20.04 and I went out during the installation and when I came back nothing was on the screen so I thought it was finished and shut down the pc. ...
0
votes
1answer
38 views

Ctrl-V in TTY not escaping Ctrl-C

For the record, this has nothing to do with copying and pasting, which is likely why it's so difficult to find an answer. I am attempting to insert a literal CTRL-C character into a stream from a TTY. ...
0
votes
1answer
40 views

Why does GnuPG use a GUI and how can I customize/change it?

*By pass I meant pass for Unix, the standard password manager. I set up GnuPG to use pass and it works just fine. Whenever I need to enter my password, however, I have to enter it in a popup. This ...
0
votes
0answers
13 views

BusyBox get rid of debug messages on serial port of Netgear R7000

Firmware version V1.0.11.106_10.2.100 BusyBox v1.7.2 Old telnet enabling tools no longer work because of the latest firmware upgrade to my Netgear R7000 router. I can gain console access through the ...
0
votes
1answer
88 views

why isn't putty getting SSH_MSG_CHANNEL_EXTENDED_DATA packets when TTYs are enabled?

Quoting RFC4254 § 6.6. Session Data Transfer, Data transfer for a session is done using SSH_MSG_CHANNEL_DATA and SSH_MSG_CHANNEL_EXTENDED_DATA packets and the window mechanism. The extended data ...
0
votes
0answers
92 views

Make a tty 8 bit clean, using Python (ideal) or stty (acceptable)

I'm on a Debian 10.4 system, and I'm trying to talk to an RS232 peripheral using a Chipi-X USB<->RS232 cable. I heard that "stty -F /dev/ttyUSB0 raw" should make the tty 8 bit clean, ...
0
votes
1answer
46 views

Command clear is not clearing screen

Follow up on How to reset a broken TTY?, to fix the terminal after displaying a binary file, I've tried all solution there, as well as those from https://unix.stackexchange.com/questions/79684/ But my ...
0
votes
0answers
76 views

Terminal: Changing env variable via keyboard shortcut without overriding buffer

I'm trying to make a keymap binding in tty that allows me to change an environmental variable without overwriting what I've entered into the terminal or injecting a command without typing to the ...
0
votes
0answers
13 views

No login screen, and no GUI issue

After the installation of hime (Traditional Chinese input) and pantheon desktop environment and I rebooted my computer, there is black screen and I can't see any graphical interface. Like this:Black ...
0
votes
0answers
37 views

black screen flickering after grub menu

One time, after starting my system from sleep, it went complete black, couldn't even start a tty also and had to force shutdown. And after restarting it, the screen flickers after loading bootloader ...
0
votes
0answers
49 views

snapd and appimage resetting serial port

I have a 3D printer connected to a USB virtual serial port (/dev/ttyACM0). I have found that when I start the Ultimaker Cura Appimage [1] and also when I did a "snap install", on Ubuntu 19.10, my ...
0
votes
1answer
112 views

How compatible between different terminal types ($TERM)?

For example, in putty I set TERM=xterm, then I login to a Linux server and in the command line I run export TERM=linux, and then I start gnu-screen with screen -T screen (means TERM=screen). It's ...
1
vote
0answers
43 views

Can't see my desktop in KDE Neon

I did run some commands that caused corrupting my KDE Neon. It doesn't shows my desktop and it starts in the command. Can I do something so I can get back my desktop? or should I install the new one? ...
0
votes
1answer
92 views

Using tty as debug screen without login… How to do it?

I need to cast some commands, like ping 8.8.8.8 on /dev/tty2 ... Is that posible? If so, can someone explain how to do that?
0
votes
0answers
1k views

How can/should I exit a tty?

Occasionally I open a tty, using say ctrl + alt + f3 (usually because I've done something silly and need to kill a program or recover in some way). After I've done so, I can switch back to that tty ...
5
votes
1answer
450 views

How do I speed up my text console on Ubuntu 18.04?

I just installed 18.04 on a Dell T310 server, and I'm noticing that the text console is unusably slow when scrolling text. To add some numbers to this, invoking dmesg immediately after boot over an ...
0
votes
1answer
80 views

CentOS : Is it possible to take screenshot in command line from another tty

I am using centOS 7. Let's say I am in tty2 in a terminal. I want to screenshot via a command line what's going on in tty1. Is it possible and if yes how ?
0
votes
1answer
50 views

Shutdown after N invalid attempts (lockscreen + tty)

I've seen this question on AskUbuntu about monitoring lockscreen. However, imagine having an encrypted drive + home partition. Both are mounted and available while you are logged in. The thing is, ...
0
votes
0answers
280 views

How to disable Raspberry Pi console output to monitor but keep rendering graphics

I'm building an application on Raspberry Pi that renders some GUI to the screen. I would like to keep rendering the GUI but get rid of all the "ugly" console logs during boot or when the GUI crashes, ...
1
vote
2answers
188 views

No /dev/tty when script is invoked as UDEV trigger

I have raspberry pi with stock raspbian installed. I have also installed RetroPI which works just fine. What I wanted to do, is to write small autostart script that would start emulationstation (...
1
vote
0answers
489 views

Uninstalled python3 from Ubuntu 18.04, then reinstalled it. Now I can only log in to tty

I uninstalled python3 from Ubuntu 18.04, then reinstalled it. (I knew it was a bad idea). Hoping it would restore the ubuntu packages too. Now I can only log in to tty. I don't have network access. ...
0
votes
0answers
24 views

Serial console echoes back input

Modified /etc/default/grub as below and successfully setup serial console on Ubuntu 18.04 (Bionic) GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200" GRUB_TERMINAL="console serial&...
1
vote
0answers
18 views

Fail to use flowcontrol on tty

I am controlling the RTS and DTR signal of an FTDI USB to Serial adapter using pyserial. I succeed doing so on two machines (Windows 10 and Ubuntu 18.04), but fail to do so on an older device using ...
1
vote
0answers
12 views

Is it possible to copy files from text mode to gui mode or vice versa?

I use the xclip-copyfile <src-file> command to copy files, and use the xclip-pastefile <dst-file> command to paste the file, but I want to paste it into gui mode (browser) for a backup ...
1
vote
2answers
1k views

Setting up powerline-fonts in my text console: setfont works but setupcon doesn't

I'm trying to permanently set my text console font to use powerline fonts on Ubuntu 19.04 and I can't seem to get it to stick. I copied my fonts into the right dir like so: sudo cp -r Terminus/PSF/*....
0
votes
1answer
292 views

agetty: unrecognized characters after login in buildroot (systemd)

I have a problem with agetty. when the login prompt gets the user name, then the password prompt or login shell shows unrecognized characters as below: [ OK ] Started Serial Getty on ttymxc4. [ OK ...
2
votes
1answer
2k views

Run startx over SSH

This question has been asked several times, but the solutions I've found always solve the problem in a different way. On the remote machine (the one on which I want to run startx), I have already ...
9
votes
1answer
6k views

How to simulate a shell without tty?

I'm facing trouble with a system which I'm maintaining via SSH. When I test commands which require a TTY they work, probably because of the SSH session. Under some unclear circumstances there's no TTY ...
0
votes
0answers
39 views

The /etc/issue file gets cut all the way through the 18th line

I have bought an SSD to replace my old HDD to get my laptop(lenovo thinkpad x220) faster, and made up a fresh installation of Arch Linux with an i3wm and no dm(tty only). I have had a nice ASCII art ...
0
votes
0answers
106 views

Need to access tty console while running kiosk mode with fbcon (Raspberry Pi 3B+)

I am Running my application on Raspberry Pi 3B+ in kiosk mode. I successfully put my splash logo while it boots and display the boot messages by adding fbcon=map:2 in the file /boot/cmdline.txt. I ...
0
votes
1answer
1k views

How to turn off the backlight of the screen when the lid of my laptop is closed?

I want to use an old laptop(Dell E5420) as a CentOS7 server in my home, so it is not required at all to operate it on the console, and certainly there is no X-server or other GUI on it. When it is ...
1
vote
0answers
199 views

TTY keeps pressing enter

I can't login to my ttys. The following happens: I open any tty using Ctrl+Alt+Number I enter my username I press "enter" The password is skipped due to another "enter" After a few seconds the login ...
0
votes
1answer
197 views

split one tty verticaly

To see more from the command line history I came up with the idea to split the working-tty vertically. The working area would be on the right bottom corner of the window and the oldest visible command ...
0
votes
1answer
3k views

Exit code of 1 from SSH command

Why would the following return a 1: ssh -tt server_name "sudo grep 'something' /path/to/file || [ $? = 1 ]" The command in double quotes when run directly on server_name returns 0. Why is the ssh ...
0
votes
1answer
827 views

plink - Password change required but no TTY available

I have 1000 servers to work with, but today all the server passwords expired.  I regularly use plink (PuTTY) to connect with 1000 servers.  Today I got error “Password change required but no TTY ...
2
votes
1answer
615 views

How to add more TTYs under UBUNTU 18.04?

In fact I have 2 questions> to get the TTYs for all F1..F12 keys. But how? Also they have to be with a text mode, not VGA. or atleast it should be switchable on the fly! The default font is very ...
1
vote
3answers
197 views

Keep TTY boot messages desktop background in X

During boot I see the usual messages on TTY. After that, when X starts, xfce & xfdesktop sets a solid color as background. I do not use the background, I do not have icons on my desktop. It would ...
0
votes
1answer
31 views

Is it possible to have a server to offload usage whenever necessary? [closed]

Is it possible to have a central high powered machine, so that users from different lower powered computers, can use the resources of this machine whenever necessary? Like, if I wanted 2GB of Ram ...
1
vote
1answer
291 views

Setting the baud rate of pre login prompt and post login prompt differently for a serial console

On a DragonBoard 410, I have connected a serial console to UART0. If I want to see the kernel boot messages up to the login prompt, including LKs prints, I need to set a baud rate of 115200 on ...
1
vote
1answer
90 views

How to launch more than 6 virtual terminals in void linux

I would like to have more virtual terminals start at startup. I want to be able to use runit and do ln -s /etc/sv/agetty-tty7 /var/service/agetty-tty7 ln -s /etc/sv/agetty-tty8 /var/service/agetty-...
0
votes
1answer
1k views

Linux virtual tty

I created my own Long Range RF USB. [USB device] -> [Raspberry PI] -> [myTxApp] -> [RF device *(not WiFi)] -> [RF device] -> [Laptop] -> [myRxApp] -> [Virtual device] I tested it on USB Webcam, and ...