Questions tagged [agetty]

20 questions
6
votes
1 answer

How to restart agetty?

I'm trying to restart services after a yum update on RHEL 7.4. I could restart pretty much everything, but fail to see how to do this for agetty: # needs-restarting 736 : /sbin/agetty --noclear tty1 linux Systemctl does not recognize agetty as a…
BenMorel
  • 4,447
  • 8
  • 36
  • 46
4
votes
0 answers

Why do I not get a console with systemd?

I'm trying to get a login prompt on an embedded system using Debian and systemd. The system is connected via a physical serial console to a host PC. If I start the kernel with the cmdline parameters console=ttyS5,115200 console=tty1…
JohnnyFromBF
  • 3,476
  • 10
  • 32
  • 42
4
votes
1 answer

Can I activate password feedback on a tty?

A few weeks ago, I decided to clean up my keyboard and ended up messing up a few keys as I was snapping them back onto the board. As a result, some characters have become annoyingly difficult to enter... And obviously I use a few of said characters…
John WH Smith
  • 15,500
  • 6
  • 51
  • 62
2
votes
1 answer

how to start a new terminal with agetty (not systemd)

For the sake of learning, I wanted to start a new terminal (let's say tty10) from the command prompt. I know I can just run sudo systemctl start [email protected], but I want to run it manually for now. I checked systemd service getty@ and it uses…
Adriano_epifas
  • 196
  • 2
  • 13
1
vote
2 answers

Which process is responsible for mapping Ctr+C to intr signal in systemd+agetty+login+bash?

I am trying to read source code to understand which process is reponsible for these mapping, but I can't still figure it out. Can anyone give me a hint about which code is relative to it ? source code: agetty+login(util-linux project), systemd
Li-Guangda
  • 257
  • 2
  • 3
  • 11
1
vote
0 answers

Delay between username and password during tty login

Recently, I noticed that when using tty to login to my computer, there was a delay (around 20 seconds) between the time I enter my username and the time I'm getting asked for my password. Where can it come from ? I don't have such delay when using…
æyno
  • 11
  • 3
1
vote
1 answer

How do I host a shell for a serial terminal?

I am building a dumb terminal with an arduino and I can now see the output of serial connections. How do I get a login/shell? I have tried screen /dev/ttyACM0 and that lets me type on the host computer and see the results on the terminal screen, but…
Gregory
  • 53
  • 4
1
vote
0 answers

How can I set and export an environment variable in a systemd service?

after starting agetty on my Raspberry Pi in order to attach a VT420 terminal to it, I still have an issue: The shell language must be set to en_US and exported by hand right after logging in on the terminal (my version of Raspbian has German…
Neppomuk
  • 316
  • 2
  • 12
1
vote
0 answers

How to adjust TTY terminal window size in VirtualBox?

In my virtual machines, both Linux and FreeBSD, the TTY (controlled by agetty under Linux; can be opened by pressing Host+Fn where n=1,2,3,...) window size is tiny (720x400), compared to the resolution of my screen (1920x1080). Is there a way to…
Josh Pinto
  • 3,483
  • 15
  • 52
  • 87
1
vote
1 answer

tty1 missing login prompt

I have a clean Debian Stretch installation. It used to be the case that after booting I would end up on tty1 with a login prompt, and after logging X is started. I wanted to automate the logging in (because I'm the only user and my disk is encrypted…
user37050
1
vote
1 answer

How to access agetty terminals (e.g. TTY2, 3, 4, etc.) from QEMU VM

In my QEMU virtual machine (started with qemu-kvm -boot d arch-freebsd.img -m 4096) I'd like to access an agetty terminal, which I'd normally access with Ctrl+Alt+F2 (or F3 if I need tty3, F4 if tty4, etc.), unfortunately pressing these keys just…
Josh Pinto
  • 3,483
  • 15
  • 52
  • 87
1
vote
3 answers

Serial Getty error messages

I've a cloud server, with CentOS distribution, and an Apache instance to manage some web apps, like Wordpress or PrestaShop. I noticed that an error is reported in log files (var/log/). In particular in messages: May 30 11:54:41 xxx00962 systemd:…
Round Robin
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

How to enable automatic login in alpine linux for root

I am trying to set up an alpine linux machine that needs to run an user program at the startup. I did not add any user except for root. After searching for solution of how to enable automatic login i have found instructions that said i need to use…
Srv19
  • 95
  • 7
0
votes
1 answer

Does linux/systemd/agetty support doubble ended serial-getty consoles?

My apologies if this is a ultra basic question: Does linux / systemd / agetty support double ended serial-getty consoles? For example I have two remote servers A and B, they are running a recent ubuntu with systemd, agetty and screen…
turtle
  • 176
  • 8
0
votes
0 answers

Let agetty (or other) switch off the laptop screen after a short while on non-UI linux

Using an older laptop as a small server with no graphical UI/login, it has an agetty running on the system console, i.e. the laptop screen. Since I login almost always via network, there is no point having the screen switched on. It should be off…
Harald
  • 826
  • 1
  • 9
  • 21
1
2