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".
62
questions with no upvoted or accepted answers
8
votes
2
answers
3k
views
How can I switch tty on a Mac (equivalent of chvt in Linux)?
Is there a way to switch between different tty from a Mac terminal? This would be an equivalent to the chvt command on Linux.
4
votes
0
answers
654
views
How to remove tty[7-63]?
I have an embedded system, a beaglebone black to be specific. This SBC runs Debian wheezy 7.4, and a custom 3.8.x kernel. Patched for this hardware. Anyway, the title pretty much says it all. I can ...
4
votes
1
answer
2k
views
Is it possible to use uvesafb with nvidia proproetary drivers?
I would like to have high-resolution console with NVidia proprietary driver.
To accomplish that I'm trying to use uvesafb. So what I've done:
yaourt -S v86d
/etc/modprobe.d/uvesafb.conf:
...
2
votes
0
answers
79
views
Program is not interactive in NuShell
Some background
Qemu has a wonderful feature, which allows you to connect its stdio streams to serial ports on the guest. This allows you to connect QEMU's stdio streams to a TTY shell on the guest ...
2
votes
0
answers
155
views
Does tput automatically check color abilities when loading color codes?
When using tput setaf and tput sgr0, does it automatically output nothing if the session isn't tty-like or no color support is detected?
So am I fine doing this?
declare -r styleRed=$(tput setaf 1)
...
2
votes
0
answers
652
views
How to tell Minicom to translate CP437 characters to Unicode equivalents?
I am using a Raspberry Pi (running Raspbian [based on debian]) to act as a sort of adapter between UTF-8/SSH over TCP/IP and CP437/TTY over RS232/DB9. The RS232 side is a black box that we cannot ...
2
votes
0
answers
87
views
Set ttyS0 keyboard layout
I have a beauty of a serial terminal, but it doesn't natively support a Dvorak keymap. Is there a way to remap this with software, or at the kernel level? It's a Wyse WY-185.
2
votes
0
answers
804
views
Debian wrong login and TTY resolution on 4K screen
I have just installed Debian MATE Jessie on a laptop that has a 4K screen resolution, which by default sets the resolution to 3840x2160. I've been able to change the GRUB resolution to 1280x1024 using ...
2
votes
1
answer
938
views
Process running in SSH-allocated TTY not terminating once stdin is consumed
I can perform file-transfer via SSH* like this:
ssh -T ${HOST} eval "cat > remote.txt" < local.txt
However, if I instead allocate a TTY, it hangs until I press Ctrl+C:
ssh -tt ${HOST} eval "...
2
votes
0
answers
1k
views
How can I run Qemu with the “-nographic” option in Mac OS X?
Does anyone know how to run Qemu with the -nographic option in Mac OS X? The idea is to use the native Terminal for a text based operation instead of running inside Qemu’s own window.
The -nographic ...
2
votes
3
answers
3k
views
How can I determine if a client SSH connection has a tty associated with it?
Im writing a PAM module to handle authentication (server side - sshd) and I have to know if an ssh client is a tty (interactive) or not (non interactive).
Does anyone have a clue?
2
votes
3
answers
2k
views
Run a script after killing lxsession (xorg)
I am trying to run a program automatically within a bash script after killing the LXDE session. My script consists of:
#!/bin/sh
pkill lxsession;
sh /home/pi/RetroPie/EmulationStation/...
1
vote
0
answers
342
views
Starting multiple sddm sessions automatically
I'm trying to achieve a relatively simple thing in theory, but having a lot of problems with it. I'm trying to have my Arch Linux (though this issue is somewhat general and not specific to distro I ...
1
vote
0
answers
346
views
Run command on detached screen session attached to /dev/ttyUSB instance
I've been manually sending AT commands to a cellular modem connected over USB using screen by starting the session like so: screen /dev/ttyUSB0. I'd like to automate the commands I send to the device ...
1
vote
0
answers
72
views
ampy runs into an errror, ab ttyUSB0 is after then never available, till replugin the USB wire
On Ubuntu 20.04 it works very well, but after the upgrad to 22.04 it runs into an error.
You can see it in the screen image.
Plug in --> ttyUSB0 is available
Run a ampy command --> "failed ...
1
vote
0
answers
170
views
Udev rule (Ubuntu 18)
I have a device that is required to bind to /dev/ttyACM0 specifically, so I created a udev rule to ensure that happens. Unfortunately I am seeing a condition in which the device disconnects and ...
1
vote
1
answer
220
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 ...
1
vote
0
answers
469
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 ...
1
vote
0
answers
374
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 ...
1
vote
0
answers
930
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. ...
1
vote
0
answers
31
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
0
answers
46
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
3
answers
3k
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/*....
1
vote
0
answers
681
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 ...
1
vote
1
answer
273
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-...
1
vote
0
answers
370
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
1
answer
119
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)?
...
1
vote
0
answers
67
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 ...
1
vote
0
answers
328
views
Greek characters with Alt-Gr + letter in console?
I would like to implement some Greek characters into my keymap in the console (tty). I am using Arch Linux and the directory I am working in is /usr/share/kbd/i386/qwerty/uk.map, although I don't know ...
1
vote
0
answers
1k
views
opening gnome-terminal and getting its tty programmatically
I am forwarding command from one terminal to the other.
For the moment, I am doing the following
I create the new terminal
gnome-terminal
I get its tty via
w
then I can forward commands to it via ...
1
vote
0
answers
390
views
Can't use sudo when autologin in Arch Linux
I have a Pandaboard running Arch Linux, the default non root user is alarm. I'm trying to automatically login at startup with the alarm user. I followed the instructions here and created the file /etc/...
1
vote
0
answers
420
views
linux + what are the messages bad tty under /var/log/messages file
under /var/log/messages I see the following messages "bad tty"
what the meaning of these messages?
second is it caused because some application that called - owstd ? as we can see from the log?
...
1
vote
1
answer
160
views
Questions about behaviour of running LiveCD Linux after unmounting a CD-ROM
Could anyone explain what happens in system after unplugging CD-ROM during working with LiveCD session?
Suppose that I'm using Ubuntu LiveCD and suddenly by accident the CD-ROM disconnect for a ...
1
vote
2
answers
10k
views
How to access different tty session
I wanted to know if there is any possibility of login to other tty sessions. Someone has mistakenly changed the root su password. One of the session is already logged in as root. So any possibility ...
1
vote
1
answer
495
views
How to open tty or execute some script when the shortcut Ctrl+Alt+F[1-6] doesn't work and X11 is partially frozen but system is still working?
I'm using Ubuntu 10.10 with Gnome on Acer Aspire One netbook. The X11 or just some parts of Gnome like panels and partially windows (details described below) are frozen which doesn't allow to do ...
1
vote
1
answer
4k
views
Ubuntu 12.04: Cannot login to tty[1-6] except as root
When I press [Ctrl+Alt+F<1-6>] it takes me to tty1 through tty6 respectively, no problem. But at the login prompt, if I try to login with my username and password, it just immediately takes me back ...
1
vote
0
answers
764
views
Solaris: ssh -tt with no output
I have access to a machine running SunOS 5.10 (called solaris). I also have access to a RedHat machine (called redhat).
ssh -tt seems not to give me output if run from solaris to solaris, but works ...
1
vote
0
answers
277
views
Ubuntu 12.04: screen freezes when I open the laptop
I have installed Ubuntu 12.04 on my lenovo G580 laptop.
When I close the laptop (goes into hyvernation mode) and open it, sometimes my screen freezes (I can still see my mouse moving, but that is all)....
1
vote
1
answer
2k
views
Why do I appear 3 times "logged in" in macosx? (zsh and screen)
I'm using the following options in order to launch a 'screen' session when I launch Terminal.app to my OSX Mountain Lion:
**~/.zshrc relevant option**
if [[ $STY = '' ]] then screen -UxR; fi # ...
1
vote
0
answers
344
views
Forward second keyboard input to window and split-screen terminal and KDE
I have two keyboards (one internal and one external) and I want to split-screen Linux video output so I'll have tty on one half and X11 on second half and I want redirect input from external keyboard ...
1
vote
0
answers
155
views
Configuration to point an X tty to a separate system?
Specifically, I have an Ubuntu 10.04 system with a headless Ubuntu 12.04 virtual machine, and I'm looking for a way to have it set up so pressing ctrl+alt+F8 will take me into another X client which ...
1
vote
1
answer
154
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
0
answers
49
views
TTY doesn't go up
When I'm on a TTY (Debian 12 amd64), entering with CTRL+ALT+F1 for example, after the 25th line, the screen doesn't update sending the other lines up, this way I can't see what is typed or displayed ...
0
votes
0
answers
37
views
Binding Shift+Arrow Key in tmux for use in virtual terminals (tty3-12) (works in X)
I've bound Shift+Up/Down/Left/Right to changing selected pane in tmux, but on running tmux in a virtual terminal like tty3, the binding does nothing (and pressing S-Up/S-Down just cycle the command ...
0
votes
0
answers
54
views
Two GPUs and two monitors on a Debian system, one for text, another for Xorg
I have a server with an onboard Aspeed VGA card and an Nvidia T400 HDMI card, and two monitors connected physically to those cards. I don't want to install very much software on this machine which is ...
0
votes
0
answers
67
views
How to set up Win+Space for rotating or toggling keyboard layouts both in tty𝑛 and Gnome with X.Org?
Let's say we wish to have keyboard layouts de, ru, fr, and es in Gnome with X.Org and at least de and ru (and optionally but not necessarily fr and es) in plain old text-mode consoles. The layout-...
0
votes
0
answers
44
views
How to decrease VTIME value with termios api in Linux kernel
Related post closed with an open question. Why Windows is better than Linux for raw UART processing ?
https://stackoverflow.com/questions/76979323/how-to-reduce-tty-vtime-for-non-canonical-uart-on-...
0
votes
0
answers
226
views
How to run a X11 program from another TTY
My X desktop environment is on TTY2, and I want to run an X program on TTY3 so that it opens within the X graphical desktop of TTY2.
Before executing the program, I added the display variable using ...
0
votes
2
answers
1k
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
1
answer
1k
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?