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
0
votes
0answers
17 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
28 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
72 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
16 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
11 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
57 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 ...
0
votes
0answers
19 views

Unable to login to account on Ubuntu 18.04

I'm writing this from my Windows 10 dual boot option but everything explained was done in Ubuntu 18.04 with a Mac OS Mojave theme installed and customized login background, there is only one Ubuntu ...
5
votes
1answer
217 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
29 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
24 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
44 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
118 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
75 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
21 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" ...
0
votes
0answers
103 views

will dev path of USB port change?

my code needs to access usb ports on a linux-machine and I find them changing. first when one port is connected - /dev/ttyUSB0 then when connected to another port - /dev/ttyUSB0 when two device ...
1
vote
0answers
12 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
10 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 ...
0
votes
0answers
39 views

When I try to boot my Parrot OS(4.5.1) I'm booted to tty1 instead of Desktop

I have installed parrot os on dual boot with win 10. For resolving this problem I tried deleting the partition from windows and reinstalled ParrotOS again but I'm still facing the same issue :( I'm ...
1
vote
2answers
543 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
226 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
1k 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 ...
4
votes
1answer
3k 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
36 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
59 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
596 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
149 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
139 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
1k 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
465 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
378 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
183 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
68 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
79 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
752 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 ...
1
vote
2answers
3k views

OpenSSH via powershell - vi turns prompt blue

I'm on Windows 10, using Win32-OpenSSH via Powershell to connect to a CentOS 7 machine on my network. If I launch vi on a new file, or on occasion open other files, any and all new text in my window ...
1
vote
2answers
1k views

Change Keyboard Layout in TTY Permanently

How can I change the keyboard layout in the TTY aka text mode reached through the combinations Ctrl+Alt+F1 through F6 permanently? I tried sudo echo 'KEYMAP=de' > /etc/conf.d/keymap and echo '...
0
votes
1answer
391 views

Ubuntu log into certain tty shell as a distinct user

I try to start an x server for a certain user on tty5 as root user from tty6. My approach was to log into tty5 as a specific user from command line tty6. Then I would just chvt to 5 and startx there. ...
1
vote
1answer
2k views

Change tty resolution to fit larger screen

I have a dual screen setup: - Main screen, 1920x1080 plugged in via HDMI - Additional screen, 1366x768, plugged in via VGA When I switch to tty, its resolution fit the smaller screen. But, as the ...
0
votes
1answer
2k views

how to 'chmod 777' serial port /dev/ttyACM0 on Ubuntu 16.04 on startup?

A number of blogs suggested that I should type sudo adduser $USER dialout, but it already showed that the $USER is already a member of the group dialout, and when I rebooted the computer, the /dev/...
0
votes
1answer
255 views

Ctrl+key shortcuts are not working in a tty

I just installed Slackware on my laptop and all Ctrl+key shortcuts are not working in a tty. For example Ctrl+C or Ctrl+L do nothing. I verified that the Ctrl key worked with the showkey command. ...
1
vote
1answer
5k views

Git clone with ssh in docker image build

I'm building a docker image, and I want to clone a repository from bitbucket. If I create a `debian' container and execute step-by-step, everything works fine. But when I try to create the image, it ...
3
votes
1answer
1k views

User can't login on tty1 but can on other tty's

Last weekend I installed Kali Linux (4.13.0-kali1-amd64). Now after installation and creating a new user (because I don't want to use root) I can login on tty2 to tty6 (via ALT+CTRL+F*), but I can't ...
0
votes
0answers
53 views

Ubuntu 17.10 printing “^@” to all ttys

I have the following problem: I have(apparently) installed a faulty graphics driver and am caught in a login loop. I know how I can fix this issue, but I cannot login through any of the ttys that I ...
2
votes
1answer
195 views

How do I use PuTTY to interact with a service running on /dev/tty2?

Okay, so I have a program (which I did not write and cannot modify) which I am running as a service using systemd on my Ubuntu 16.04 cloud server. It's working great, except that I need to be able to ...
2
votes
1answer
610 views

Null character appears on its own in TTY

Today, I saw there were a lot of packages due for updating (including the kernel), so I updated them all and rebooted. So far, so good. When I boot my computer up, it shows the TTY login prompt, and ...
1
vote
0answers
295 views

No TTY Terminal after CENTOS Kernel Upgrade and reboot

have a VPS and recently I installed a new kernel yum history info Loaded plugins: fastestmirror Transaction ID : 17 Begin time : Wed Sep 13 18:52:31 2017 Begin rpmdb : 326:...
1
vote
1answer
89 views

PID of TTY/stdout users

Is there a way in Linux to see the statistics for userspace apps that end up printing data to TTYs or to stdout (the actual stdout, not apps with stdout redirected to files on storage devices)? ...
6
votes
3answers
714 views

WSL - Trailing whitespaces being added to Bash code pasted into CMD WSL TTY per window size

I have a few Bash scripts on Windows and I sometimes copy them from Notepad++ into the WSL (CMD based) terminal emulator (TTY) to execute them. The problem: Trailing whitespaces (Green boxes in nano)...
1
vote
0answers
20 views

Browser stops receiving data when tty is active

I do listen to internet radio with linux gui browser. And I do work on tty. The problem is that I can't do these things simultaneously. When I do switch to tty, radio works for several seconds and ...